diff options
| author | Helge Deller <[email protected]> | 2024-01-31 12:37:25 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2024-01-31 12:51:26 +0000 |
| commit | 913b9d443a0180cf0de3548f1ab3149378998486 (patch) | |
| tree | 3e5055a7ed0f34f9b3350162ae968da5865d4c9d /include/net/af_unix.h | |
| parent | parisc: Fix random data corruption from exception handler (diff) | |
| download | kernel-913b9d443a0180cf0de3548f1ab3149378998486.tar.gz kernel-913b9d443a0180cf0de3548f1ab3149378998486.zip | |
parisc: BTLB: Fix crash when setting up BTLB at CPU bringup
When using hotplug and bringing up a 32-bit CPU, ask the firmware about the
BTLB information to set up the static (block) TLB entries.
For that write access to the static btlb_info struct is needed, but
since it is marked __ro_after_init the kernel segfaults with missing
write permissions.
Fix the crash by dropping the __ro_after_init annotation.
Fixes: e5ef93d02d6c ("parisc: BTLB: Initialize BTLB tables at CPU startup")
Signed-off-by: Helge Deller <[email protected]>
Cc: <[email protected]> # v6.6+
Diffstat (limited to 'include/net/af_unix.h')
0 files changed, 0 insertions, 0 deletions
