aboutsummaryrefslogtreecommitdiff
path: root/include/asm-avr32
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2008-02-11 16:55:19 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2008-02-13 14:44:03 +0100
commite48a411fa097c386c6081f4ed5a952aa3e21ca2b (patch)
tree67de9d470c0f3a44e2441fffd8cffd10a93ee721 /include/asm-avr32
parent19af35546de68c872dcb687613e0902a602cb20e (diff)
AVR32: Define PAGE_SHARED
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>
Diffstat (limited to 'include/asm-avr32')
-rw-r--r--include/asm-avr32/pgtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-avr32/pgtable.h b/include/asm-avr32/pgtable.h
index 018f6e2a024..3ae7b548fce 100644
--- 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__
/*