Skip to contentSkip to conversation

=?iso-8859-1?Q?[COMPILE_ERROR]_realtime-preempt-2=2E6=2E12-final-V0=2E7=2E51-33_on_x86_64_SMP_system

DISCUSSION Karsten Wiese 2 participants 2 messages Jul 22, 2005 – Jul 25, 2005

lore
Share & tools
lore
#0 lore raw

Steve,

to make it compile and build replace
arch/x86_64/kernel/smpboot.c: line 191
with this:
<snip>
static __cpuinitdata raw_spinlock_t tsc_sync_lock = RAW_SPIN_LOCK_UNLOCKED; </snip>

or alternativly:
<snip>
static DEFINE_RAW_SPINLOCK(tsc_sync_lock);
</snip>

Karsten

___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

#1 lore raw

Thanks Karsten,

That fixed it. Though now my bleeding edge InfiniBand driver is complaining about SPIN_LOCK_UNLOCKED being undeclared. Could this be caused by the preemt patch, as the IB driver compiles against an unpatched kernel. I'll look into further.

Cheers,

Steve.

Quoted 29 lines · Karsten Wiese

Steve,

to make it compile and build replace arch/x86_64/kernel/smpboot.c: line 191
with this:
<snip>
static __cpuinitdata raw_spinlock_t tsc_sync_lock = RAW_SPIN_LOCK_UNLOCKED; </snip>

or alternativly:
<snip>
static DEFINE_RAW_SPINLOCK(tsc_sync_lock);
</snip>

Karsten

___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/