X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsparc%2Fprom%2Fmisc.c;h=c840c206234225baf802f2e4e2a9e2aaeebb5f3f;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=5c7aa0c97f37b532310bf50febb873eecdb26ad0;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/sparc/prom/misc.c b/arch/sparc/prom/misc.c index 5c7aa0c97..c840c2062 100644 --- a/arch/sparc/prom/misc.c +++ b/arch/sparc/prom/misc.c @@ -16,7 +16,7 @@ extern void restore_current(void); -spinlock_t prom_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(prom_lock); /* Reset and reboot the machine with the command 'bcommand'. */ void