[PATCH 2/4] parisc: Merge hpmc_iodc_buf and iodc_dbuf buffers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The HPMC handler can share the IODC buffer with the various firmware
calls.

Signed-off-by: Helge Deller <deller@xxxxxx>
---
 arch/parisc/kernel/hpmc.S | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

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:
--
2.38.1




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux