]> git.neil.brown.name Git - history.git/commit
[PATCH] m32r: build fix for SMP kernel
authorHirokazu Takata <takata@linux-m32r.org>
Thu, 17 Feb 2005 02:07:53 +0000 (18:07 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 17 Feb 2005 02:07:53 +0000 (18:07 -0800)
commit13e582f1287a8fbd34a712ad0b0cd47823707be3
tree9e30ed9ba60bc505aca9ca0f6f8d5f1c9516c56b
parent97a4e84bcf23b6383f485bfe0b81252bbac31a33
[PATCH] m32r: build fix for SMP kernel

Here is a patch to fix compile errors of 2.6.11-rc4 for the m32r SMP
kernel.

 * include/asm-m32r/spinlock.h:
- Add read_can_lock() and write_can_lock() to fix build errors for SMP.
- Rename 'lock' to 'slock'. (cf. Changesets 1.1966.85.1)

 * arch/m32r/kernel/smp.c:
- Rename 'lock' to 'slock'. (cf. Changesets 1.1966.85.1)

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m32r/kernel/smp.c
include/asm-m32r/spinlock.h