Re: [PATCH] Minor __sched cleanups

From: Sam Ravnborg
Date: Wed Apr 14 2004 - 00:04:01 EST


> diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .24943-linux-2.6.5-mm4/arch/alpha/kernel/process.c .24943-linux-2.6.5-mm4.updated/arch/alpha/kernel/process.c
> --- .24943-linux-2.6.5-mm4/arch/alpha/kernel/process.c 2004-04-13 10:36:41.000000000 +1000
> +++ .24943-linux-2.6.5-mm4.updated/arch/alpha/kernel/process.c 2004-04-13 15:10:20.000000000 +1000
> @@ -513,8 +513,8 @@ thread_saved_pc(task_t *t)
> /*
> * These bracket the sleeping functions..
> */
> -#define first_sched ((unsigned long) scheduling_functions_start_here)
> -#define last_sched ((unsigned long) scheduling_functions_end_here)
> +#define first_sched ((unsigned long)__sched_text_start)
> +#define last_sched ((unsigned long)__sched_text_end)

Any good reason to keep the definitions in the various arch specific
process.c files?
Locating them in sched.h would be a nice consolidation.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/