Skip to contentSkip to conversation

2.6.23 x86_64 broken for SMP ?

Adeos-main Paul 3 participants 3 messages Oct 18, 2007 – Oct 19, 2007

lore
Share & tools
lore

Paul

author
#0 lore raw

Attempting to compile on x86_64 with SMP enabled, getting quite a few failures cetered around ipipe_declare_cpuid being undeclared in arch/x86_64/kernel/ipipe.c. Should we be including ipipe_compat.h or following the lead set in arch/i386/kernel/ipipe.c ?

Regards, Paul.

#1 lore raw
Quoted 4 lines · Paul

Attempting to compile on x86_64 with SMP enabled, getting quite a few failures cetered around ipipe_declare_cpuid being undeclared in arch/x86_64/kernel/ipipe.c. Should we be including ipipe_compat.h or following the lead set in arch/i386/kernel/ipipe.c ?

Nope, we should rather remove the obsolete code from the ipipe core. You could simply kill ipipe_declare_cpuid and replace the cpuid spots with ipipe_processor_id() (compare to latest i386 ipipe). Cleanup patches always welcome!

Jan

#2 lore raw
In reply to Paul
Quoted 3 lines · Paul

Attempting to compile on x86_64 with SMP enabled, getting quite a few failures cetered around ipipe_declare_cpuid being undeclared in arch/x86_64/kernel/ipipe.c.

It seems I forgot to compile with IPIPE_COMPAT off before releasing... Sorry for that. This one should be ok:

http://download.gna.org/adeos/patches/v2.6/x86_64/adeos-ipipe-2.6.23-x86_64-1.2-05.patch

Quoted 3 lines

Should we be including ipipe_compat.h or following the lead set in arch/i386/kernel/ipipe.c ?

We really want to get rid of the ipipe_get/lock_cpu constructs, so i386 should be followed.

Quoted 7 lines

Regards, Paul.

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Signature · 1 line
Philippe.