This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / m32r / kernel / sys_m32r.c
index 435619e..f34fa19 100644 (file)
@@ -57,10 +57,10 @@ asmlinkage int sys_tas(int *addr)
        if (!access_ok(VERIFY_WRITE, addr, sizeof (int)))
                return -EFAULT;
 
-       _raw_spin_lock(&tas_lock);
+       spin_lock(&tas_lock);
        oldval = *addr;
        *addr = 1;
-       _raw_spin_unlock(&tas_lock);
+       spin_unlock(&tas_lock);
 
        return oldval;
 }