projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c8ca2
)
x86, mm: Add pointer about Xen mmu requirement for alloc_low_pages
author
Stefano Stabellini
<stefano.stabellini@eu.citrix.com>
Sat, 17 Nov 2012 03:39:05 +0000
(19:39 -0800)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Sat, 17 Nov 2012 19:59:28 +0000
(11:59 -0800)
Add link for more information
279b706 x86,xen: introduce x86_init.mapping.pagetable_reserve
-v2: updated to commets from hpa to include commit name.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link:
http://lkml.kernel.org/r/1353123563-3103-29-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/init.c
b/arch/x86/mm/init.c
index
02cea14
..
cb4f8ba
100644
(file)
--- a/
arch/x86/mm/init.c
+++ b/
arch/x86/mm/init.c
@@
-25,6
+25,15
@@
unsigned long __meminitdata pgt_buf_top;
static unsigned long min_pfn_mapped;
+/*
+ * Pages returned are already directly mapped.
+ *
+ * Changing that is likely to break Xen, see commit:
+ *
+ * 279b706 x86,xen: introduce x86_init.mapping.pagetable_reserve
+ *
+ * for detailed information.
+ */
__ref void *alloc_low_pages(unsigned int num)
{
unsigned long pfn;