diff options
Diffstat (limited to 'arch')
-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 48e92e3758c..40cc29695eb 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) | |||
588 | } | 588 | } |
589 | 589 | ||
590 | #ifdef CONFIG_SECCOMP | 590 | #ifdef CONFIG_SECCOMP |
591 | void hard_disable_TSC(void) | 591 | static void hard_disable_TSC(void) |
592 | { | 592 | { |
593 | write_cr4(read_cr4() | X86_CR4_TSD); | 593 | write_cr4(read_cr4() | X86_CR4_TSD); |
594 | } | 594 | } |
@@ -603,7 +603,7 @@ void disable_TSC(void) | |||
603 | hard_disable_TSC(); | 603 | hard_disable_TSC(); |
604 | preempt_enable(); | 604 | preempt_enable(); |
605 | } | 605 | } |
606 | void hard_enable_TSC(void) | 606 | static void hard_enable_TSC(void) |
607 | { | 607 | { |
608 | write_cr4(read_cr4() & ~X86_CR4_TSD); | 608 | write_cr4(read_cr4() & ~X86_CR4_TSD); |
609 | } | 609 | } |