![Jan Beulich](/assets/img/avatar_default.png)
In order to be able to suppress the use of SRAT tables that 32-bit Linux can't deal with (in one case known to lead to a non-bootable system, unless disabling ACPI altogether), move the "numa=" option handling to common code. Signed-off-by: Jan Beulich <jbeulich@novell.com> Reviewed-by: Thomas Renninger <trenn@suse.de> Cc: Tejun Heo <tj@kernel.org> Cc: Thomas Renninger <trenn@suse.de> LKML-Reference: <4D36B581020000780002D0FF@vpn.id2.novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 lines
310 B
C
18 lines
310 B
C
#ifndef _ASM_X86_NUMA_32_H
|
|
#define _ASM_X86_NUMA_32_H
|
|
|
|
extern int numa_off;
|
|
|
|
extern int pxm_to_nid(int pxm);
|
|
extern void numa_remove_cpu(int cpu);
|
|
|
|
#ifdef CONFIG_HIGHMEM
|
|
extern void set_highmem_pages_init(void);
|
|
#else
|
|
static inline void set_highmem_pages_init(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* _ASM_X86_NUMA_32_H */
|