Explorar o código

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>
Haavard Skinnemoen %!s(int64=18) %!d(string=hai) anos
pai
achega
e48a411fa0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/asm-avr32/pgtable.h

+ 1 - 0
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__
 /*