Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80027
b: refs/heads/master
c: 73018a6
h: refs/heads/master
i:
  80025: d9a89b5
  80023: ff2f306
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent 48c5b60 commit a4bcc5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: 7bcbc78dea92fdf0947fa48e248da3c993a5690f
refs/heads/master: 73018a66e70fa631935192e5ed6ef8fa2d20b22d
5 changes: 0 additions & 5 deletions trunk/include/asm-x86/processor_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
#include <asm/processor-flags.h>
#include <asm/desc_defs.h>

/* flag for disabling the tsc */
extern int tsc_disable;

static inline int desc_empty(const void *ptr)
{
const u32 *desc = ptr;
Expand Down Expand Up @@ -206,8 +203,6 @@ extern int bootloader_type;

#define HAVE_ARCH_PICK_MMAP_LAYOUT

extern void disable_TSC(void);

/*
* Size of io_bitmap.
*/
Expand Down
4 changes: 4 additions & 0 deletions trunk/include/asm-x86/tsc.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ typedef unsigned long long cycles_t;

extern unsigned int cpu_khz;
extern unsigned int tsc_khz;
/* flag for disabling the tsc */
extern int tsc_disable;

extern void disable_TSC(void);

static inline cycles_t get_cycles(void)
{
Expand Down

0 comments on commit a4bcc5c

Please sign in to comment.