Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80009
b: refs/heads/master
c: bdb4f15
h: refs/heads/master
i:
  80007: 3b622ed
v: v3
  • Loading branch information
Jan Beulich authored and Ingo Molnar committed Jan 30, 2008
1 parent 4f60601 commit 3fae97f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6be29b871e285d33be0e3025929e2d6bcabb0c0
refs/heads/master: bdb4f156064e5f627213af82292eb8b5cf2dc5aa
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-x86/processor_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3fae97f

Please sign in to comment.