From: Adrian Bunk Date: Tue, 10 Jan 2006 04:54:50 +0000 (-0800) Subject: [PATCH] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c29c4c5f28616f2a87f0e6499aa9776d9be58ad;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype There's no need to guard the normalize_rt_tasks() prototype with an #ifdef CONFIG_MAGIC_SYSRQ. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/sched.h b/include/linux/sched.h index ee4677ad204..c4ee35dd18a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1390,12 +1390,8 @@ static inline void arch_pick_mmap_layout(struct mm_struct *mm) extern long sched_setaffinity(pid_t pid, cpumask_t new_mask); extern long sched_getaffinity(pid_t pid, cpumask_t *mask); -#ifdef CONFIG_MAGIC_SYSRQ - extern void normalize_rt_tasks(void); -#endif - #ifdef CONFIG_PM /* * Check if a process has been frozen