From a7c8a1d320ff544a044f6fac5c7fda557f5ef60c Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 9 May 2004 23:55:27 -0700 Subject: [PATCH] sched: in_sched_functions() cleanup From: Rusty Russell 1) Create an in_sched_functions() function in sched.c and make the archs use it. (Two archs have wchan #if 0'd out: left them alone). 2) Move __sched from linux/init.h to linux/sched.h and add comment. 3) Rename __scheduling_functions_start_here/end_here to __sched_text_start/end. Thanks to wli and Sam Ravnborg for clue donation. --- include/linux/init.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/linux/init.h') diff --git a/include/linux/init.h b/include/linux/init.h index c6842477243c..45069e275b3d 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -46,8 +46,6 @@ #define __exitdata __attribute__ ((__section__(".exit.data"))) #define __exit_call __attribute_used__ __attribute__ ((__section__ (".exitcall.exit"))) -#define __sched __attribute__((__section__(".sched.text"))) - #ifdef MODULE #define __exit __attribute__ ((__section__(".exit.text"))) #else -- cgit v1.2.3