Re: 2.6.19-rc6-rt3, yum repo

From: Michal Schmidt
Date: Sat Nov 18 2006 - 07:45:18 EST


Ingo Molnar wrote:

i've released the 2.6.18-rc6-rt3 tree
Hi Ingo,
lockdep doesn't compile on UP. per_cpu_offset only makes sense on SMP.

Michal

diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index 8f6ba22..d46082d 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -1194,8 +1194,13 @@ register_lock_class(struct lockdep_map *
*/
if (!static_obj(lock->key)) {
debug_locks_off();
+#ifdef CONFIG_SMP
printk("INFO: trying to register non-static key %p (%016lx).\n",
lock->key, per_cpu_offset(raw_smp_processor_id()));
+#else
+ printk("INFO: trying to register non-static key %p.\n",
+ lock->key);
+#endif
printk("the code is fine but needs lockdep annotation.\n");
printk("turning off the locking correctness validator.\n");
dump_stack();


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/