mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 01:08:03 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
20
kernel/smpboot.h
Normal file
20
kernel/smpboot.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef SMPBOOT_H
|
||||
#define SMPBOOT_H
|
||||
|
||||
struct task_struct;
|
||||
|
||||
#ifdef CONFIG_GENERIC_SMP_IDLE_THREAD
|
||||
struct task_struct *idle_thread_get(unsigned int cpu);
|
||||
void idle_thread_set_boot_cpu(void);
|
||||
void idle_threads_init(void);
|
||||
#else
|
||||
static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; }
|
||||
static inline void idle_thread_set_boot_cpu(void) { }
|
||||
static inline void idle_threads_init(void) { }
|
||||
#endif
|
||||
|
||||
int smpboot_create_threads(unsigned int cpu);
|
||||
void smpboot_park_threads(unsigned int cpu);
|
||||
void smpboot_unpark_threads(unsigned int cpu);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue