diff options
Diffstat (limited to 'include/asm-mips/timex.h')
| -rw-r--r-- | include/asm-mips/timex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/timex.h b/include/asm-mips/timex.h index 98aa737b34aa..b80de8e0fbbd 100644 --- a/include/asm-mips/timex.h +++ b/include/asm-mips/timex.h | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | #ifndef _ASM_TIMEX_H | 8 | #ifndef _ASM_TIMEX_H |
| 9 | #define _ASM_TIMEX_H | 9 | #define _ASM_TIMEX_H |
| 10 | 10 | ||
| 11 | #ifdef __KERNEL__ | ||
| 12 | |||
| 11 | #include <asm/mipsregs.h> | 13 | #include <asm/mipsregs.h> |
| 12 | 14 | ||
| 13 | /* | 15 | /* |
| @@ -51,4 +53,6 @@ static inline cycles_t get_cycles (void) | |||
| 51 | return read_c0_count(); | 53 | return read_c0_count(); |
| 52 | } | 54 | } |
| 53 | 55 | ||
| 56 | #endif /* __KERNEL__ */ | ||
| 57 | |||
| 54 | #endif /* _ASM_TIMEX_H */ | 58 | #endif /* _ASM_TIMEX_H */ |
