mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-02 09:05:37 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
31
arch/s390/include/asm/vtimer.h
Normal file
31
arch/s390/include/asm/vtimer.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
* Copyright IBM Corp. 2003, 2012
|
||||
* Virtual CPU timer
|
||||
*
|
||||
* Author(s): Jan Glauber <jan.glauber@de.ibm.com>
|
||||
*/
|
||||
|
||||
#ifndef _ASM_S390_TIMER_H
|
||||
#define _ASM_S390_TIMER_H
|
||||
|
||||
#define VTIMER_MAX_SLICE (0x7fffffffffffffffULL)
|
||||
|
||||
struct vtimer_list {
|
||||
struct list_head entry;
|
||||
u64 expires;
|
||||
u64 interval;
|
||||
void (*function)(unsigned long);
|
||||
unsigned long data;
|
||||
};
|
||||
|
||||
extern void init_virt_timer(struct vtimer_list *timer);
|
||||
extern void add_virt_timer(struct vtimer_list *timer);
|
||||
extern void add_virt_timer_periodic(struct vtimer_list *timer);
|
||||
extern int mod_virt_timer(struct vtimer_list *timer, u64 expires);
|
||||
extern int mod_virt_timer_periodic(struct vtimer_list *timer, u64 expires);
|
||||
extern int del_virt_timer(struct vtimer_list *timer);
|
||||
|
||||
extern void init_cpu_vtimer(void);
|
||||
extern void vtime_init(void);
|
||||
|
||||
#endif /* _ASM_S390_TIMER_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue