[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>
This commit is contained in:
Jan Glauber 2006-02-03 03:03:50 -08:00 committed by Linus Torvalds
parent 12c3a54848
commit 6d7bfd14e5

View File

@ -1,7 +1,7 @@
/* /*
* include/asm-s390/timer.h * include/asm-s390/timer.h
* *
* (C) Copyright IBM Corp. 2003 * (C) Copyright IBM Corp. 2003,2006
* Virtual CPU timer * Virtual CPU timer
* *
* Author: Jan Glauber (jang@de.ibm.com) * Author: Jan Glauber (jang@de.ibm.com)
@ -10,6 +10,8 @@
#ifndef _ASM_S390_TIMER_H #ifndef _ASM_S390_TIMER_H
#define _ASM_S390_TIMER_H #define _ASM_S390_TIMER_H
#ifdef __KERNEL__
#include <linux/timer.h> #include <linux/timer.h>
#define VTIMER_MAX_SLICE (0x7ffffffffffff000LL) #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 mod_virt_timer(struct vtimer_list *timer, __u64 expires);
extern int del_virt_timer(struct vtimer_list *timer); extern int del_virt_timer(struct vtimer_list *timer);
#endif #endif /* __KERNEL__ */
#endif /* _ASM_S390_TIMER_H */