b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef _PARISC_SECTIONS_H |
| 3 | #define _PARISC_SECTIONS_H |
| 4 | |
| 5 | /* nothing to see, move along */ |
| 6 | #include <asm-generic/sections.h> |
| 7 | |
| 8 | extern char __alt_instructions[], __alt_instructions_end[]; |
| 9 | |
| 10 | #ifdef CONFIG_64BIT |
| 11 | |
| 12 | #define HAVE_DEREFERENCE_FUNCTION_DESCRIPTOR 1 |
| 13 | |
| 14 | #undef dereference_function_descriptor |
| 15 | void *dereference_function_descriptor(void *); |
| 16 | |
| 17 | #undef dereference_kernel_function_descriptor |
| 18 | void *dereference_kernel_function_descriptor(void *); |
| 19 | #endif |
| 20 | |
| 21 | #endif |