mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 17:30:54 +07:00
[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:
parent
12c3a54848
commit
6d7bfd14e5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user