projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19af355
)
AVR32: Define PAGE_SHARED
author
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Mon, 11 Feb 2008 15:55:19 +0000
(16:55 +0100)
committer
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Wed, 13 Feb 2008 13:44:03 +0000
(14:44 +0100)
The virtual framebuffer driver needs PAGE_SHARED, which is not defined
on avr32. Define it.
Reported-by: Oliver Zander <ozander@como.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
include/asm-avr32/pgtable.h
patch
|
blob
|
history
diff --git
a/include/asm-avr32/pgtable.h
b/include/asm-avr32/pgtable.h
index 018f6e2a02425d4acc7372fc0111c701332cff68..3ae7b548fce764bc04dd2e00a93e9b2f330dce9a 100644
(file)
--- a/
include/asm-avr32/pgtable.h
+++ b/
include/asm-avr32/pgtable.h
@@
-157,6
+157,7
@@
extern struct page *empty_zero_page;
#define _PAGE_S(x) _PAGE_NORMAL(x)
#define PAGE_COPY _PAGE_P(PAGE_WRITE | PAGE_READ)
+#define PAGE_SHARED _PAGE_S(PAGE_WRITE | PAGE_READ)
#ifndef __ASSEMBLY__
/*