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
x86_64: allocate sparsemem memmap above 4G
[pandora-kernel.git]
/
arch
/
x86_64
/
mm
/
init.c
diff --git
a/arch/x86_64/mm/init.c
b/arch/x86_64/mm/init.c
index
1336da8
..
1ad5111
100644
(file)
--- a/
arch/x86_64/mm/init.c
+++ b/
arch/x86_64/mm/init.c
@@
-761,3
+761,9
@@
int in_gate_area_no_task(unsigned long addr)
{
return (addr >= VSYSCALL_START) && (addr < VSYSCALL_END);
}
+
+void *alloc_bootmem_high_node(pg_data_t *pgdat, unsigned long size)
+{
+ return __alloc_bootmem_core(pgdat->bdata, size,
+ SMP_CACHE_BYTES, (4UL*1024*1024*1024), 0);
+}