parisc: Re-use toc_stack as hpmc_stack

No need to have an own hpmc_stack. Just re-use the toc_stack of the
monarch CPU as either a TOC or a HPMC will happen at the same time.
This reduces the kernel memory footprint by 16k.

Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Helge Deller 2022-01-07 14:16:26 +01:00
parent d6ab9fc745
commit e486288d11

View file

@ -43,10 +43,8 @@
* IODC requires 7K byte stack. That leaves 1K byte for os_hpmc. * IODC requires 7K byte stack. That leaves 1K byte for os_hpmc.
*/ */
__PAGE_ALIGNED_BSS .import toc_stack,data
.align 4096 #define hpmc_stack toc_stack /* re-use the TOC stack */
hpmc_stack:
.block 16384
#define HPMC_IODC_BUF_SIZE 0x8000 #define HPMC_IODC_BUF_SIZE 0x8000