提交 ddd3509d 编写于 作者: S Stefano Stabellini 提交者: H. Peter Anvin

x86, mm: Add pointer about Xen mmu requirement for alloc_low_pages

Add link for more information
	279b706b x86,xen: introduce x86_init.mapping.pagetable_reserve

-v2: updated to commets from hpa to include commit name.
Signed-off-by: NYinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-29-git-send-email-yinghai@kernel.orgSigned-off-by: NH. Peter Anvin <hpa@linux.intel.com>
上级 22c8ca2a
...@@ -25,6 +25,15 @@ unsigned long __meminitdata pgt_buf_top; ...@@ -25,6 +25,15 @@ unsigned long __meminitdata pgt_buf_top;
static unsigned long min_pfn_mapped; 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) __ref void *alloc_low_pages(unsigned int num)
{ {
unsigned long pfn; unsigned long pfn;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册