Messages in this thread Patch in this message | | | Subject | [PATCH] Re: Kernel 2.5.8 on Alpha | From | Robert Love <> | Date | 15 Apr 2002 14:47:42 -0400 |
| |
On Sun, 2002-04-14 at 17:01, Oliver Pitzeier wrote: > I tried to compile kernel 2.5.8 on an Alpha. I just wanted to try it... > This happens: > <snip> > sched.c: In function `schedule': > sched.c:771: `PREEMPT_ACTIVE' undeclared (first use in this function)
2.5.8-pre2 uses PREEMPT_ACTIVE directly in entry.S and thus moved the definition of PREEMPT_ACTIVE into include/asm/thread_info.h from include/linux/sched.h, presumably because including sched.h in entry.S would not be pretty.
Each arch thus needs to define PREEMPT_ACTIVE ... patch applied.
Robert Love
diff -urN linux-2.5.8/include/asm-alpha/thread_info.h linux/include/asm-alpha/thread_info.h --- linux-2.5.8/include/asm-alpha/thread_info.h Sun Apr 14 15:18:56 2002 +++ linux/include/asm-alpha/thread_info.h Mon Apr 15 14:32:50 2002 @@ -53,6 +53,8 @@ #endif /* __ASSEMBLY__ */ +#define PREEMPT_ACTIVE 0x4000000 + /* * Thread information flags: * - these are process state flags and used from assembly
- 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/
| |