diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-01-13 15:40:31 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-01-13 15:41:32 -0600 |
commit | 85dbf520f88b645739b77a2c6013c584712da046 (patch) | |
tree | c461be67e3c91c7c7817d7041b414bd880a72551 /c | |
parent | bsp/qoriq: Add T2080RDB and T4240RDB variants (diff) | |
download | rtems-85dbf520f88b645739b77a2c6013c584712da046.tar.bz2 |
libcpu/powerpc/mpc6xx/mmu/bat.c: Now compiles with gcc 5.x
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c index 8b991d3b85..c848f4cf56 100644 --- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c +++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.c @@ -52,20 +52,20 @@ static unsigned bat_in_use[2] = { 0, 0 }; /* define a few macros */ #define CLRBAT_ASM(batu,r) \ - " sync \n" \ - " isync \n" \ - " li "#r", 0 \n" \ - " mtspr "#batu", "#r"\n" \ - " sync \n" \ - " isync \n" + " sync \n" \ + " isync \n" \ + " li "#r ", 0 \n" \ + " mtspr "#batu ", "#r "\n" \ + " sync \n" \ + " isync \n" #define SETBAT_ASM(batu, batl, u, l)\ - " mtspr "#batl", "#l" \n" \ - " sync \n" \ - " isync \n" \ - " mtspr "#batu", "#u" \n" \ - " sync \n" \ - " isync \n" + " mtspr "#batl ", "#l " \n" \ + " sync \n" \ + " isync \n" \ + " mtspr "#batu ", "#u " \n" \ + " sync \n" \ + " isync \n" #define CLRBAT(bat) \ asm volatile( \ |