]> err.no Git - linux-2.6/commitdiff
AVR32: Define PAGE_SHARED
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 11 Feb 2008 15:55:19 +0000 (16:55 +0100)
committerHaavard 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

index 018f6e2a02425d4acc7372fc0111c701332cff68..3ae7b548fce764bc04dd2e00a93e9b2f330dce9a 100644 (file)
@@ -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__
 /*