diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:53:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:53:26 -0400 |
commit | bdab225015fbbb45ccd8913f5d7c01b2bf67d8b2 (patch) | |
tree | 5ef62301face958977a084bf2b6c5300296a25f2 /arch/mn10300/lib/bitops.c | |
parent | 7c5814c7199851c5fe9395d08fc1ab3c8c1531ea (diff) | |
parent | 7c7fcf762e405eb040ee10d22d656a791f616122 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300
* git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-mn10300: (44 commits)
MN10300: Save frame pointer in thread_info struct rather than global var
MN10300: Change "Matsushita" to "Panasonic".
MN10300: Create a defconfig for the ASB2364 board
MN10300: Update the ASB2303 defconfig
MN10300: ASB2364: Add support for SMSC911X and SMC911X
MN10300: ASB2364: Handle the IRQ multiplexer in the FPGA
MN10300: Generic time support
MN10300: Specify an ELF HWCAP flag for MN10300 Atomic Operations Unit support
MN10300: Map userspace atomic op regs as a vmalloc page
MN10300: And Panasonic AM34 subarch and implement SMP
MN10300: Delete idle_timestamp from irq_cpustat_t
MN10300: Make various interrupt priority settings configurable
MN10300: Optimise do_csum()
MN10300: Implement atomic ops using atomic ops unit
MN10300: Make the FPU operate in non-lazy mode under SMP
MN10300: SMP TLB flushing
MN10300: Use the [ID]PTEL2 registers rather than [ID]PTEL for TLB control
MN10300: Make the use of PIDR to mark TLB entries controllable
MN10300: Rename __flush_tlb*() to local_flush_tlb*()
MN10300: AM34 erratum requires MMUCTR read and write on exception entry
...
Diffstat (limited to 'arch/mn10300/lib/bitops.c')
-rw-r--r-- | arch/mn10300/lib/bitops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mn10300/lib/bitops.c b/arch/mn10300/lib/bitops.c index 440a7dcbf87b..a66c6cdaf442 100644 --- a/arch/mn10300/lib/bitops.c +++ b/arch/mn10300/lib/bitops.c | |||
@@ -15,7 +15,7 @@ | |||
15 | /* | 15 | /* |
16 | * try flipping a bit using BSET and BCLR | 16 | * try flipping a bit using BSET and BCLR |
17 | */ | 17 | */ |
18 | void change_bit(int nr, volatile void *addr) | 18 | void change_bit(unsigned long nr, volatile void *addr) |
19 | { | 19 | { |
20 | if (test_bit(nr, addr)) | 20 | if (test_bit(nr, addr)) |
21 | goto try_clear_bit; | 21 | goto try_clear_bit; |
@@ -34,7 +34,7 @@ try_clear_bit: | |||
34 | /* | 34 | /* |
35 | * try flipping a bit using BSET and BCLR and returning the old value | 35 | * try flipping a bit using BSET and BCLR and returning the old value |
36 | */ | 36 | */ |
37 | int test_and_change_bit(int nr, volatile void *addr) | 37 | int test_and_change_bit(unsigned long nr, volatile void *addr) |
38 | { | 38 | { |
39 | if (test_bit(nr, addr)) | 39 | if (test_bit(nr, addr)) |
40 | goto try_clear_bit; | 40 | goto try_clear_bit; |