diff options
| author | Andrew Morton <[email protected]> | 2008-02-06 01:36:42 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-06 10:41:02 -0800 |
| commit | 941e492bdb1239d2ca8f5736cdfd3ff83d00cb90 (patch) | |
| tree | 6c048ee92ec94cbced1881308e14c2541321f077 /include/linux | |
| parent | 83bad1d764b836a482b88e0a1f44d7a5c3e1fee0 (diff) | |
read_current_timer() cleanups
- All implementations can be __devinit
- The function prototypes were in asm/timex.h but they all must be the same,
so create a single declaration in linux/timex.h.
- uninline the sparc64 version to match the other architectures
- Don't bother #defining ARCH_HAS_READ_CURRENT_TIMER to a particular value.
[[email protected]: fix build]
Cc: "David S. Miller" <[email protected]>
Cc: Haavard Skinnemoen <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/timex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h index 24c6a2b59511..8ea3e71ba7fa 100644 --- a/include/linux/timex.h +++ b/include/linux/timex.h @@ -244,6 +244,8 @@ extern int do_adjtimex(struct timex *); /* Don't use! Compatibility define for existing users. */ #define tickadj (500/HZ ? : 1) +int read_current_timer(unsigned long *timer_val); + #endif /* KERNEL */ #endif /* LINUX_TIMEX_H */ |