|
26 | 26 | #include <asm/asm-offsets.h> |
27 | 27 | #include <linux/of_fdt.h> |
28 | 28 |
|
29 | | -#define tophys(rd,rs) \ |
30 | | - l.movhi rd,hi(-KERNELBASE) ;\ |
| 29 | +#define tophys(rd,rs) \ |
| 30 | + l.movhi rd,hi(-KERNELBASE) ;\ |
31 | 31 | l.add rd,rd,rs |
32 | 32 |
|
33 | | -#define CLEAR_GPR(gpr) \ |
| 33 | +#define CLEAR_GPR(gpr) \ |
34 | 34 | l.movhi gpr,0x0 |
35 | 35 |
|
36 | | -#define LOAD_SYMBOL_2_GPR(gpr,symbol) \ |
37 | | - l.movhi gpr,hi(symbol) ;\ |
| 36 | +#define LOAD_SYMBOL_2_GPR(gpr,symbol) \ |
| 37 | + l.movhi gpr,hi(symbol) ;\ |
38 | 38 | l.ori gpr,gpr,lo(symbol) |
39 | 39 |
|
40 | 40 |
|
|
326 | 326 | l.addi r1,r1,-(INT_FRAME_SIZE) ;\ |
327 | 327 | /* r1 is KSP, r30 is __pa(KSP) */ ;\ |
328 | 328 | tophys (r30,r1) ;\ |
329 | | - l.sw PT_GPR12(r30),r12 ;\ |
| 329 | + l.sw PT_GPR12(r30),r12 ;\ |
330 | 330 | l.mfspr r12,r0,SPR_EPCR_BASE ;\ |
331 | 331 | l.sw PT_PC(r30),r12 ;\ |
332 | 332 | l.mfspr r12,r0,SPR_ESR_BASE ;\ |
333 | 333 | l.sw PT_SR(r30),r12 ;\ |
334 | 334 | /* save r31 */ ;\ |
335 | 335 | EXCEPTION_T_LOAD_GPR30(r12) ;\ |
336 | | - l.sw PT_GPR30(r30),r12 ;\ |
| 336 | + l.sw PT_GPR30(r30),r12 ;\ |
337 | 337 | /* save r10 as was prior to exception */ ;\ |
338 | 338 | EXCEPTION_T_LOAD_GPR10(r12) ;\ |
339 | | - l.sw PT_GPR10(r30),r12 ;\ |
340 | | - /* save PT_SP as was prior to exception */ ;\ |
| 339 | + l.sw PT_GPR10(r30),r12 ;\ |
| 340 | + /* save PT_SP as was prior to exception */ ;\ |
341 | 341 | EXCEPTION_T_LOAD_SP(r12) ;\ |
342 | 342 | l.sw PT_SP(r30),r12 ;\ |
343 | | - l.sw PT_GPR13(r30),r13 ;\ |
| 343 | + l.sw PT_GPR13(r30),r13 ;\ |
344 | 344 | /* --> */ ;\ |
345 | 345 | /* save exception r4, set r4 = EA */ ;\ |
346 | 346 | l.sw PT_GPR4(r30),r4 ;\ |
@@ -396,7 +396,7 @@ _dispatch_do_ipage_fault: |
396 | 396 | .org 0x500 |
397 | 397 | EXCEPTION_HANDLE(_timer_handler) |
398 | 398 |
|
399 | | -/* ---[ 0x600: Alignment exception ]-------------------------------------- */ |
| 399 | +/* ---[ 0x600: Alignment exception ]------------------------------------- */ |
400 | 400 | .org 0x600 |
401 | 401 | EXCEPTION_HANDLE(_alignment_handler) |
402 | 402 |
|
@@ -426,7 +426,7 @@ _dispatch_do_ipage_fault: |
426 | 426 | .org 0xc00 |
427 | 427 | EXCEPTION_HANDLE(_sys_call_handler) |
428 | 428 |
|
429 | | -/* ---[ 0xd00: Floating point exception ]--------------------------------- */ |
| 429 | +/* ---[ 0xd00: Floating point exception ]-------------------------------- */ |
430 | 430 | .org 0xd00 |
431 | 431 | EXCEPTION_HANDLE(_fpe_trap_handler) |
432 | 432 |
|
@@ -818,7 +818,7 @@ secondary_start: |
818 | 818 |
|
819 | 819 | #endif |
820 | 820 |
|
821 | | -/* ========================================[ cache ]=== */ |
| 821 | +/* ==========================================================[ cache ]=== */ |
822 | 822 |
|
823 | 823 | /* alignment here so we don't change memory offsets with |
824 | 824 | * memory controller defined |
|
0 commit comments