Skip to content

Commit

Permalink
x86: move numa related declarations
Browse files Browse the repository at this point in the history
More stuff shuffeled to the correct place

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Jan 30, 2008
1 parent af7a78e commit aaa64e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions arch/x86/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <asm/smp.h>
#include <asm/sections.h>
#include <asm/kdebug.h>
#include <asm/numa.h>

#ifndef Dprintk
#define Dprintk(x...)
Expand Down
6 changes: 6 additions & 0 deletions include/asm-x86/numa_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ extern void srat_reserve_add_area(int nodeid);
extern int hotadd_percent;

extern unsigned char apicid_to_node[MAX_LOCAL_APIC];

extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
extern unsigned long numa_free_all_bootmem(void);
extern void setup_node_bootmem(int nodeid, unsigned long start,
unsigned long end);

#ifdef CONFIG_NUMA
extern void __init init_cpu_to_node(void);

Expand Down
5 changes: 0 additions & 5 deletions include/asm-x86/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ extern u32 pmtmr_ioport;
#endif
extern int nohpet;

extern void numa_initmem_init(unsigned long start_pfn, unsigned long end_pfn);
extern unsigned long numa_free_all_bootmem(void);

extern void reserve_bootmem_generic(unsigned long phys, unsigned len);

extern void load_gs_index(unsigned gs);
Expand All @@ -52,8 +49,6 @@ extern void swap_low_mappings(void);

extern void syscall32_cpu_init(void);

extern void setup_node_bootmem(int nodeid, unsigned long start, unsigned long end);

extern void check_efer(void);

extern unsigned long table_start, table_end;
Expand Down

0 comments on commit aaa64e0

Please sign in to comment.