]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
m68k: switch to using the asm-generic spinlock.h
authorGreg Ungerer <gerg@uclinux.org>
Mon, 15 Oct 2012 05:29:49 +0000 (15:29 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 22 Oct 2012 01:27:17 +0000 (11:27 +1000)
We don't need a local spinlock.h, switch to using the asm-generic version.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/Kbuild
arch/m68k/include/asm/spinlock.h [deleted file]

index 19f59dcf4c02cfdfbe55352e19ce14ab4daba89f..c770aec2fbd7c6f9026f84c13d86e1c73a2232ac 100644 (file)
@@ -30,6 +30,7 @@ generic-y += sembuf.h
 generic-y += shmbuf.h
 generic-y += shmparam.h
 generic-y += siginfo.h
+generic-y += spinlock.h
 generic-y += statfs.h
 generic-y += topology.h
 generic-y += types.h
diff --git a/arch/m68k/include/asm/spinlock.h b/arch/m68k/include/asm/spinlock.h
deleted file mode 100644 (file)
index 20f46e2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __M68K_SPINLOCK_H
-#define __M68K_SPINLOCK_H
-
-#error "m68k doesn't do SMP yet"
-
-#endif