aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorJan Glauber <jan.glauber@de.ibm.com>2006-02-03 03:03:50 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 08:32:01 -0800
commit6d7bfd14e593455a0801c62db86f82912c52c3a1 (patch)
tree364541b34fcafa5b47d7ee04a930471d969906d0 /include/asm-s390
parent12c3a54848a6eba2b38cd92ba5925433d223332b (diff)
downloadkernel_samsung_tuna-6d7bfd14e593455a0801c62db86f82912c52c3a1.zip
kernel_samsung_tuna-6d7bfd14e593455a0801c62db86f82912c52c3a1.tar.gz
kernel_samsung_tuna-6d7bfd14e593455a0801c62db86f82912c52c3a1.tar.bz2
[PATCH] s390: timer interface visibility
Avoid visibility of kernel internal interface to user space. Signed-off-by: Jan Glauber <jan.glauber@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390')
-rw-r--r--include/asm-s390/timer.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-s390/timer.h b/include/asm-s390/timer.h
index ea07889..fcd6c25 100644
--- a/include/asm-s390/timer.h
+++ b/include/asm-s390/timer.h
@@ -1,7 +1,7 @@
/*
* include/asm-s390/timer.h
*
- * (C) Copyright IBM Corp. 2003
+ * (C) Copyright IBM Corp. 2003,2006
* Virtual CPU timer
*
* Author: Jan Glauber (jang@de.ibm.com)
@@ -10,6 +10,8 @@
#ifndef _ASM_S390_TIMER_H
#define _ASM_S390_TIMER_H
+#ifdef __KERNEL__
+
#include <linux/timer.h>
#define VTIMER_MAX_SLICE (0x7ffffffffffff000LL)
@@ -43,4 +45,6 @@ extern void add_virt_timer_periodic(void *new);
extern int mod_virt_timer(struct vtimer_list *timer, __u64 expires);
extern int del_virt_timer(struct vtimer_list *timer);
-#endif
+#endif /* __KERNEL__ */
+
+#endif /* _ASM_S390_TIMER_H */