diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-09 11:42:57 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 11:42:57 +0100 |
commit | e5f7f202f31fd05e9de7e1ba5a7b30de7855f5aa (patch) | |
tree | 198a2f0e82dc008d371b12eb422a66be96d4924c /arch/x86/include/asm/page.h | |
parent | 726c0d95b6bd06cb83efd36a76ccf03fa9a770f0 (diff) |
x86, pgtable.h: macro-ify *_page() methods
The p?d_page() methods still rely on highlevel types and methods:
In file included from arch/x86/kernel/early_printk.c:18:
/home/mingo/tip/arch/x86/include/asm/pgtable.h: In function ‘pmd_page’:
/home/mingo/tip/arch/x86/include/asm/pgtable.h:516: error: implicit declaration of function â__pfn_to_sectionâ
/home/mingo/tip/arch/x86/include/asm/pgtable.h:516: error: initialization makes pointer from integer without a cast
/home/mingo/tip/arch/x86/include/asm/pgtable.h:516: error: implicit declaration of function ‘__section_mem_map_addr’
/home/mingo/tip/arch/x86/include/asm/pgtable.h:516: error: return makes pointer from integer without a cast
So convert them to macros and document the type dependency.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/page.h')
0 files changed, 0 insertions, 0 deletions