Skip to content

Commit

Permalink
x86, mm: Move function declaration into mm_internal.h
Browse files Browse the repository at this point in the history
They are only for mm/init*.c.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1353123563-3103-34-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
  • Loading branch information
Yinghai Lu authored and H. Peter Anvin committed Nov 17, 2012
1 parent f836e35 commit c8dcdb9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
16 changes: 3 additions & 13 deletions arch/x86/include/asm/init.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
#ifndef _ASM_X86_INIT_32_H
#define _ASM_X86_INIT_32_H
#ifndef _ASM_X86_INIT_H
#define _ASM_X86_INIT_H

#ifdef CONFIG_X86_32
extern void __init early_ioremap_page_table_range_init(void);
#endif

extern void __init zone_sizes_init(void);

extern unsigned long __init
kernel_physical_mapping_init(unsigned long start,
unsigned long end,
unsigned long page_size_mask);

#endif /* _ASM_X86_INIT_32_H */
#endif /* _ASM_X86_INIT_H */
7 changes: 7 additions & 0 deletions arch/x86/mm/mm_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,11 @@ static inline void *alloc_low_page(void)
return alloc_low_pages(1);
}

void early_ioremap_page_table_range_init(void);

unsigned long kernel_physical_mapping_init(unsigned long start,
unsigned long end,
unsigned long page_size_mask);
void zone_sizes_init(void);

#endif /* __X86_MM_INTERNAL_H */

0 comments on commit c8dcdb9

Please sign in to comment.