mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
arch: remove unused *_segments() macros/functions
Some architectures define the no-op macros/functions copy_segments, release_segments and forget_segments. These are used nowhere in the tree, so removed them. Signed-off-by: Tobias Klauser <[email protected]> Acked-by: Vineet Gupta <[email protected]> [for arch/arc] Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0a8abd97dc
commit
c17c02040b
10 changed files with 0 additions and 51 deletions
|
|
@ -92,10 +92,6 @@ static inline void release_thread(struct task_struct *dead_task)
|
|||
extern asmlinkage void save_user_regs(struct user_context *target);
|
||||
extern asmlinkage void *restore_user_regs(const struct user_context *target, ...);
|
||||
|
||||
#define copy_segments(tsk, mm) do { } while (0)
|
||||
#define release_segments(mm) do { } while (0)
|
||||
#define forget_segments() do { } while (0)
|
||||
|
||||
unsigned long get_wchan(struct task_struct *p);
|
||||
|
||||
#define KSTK_EIP(tsk) ((tsk)->thread.frame0->pc)
|
||||
|
|
|
|||
Loading…
Reference in a new issue