Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61666
b: refs/heads/master
c: d7e28ff
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell authored and Linus Torvalds committed Jul 19, 2007
1 parent 3c67734 commit 2b673b1
Show file tree
Hide file tree
Showing 18 changed files with 2,703 additions and 35 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: 07ad157f6e5d228be78acd5cea0291e5d0360398
refs/heads/master: d7e28ffe6c74416b54345d6004fd0964c115b12c
4 changes: 3 additions & 1 deletion trunk/arch/i386/kernel/tsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ static int tsc_enabled;
* an extra value to store the TSC freq
*/
unsigned int tsc_khz;
EXPORT_SYMBOL_GPL(tsc_khz);

int tsc_disable;

Expand Down Expand Up @@ -58,10 +59,11 @@ __setup("notsc", tsc_setup);
*/
static int tsc_unstable;

static inline int check_tsc_unstable(void)
int check_tsc_unstable(void)
{
return tsc_unstable;
}
EXPORT_SYMBOL_GPL(check_tsc_unstable);

/* Accellerators for sched_clock()
* convert from cycles(64bits) => nanoseconds (64bits)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/tsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ unsigned long long sched_clock(void)

static int tsc_unstable;

static inline int check_tsc_unstable(void)
inline int check_tsc_unstable(void)
{
return tsc_unstable;
}
Expand Down
Loading

0 comments on commit 2b673b1

Please sign in to comment.