Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [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 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 8 | extern char __alt_instructions[], __alt_instructions_end[]; |
| 9 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 |