diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-09 23:55:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-09 23:55:27 -0700 |
| commit | a7c8a1d320ff544a044f6fac5c7fda557f5ef60c (patch) | |
| tree | b1ab64fe86b137b1548c6e8d9cdb650d8c85c17c /include/linux/init.h | |
| parent | e736428d8be55699f3d9626f5196402a3702575b (diff) | |
[PATCH] sched: in_sched_functions() cleanup
From: Rusty Russell <rusty@rustcorp.com.au>
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.
Diffstat (limited to 'include/linux/init.h')
| -rw-r--r-- | include/linux/init.h | 2 |
1 files changed, 0 insertions, 2 deletions
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 |
