No. Freeze uses kernel threads not smp_call_function. So it would have
to be
CPU1 CPU2
rmmod spin_lock(&card->lock);
schedule();
spin on freeze
scheduling with a spinlock held is usually a bug.
Philipp
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/