Re: [PATCH 8/8] parisc: Reduce size of __bug_table[] on 64-bit kernel by half

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

 



On 11/30/23 18:30, Guenter Roeck wrote:
On Fri, Nov 24, 2023 at 03:41:13PM +0100, deller@xxxxxxxxxx wrote:
From: Helge Deller <deller@xxxxxx>

Enable GENERIC_BUG_RELATIVE_POINTERS which will store 32-bit relative
offsets to the bug address and the source file name instead of 64-bit
absolute addresses. This effectively reduces the size of the
__bug_table[] array by half on 64-bit kernels.

Signed-off-by: Helge Deller <deller@xxxxxx>

With this patch in mainline, parisc:tinyconfig fails to build.

ecurity/commoncap.c: In function 'cap_capset':
arch/parisc/include/asm/bug.h:71:17: error: invalid 'asm': operand number out of range
    71 |                 asm volatile("\n"                                       \
       |                 ^~~

and many similar errors. Bisect log attached.

Yes, problem was reported already and fix is in my for-next git tree:

https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?h=for-next&id=487635756198cad563feb47539c6a37ea57f1dae

Thanks!
Helge





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

  Powered by Linux