diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-08-01 06:23:57 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-08-01 06:23:57 -0400 |
commit | 440fdb53b4ae58602711b5b8c3a139ace2404dbb (patch) | |
tree | c6fb88d6ad537ec53aeecadc75a61ab6147d4c9c /include/asm-m68knommu/system.h | |
parent | 8b2b403ce0f1a816b7a6a4f47c8798003b26c07a (diff) | |
parent | 8d4fbcfbe0a4bfc73e7f0297c59ae514e1f1436f (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/asm-m68knommu/system.h')
-rw-r--r-- | include/asm-m68knommu/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-m68knommu/system.h b/include/asm-m68knommu/system.h index 5e5ed18bb78f..5da43a5d12a3 100644 --- a/include/asm-m68knommu/system.h +++ b/include/asm-m68knommu/system.h | |||
@@ -296,7 +296,7 @@ cmpxchg(volatile int *p, int old, int new) | |||
296 | ({ \ | 296 | ({ \ |
297 | unsigned char volatile *reset; \ | 297 | unsigned char volatile *reset; \ |
298 | asm("move.w #0x2700, %sr"); \ | 298 | asm("move.w #0x2700, %sr"); \ |
299 | reset = ((volatile unsigned short *)(MCF_IPSBAR + 0x110000)); \ | 299 | reset = ((volatile unsigned char *)(MCF_IPSBAR + 0x110000)); \ |
300 | while(1) \ | 300 | while(1) \ |
301 | *reset |= (0x01 << 7);\ | 301 | *reset |= (0x01 << 7);\ |
302 | }) | 302 | }) |
@@ -318,7 +318,7 @@ cmpxchg(volatile int *p, int old, int new) | |||
318 | ({ \ | 318 | ({ \ |
319 | unsigned char volatile *reset; \ | 319 | unsigned char volatile *reset; \ |
320 | asm("move.w #0x2700, %sr"); \ | 320 | asm("move.w #0x2700, %sr"); \ |
321 | reset = ((volatile unsigned short *)(MCF_IPSBAR + 0xA0000)); \ | 321 | reset = ((volatile unsigned char *)(MCF_IPSBAR + 0xA0000)); \ |
322 | while(1) \ | 322 | while(1) \ |
323 | *reset |= 0x80; \ | 323 | *reset |= 0x80; \ |
324 | }) | 324 | }) |