Commit 6d7bfd14 authored by Jan Glauber's avatar Jan Glauber Committed by Linus Torvalds

[PATCH] s390: timer interface visibility

Avoid visibility of kernel internal interface to user space.
Signed-off-by: default avatarJan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 12c3a548
/* /*
* 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 @@ ...@@ -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); ...@@ -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 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment