mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 02:06:54 +07:00
1db875631f
Add a CPU index parameter to init_espfix_ap(), so that the parameter could be propagated to the function for espfix page allocation. Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com> Cc: <bp@alien8.de> Cc: <luto@amacapital.net> Cc: <luto@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/cde3fcf1b3211f3f03feb1a995bce3fee850f0fc.1435824469.git.zhugh.fnst@cn.fujitsu.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
17 lines
349 B
C
17 lines
349 B
C
#ifndef _ASM_X86_ESPFIX_H
|
|
#define _ASM_X86_ESPFIX_H
|
|
|
|
#ifdef CONFIG_X86_64
|
|
|
|
#include <asm/percpu.h>
|
|
|
|
DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_stack);
|
|
DECLARE_PER_CPU_READ_MOSTLY(unsigned long, espfix_waddr);
|
|
|
|
extern void init_espfix_bsp(void);
|
|
extern void init_espfix_ap(int cpu);
|
|
|
|
#endif /* CONFIG_X86_64 */
|
|
|
|
#endif /* _ASM_X86_ESPFIX_H */
|