X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-mips%2Ftimex.h;h=b80de8e0fbbda8d8ca9f66dad92c32e25ce6e05a;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=98aa737b34aa75fc79d582431fcd12bf2bc42a43;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/asm-mips/timex.h b/include/asm-mips/timex.h index 98aa737b3..b80de8e0f 100644 --- a/include/asm-mips/timex.h +++ b/include/asm-mips/timex.h @@ -8,6 +8,8 @@ #ifndef _ASM_TIMEX_H #define _ASM_TIMEX_H +#ifdef __KERNEL__ + #include /* @@ -51,4 +53,6 @@ static inline cycles_t get_cycles (void) return read_c0_count(); } +#endif /* __KERNEL__ */ + #endif /* _ASM_TIMEX_H */