Re: [PATCH][5/8] Arch agnostic completely out of line locks / ppc64

From: Anton Blanchard
Date: Thu Sep 09 2004 - 20:45:27 EST



> But that's because "__preempt_spin_lock" on ppc is in the wrong section,
> no?
>
> Just change it from "__sched" to "__lockfunc", and move it to
> kernel/spinlock.c while you're at it, and everything works right. Do the
> same for __preempt_write_lock() too.
>
> Oh, and you need to do the "is_sched_function()" change too that I
> outlined in the previous email.

Yep Im agreeing with you :) But we also need to fix profile_pc() since
it wont handle the 2 deep _spin_lock -> __preempt_spin_lock. Should be
no problems, ill work on this.

Anton
-
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/