提交 6d7bfd14 编写于 作者: J Jan Glauber 提交者: Linus Torvalds

[PATCH] s390: timer interface visibility

Avoid visibility of kernel internal interface to user space.
Signed-off-by: NJan Glauber <jan.glauber@de.ibm.com>
Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册