aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/timex.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-09-06 12:00:22 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 08:37:40 -0400
commit8f9a2b324644d3f8c233287f0a7764d61655cda4 (patch)
treec35f35bb0e5c4999237f4b954d6fe393985dfad8 /include/asm-mips/timex.h
parentd34555fb20e7abf33f86d7aa3ec0826343f38256 (diff)
[MIPS] Fix errors detected by "make headers_check"
* export asm/sgidefs.h * include asm/isadep.h only if in kernel * do not export contents of asm/timex.h and asm/user.h Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/timex.h')
-rw-r--r--include/asm-mips/timex.h4
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 */