Message ID | 20221126213621.363838-2-deller@gmx.de (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [1/4] parisc: Fix locking in pdc_iodc_print() firmware call | expand |
diff --git a/arch/parisc/kernel/hpmc.S b/arch/parisc/kernel/hpmc.S index eb2e4bd67035..1dc85e963a17 100644 --- a/arch/parisc/kernel/hpmc.S +++ b/arch/parisc/kernel/hpmc.S @@ -44,15 +44,11 @@ */ .import toc_stack,data + .import iodc_dbuf,data #define hpmc_stack toc_stack /* re-use the TOC stack */ - +#define hpmc_iodc_buf iodc_dbuf /* re-use IODC buffer from firmware.c */ #define HPMC_IODC_BUF_SIZE 0x8000 - __PAGE_ALIGNED_BSS - .align 4096 -hpmc_iodc_buf: - .block HPMC_IODC_BUF_SIZE - .section .bss .align 8 hpmc_raddr:
The HPMC handler can share the IODC buffer with the various firmware calls. Signed-off-by: Helge Deller <deller@gmx.de> --- arch/parisc/kernel/hpmc.S | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) -- 2.38.1