git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-mips
/
timex.h
diff --git
a/include/asm-mips/timex.h
b/include/asm-mips/timex.h
index
98aa737
..
b80de8e
100644
(file)
--- a/
include/asm-mips/timex.h
+++ b/
include/asm-mips/timex.h
@@
-8,6
+8,8
@@
#ifndef _ASM_TIMEX_H
#define _ASM_TIMEX_H
#ifndef _ASM_TIMEX_H
#define _ASM_TIMEX_H
+#ifdef __KERNEL__
+
#include <asm/mipsregs.h>
/*
#include <asm/mipsregs.h>
/*
@@
-51,4
+53,6
@@
static inline cycles_t get_cycles (void)
return read_c0_count();
}
return read_c0_count();
}
+#endif /* __KERNEL__ */
+
#endif /* _ASM_TIMEX_H */
#endif /* _ASM_TIMEX_H */