diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-01-30 13:31:21 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:31:21 +0100 |
commit | bdb4f156064e5f627213af82292eb8b5cf2dc5aa (patch) | |
tree | c338a58634623bb25a69db99733938b260633c3a /arch/x86/kernel/process_32.c | |
parent | d6be29b871e285d33be0e3025929e2d6bcabb0c0 (diff) | |
download | op-kernel-dev-bdb4f156064e5f627213af82292eb8b5cf2dc5aa.zip op-kernel-dev-bdb4f156064e5f627213af82292eb8b5cf2dc5aa.tar.gz |
i386: hard_{en,dis}able_TSC can be static
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/process_32.c')
-rw-r--r-- | arch/x86/kernel/process_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c index 48e92e3..40cc296 100644 --- a/arch/x86/kernel/process_32.c +++ b/arch/x86/kernel/process_32.c @@ -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); } |