Messages in this thread Patch in this message | | | Subject | [PATCH] O(1) scheduler: asm offset changed | From | Robert Love <> | Date | 20 Jan 2002 19:05:11 -0500 |
| |
Ingo's O(1) scheduler moved the location of the processor entry in task_struct (and also renamed it cpu). The hard coded offsets in entry.S, however, were not updated.
This patch, against 2.5.3-pre2 + J2, sets the correct offset and renames processor to cpu.
Note that nothing actually uses these offsets :-) at the moment but code used to and may again. Most importantly, preempt-kernel does!
Thanks,
Robert Love
--- linux-2.5.3-pre2-ingo-J2/arch/i386/kernel/entry.S Sun Jan 20 18:50:45 2002 +++ linux/arch/i386/kernel/entry.S Sun Jan 20 18:50:48 2002@@ -77,7 +77,7 @@ exec_domain = 16 need_resched = 20 tsk_ptrace = 24 -processor = 52 +cpu = 32 ENOSYS = 38
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |