git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arm: don't limit mmap at address 0
[pandora-kernel.git]
/
arch
/
arm
/
include
/
asm
/
pgtable.h
diff --git
a/arch/arm/include/asm/pgtable.h
b/arch/arm/include/asm/pgtable.h
index
b1e71b4
..
1ce99a7
100644
(file)
--- a/
arch/arm/include/asm/pgtable.h
+++ b/
arch/arm/include/asm/pgtable.h
@@
-63,6
+63,12
@@
extern void __pgd_error(const char *file, int line, pgd_t);
*/
#define FIRST_USER_ADDRESS PAGE_SIZE
*/
#define FIRST_USER_ADDRESS PAGE_SIZE
+/* OMAP hack - high vector CPUs, so don't limit it */
+#ifdef CONFIG_ARCH_OMAP
+#undef FIRST_USER_ADDRESS
+#define FIRST_USER_ADDRESS 0
+#endif
+
/*
* The pgprot_* and protection_map entries will be fixed up in runtime
* to include the cachable and bufferable bits based on memory policy,
/*
* The pgprot_* and protection_map entries will be fixed up in runtime
* to include the cachable and bufferable bits based on memory policy,