diff options
author | Wolfgang Denk <wd@denx.de> | 2007-12-27 01:52:50 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-12-27 01:52:50 +0100 |
commit | 61fb15c516fef5631e305f1976d7b3a679725856 (patch) | |
tree | 3b3e66c90349f1b5df7c2a05dd47c11f42eb58bd /cpu/sh4/cache.c | |
parent | 6e1bbe6e3edf5f508de89114577ce7b7caa89c8a (diff) | |
download | u-boot-imx-61fb15c516fef5631e305f1976d7b3a679725856.zip u-boot-imx-61fb15c516fef5631e305f1976d7b3a679725856.tar.gz u-boot-imx-61fb15c516fef5631e305f1976d7b3a679725856.tar.bz2 |
Fix coding style issues; update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'cpu/sh4/cache.c')
-rw-r--r-- | cpu/sh4/cache.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/cpu/sh4/cache.c b/cpu/sh4/cache.c index 55acb31..4e744d7 100644 --- a/cpu/sh4/cache.c +++ b/cpu/sh4/cache.c @@ -30,36 +30,36 @@ * Jump to P2 area. * When handling TLB or caches, we need to do it from P2 area. */ -#define jump_to_P2() \ - do { \ +#define jump_to_P2() \ + do { \ unsigned long __dummy; \ - __asm__ __volatile__( \ - "mov.l 1f, %0\n\t" \ - "or %1, %0\n\t" \ - "jmp @%0\n\t" \ - " nop\n\t" \ - ".balign 4\n" \ - "1: .long 2f\n" \ - "2:" \ - : "=&r" (__dummy) \ - : "r" (0x20000000)); \ + __asm__ __volatile__( \ + "mov.l 1f, %0\n\t" \ + "or %1, %0\n\t" \ + "jmp @%0\n\t" \ + " nop\n\t" \ + ".balign 4\n" \ + "1: .long 2f\n" \ + "2:" \ + : "=&r" (__dummy) \ + : "r" (0x20000000)); \ } while (0) /* * Back to P1 area. */ -#define back_to_P1() \ - do { \ - unsigned long __dummy; \ - __asm__ __volatile__( \ - "nop;nop;nop;nop;nop;nop;nop\n\t" \ - "mov.l 1f, %0\n\t" \ - "jmp @%0\n\t" \ - " nop\n\t" \ - ".balign 4\n" \ - "1: .long 2f\n" \ - "2:" \ - : "=&r" (__dummy)); \ +#define back_to_P1() \ + do { \ + unsigned long __dummy; \ + __asm__ __volatile__( \ + "nop;nop;nop;nop;nop;nop;nop\n\t" \ + "mov.l 1f, %0\n\t" \ + "jmp @%0\n\t" \ + " nop\n\t" \ + ".balign 4\n" \ + "1: .long 2f\n" \ + "2:" \ + : "=&r" (__dummy)); \ } while (0) #define CACHE_VALID 1 |