mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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 <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/cde3fcf1b3211f3f03feb1a995bce3fee850f0fc.1435824469.git.zhugh.fnst@cn.fujitsu.com Signed-off-by: Ingo Molnar <[email protected]>
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 */
|