Skip to content

Commit c8f8d43

Browse files
geertustffrdhrn
authored andcommitted
openrisc: Fix misalignments in head.S
Align all line continuations and (sub)section headers in a consistent way. Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Stafford Horne <[email protected]>
1 parent a412f04 commit c8f8d43

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

arch/openrisc/kernel/head.S

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
#include <asm/asm-offsets.h>
2727
#include <linux/of_fdt.h>
2828

29-
#define tophys(rd,rs) \
30-
l.movhi rd,hi(-KERNELBASE) ;\
29+
#define tophys(rd,rs) \
30+
l.movhi rd,hi(-KERNELBASE) ;\
3131
l.add rd,rd,rs
3232

33-
#define CLEAR_GPR(gpr) \
33+
#define CLEAR_GPR(gpr) \
3434
l.movhi gpr,0x0
3535

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) ;\
3838
l.ori gpr,gpr,lo(symbol)
3939

4040

@@ -326,21 +326,21 @@
326326
l.addi r1,r1,-(INT_FRAME_SIZE) ;\
327327
/* r1 is KSP, r30 is __pa(KSP) */ ;\
328328
tophys (r30,r1) ;\
329-
l.sw PT_GPR12(r30),r12 ;\
329+
l.sw PT_GPR12(r30),r12 ;\
330330
l.mfspr r12,r0,SPR_EPCR_BASE ;\
331331
l.sw PT_PC(r30),r12 ;\
332332
l.mfspr r12,r0,SPR_ESR_BASE ;\
333333
l.sw PT_SR(r30),r12 ;\
334334
/* save r31 */ ;\
335335
EXCEPTION_T_LOAD_GPR30(r12) ;\
336-
l.sw PT_GPR30(r30),r12 ;\
336+
l.sw PT_GPR30(r30),r12 ;\
337337
/* save r10 as was prior to exception */ ;\
338338
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 */ ;\
341341
EXCEPTION_T_LOAD_SP(r12) ;\
342342
l.sw PT_SP(r30),r12 ;\
343-
l.sw PT_GPR13(r30),r13 ;\
343+
l.sw PT_GPR13(r30),r13 ;\
344344
/* --> */ ;\
345345
/* save exception r4, set r4 = EA */ ;\
346346
l.sw PT_GPR4(r30),r4 ;\
@@ -396,7 +396,7 @@ _dispatch_do_ipage_fault:
396396
.org 0x500
397397
EXCEPTION_HANDLE(_timer_handler)
398398

399-
/* ---[ 0x600: Alignment exception ]-------------------------------------- */
399+
/* ---[ 0x600: Alignment exception ]------------------------------------- */
400400
.org 0x600
401401
EXCEPTION_HANDLE(_alignment_handler)
402402

@@ -426,7 +426,7 @@ _dispatch_do_ipage_fault:
426426
.org 0xc00
427427
EXCEPTION_HANDLE(_sys_call_handler)
428428

429-
/* ---[ 0xd00: Floating point exception ]--------------------------------- */
429+
/* ---[ 0xd00: Floating point exception ]-------------------------------- */
430430
.org 0xd00
431431
EXCEPTION_HANDLE(_fpe_trap_handler)
432432

@@ -818,7 +818,7 @@ secondary_start:
818818

819819
#endif
820820

821-
/* ========================================[ cache ]=== */
821+
/* ==========================================================[ cache ]=== */
822822

823823
/* alignment here so we don't change memory offsets with
824824
* memory controller defined

0 commit comments

Comments
 (0)