mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 13:22:55 +00:00
867c5b5292
Impact: cleanup This patch moves set_highmem_pages_init() to arch/x86/mm/highmem_32.c. The declaration of the function is kept in asm/numa_32.h because asm/highmem.h is included only if CONFIG_HIGHMEM is enabled so we can't put the empty static inline function there. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> LKML-Reference: <1236082212.2675.24.camel@penberg-laptop> Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 lines
288 B
C
16 lines
288 B
C
#ifndef _ASM_X86_NUMA_32_H
|
|
#define _ASM_X86_NUMA_32_H
|
|
|
|
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 */
|