提交 bdb4f156 编写于 作者: J Jan Beulich 提交者: Ingo Molnar

i386: hard_{en,dis}able_TSC can be static

Signed-off-by: NJan Beulich <jbeulich@novell.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 d6be29b8
......@@ -588,7 +588,7 @@ int dump_task_regs(struct task_struct *tsk, elf_gregset_t *regs)
}
#ifdef CONFIG_SECCOMP
void hard_disable_TSC(void)
static void hard_disable_TSC(void)
{
write_cr4(read_cr4() | X86_CR4_TSD);
}
......@@ -603,7 +603,7 @@ void disable_TSC(void)
hard_disable_TSC();
preempt_enable();
}
void hard_enable_TSC(void)
static void hard_enable_TSC(void)
{
write_cr4(read_cr4() & ~X86_CR4_TSD);
}
......
......@@ -206,9 +206,7 @@ extern int bootloader_type;
#define HAVE_ARCH_PICK_MMAP_LAYOUT
extern void hard_disable_TSC(void);
extern void disable_TSC(void);
extern void hard_enable_TSC(void);
/*
* Size of io_bitmap.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册