compile error for mips with 2.6.29.2-rt10
Hello list,
I use 2.6.29.2-rt10 patch on linux-2.6.29.2 (from linux-mips.org and for bcm47xx MCU) and I had following compilation error:
kernel/sched.c: In function 'finish_task_switch':kernel/sched.c:2902: error: implicit declaration of function '_finish_arch_switch'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
When I change "_finish_arch_switch" to "finish_arch_switch" in kernel/sched.c, no compilation error, but I didn't try resulting vmlinux.
Do I miss something?
Thanks
Quoted 10 lines · Gaye Abdoulaye Walsimou
Hello list,
I use 2.6.29.2-rt10 patch on linux-2.6.29.2 (from linux-mips.org and for bcm47xx MCU) and I had following compilation error:
kernel/sched.c: In function 'finish_task_switch':kernel/sched.c:2902: error: implicit declaration of function '_finish_arch_switch'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
Quoted 4 lines
When I change "
_finish_arch_switch" to "finish_arch_switch" inkernel/sched.c, no compilation error, but I didn't try resulting vmlinux.Do I miss something?
Yes.
http://lkml.org/lkml/2009/2/11/405
Quoted 2 lines
The patch is working on x86 (32 and 64bit) but we have not yet updated ARM, PPC and MIPS (work in progress).
This is still true for MIPS , but we are working on it and hopefully one of the next preempt-rt releases will have MIPS support again. Stay tuned.
Thanks,
tglx
Quoted 28 lines · Thomas Gleixner
Quoted 10 lines · Gaye Abdoulaye Walsimou
Hello list,
I use 2.6.29.2-rt10 patch on linux-2.6.29.2 (from linux-mips.org and for bcm47xx MCU) and I had following compilation error:
kernel/sched.c: In function 'finish_task_switch':kernel/sched.c:2902: error: implicit declaration of function '_finish_arch_switch'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2Quoted 5 lines
When I change "
_finish_arch_switch" to "finish_arch_switch" inkernel/sched.c, no compilation error, but I didn't try resulting vmlinux.Do I miss something?
Yes.
http://lkml.org/lkml/2009/2/11/405
Quoted 3 lines
The patch is working on x86 (32 and 64bit) but we have not yet updated ARM, PPC and MIPS (work in progress).
Quoted 8 lines
This is still true for MIPS , but we are working on it and hopefully one of the next preempt-rt releases will have MIPS support again. Stay tuned.
Thanks,
tglx
Thanks Thomas for information.