Skip to content

Commit 4add395

Browse files
committed
parisc: Move pdc_result struct to firmware.c
Signed-off-by: Helge Deller <[email protected]>
1 parent 7dc4dbf commit 4add395

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

arch/parisc/kernel/firmware.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@
7474
static DEFINE_SPINLOCK(pdc_lock);
7575
#endif
7676

77-
extern unsigned long pdc_result[NUM_PDC_RESULT];
78-
extern unsigned long pdc_result2[NUM_PDC_RESULT];
77+
unsigned long pdc_result[NUM_PDC_RESULT] __aligned(8);
78+
unsigned long pdc_result2[NUM_PDC_RESULT] __aligned(8);
7979

8080
#ifdef CONFIG_64BIT
8181
#define WIDE_FIRMWARE 0x1

arch/parisc/kernel/real2.S

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,15 @@
1515

1616
#include <linux/linkage.h>
1717

18-
19-
.section .bss
20-
21-
.export pdc_result
22-
.export pdc_result2
23-
.align 8
24-
pdc_result:
25-
.block ASM_PDC_RESULT_SIZE
26-
pdc_result2:
27-
.block ASM_PDC_RESULT_SIZE
28-
2918
.export real_stack
30-
.export real32_stack
3119
.export real64_stack
32-
.align 64
20+
__PAGE_ALIGNED_BSS
3321
real_stack:
34-
real32_stack:
3522
real64_stack:
3623
.block 8192
3724

3825
#define N_SAVED_REGS 9
39-
26+
.section .bss
4027
save_cr_space:
4128
.block REG_SZ * N_SAVED_REGS
4229
save_cr_end:

0 commit comments

Comments
 (0)