xref: /linux/arch/parisc/include/asm/sections.h (revision 0dc690e4ef5b901e9d4b53520854fbd5c749e09d)
1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2deae26bfSKyle McMartin #ifndef _PARISC_SECTIONS_H
3deae26bfSKyle McMartin #define _PARISC_SECTIONS_H
4deae26bfSKyle McMartin 
5*0dc690e4SChristophe Leroy #ifdef CONFIG_HAVE_FUNCTION_DESCRIPTORS
6*0dc690e4SChristophe Leroy #include <asm/elf.h>
7*0dc690e4SChristophe Leroy typedef Elf64_Fdesc func_desc_t;
8*0dc690e4SChristophe Leroy #endif
9*0dc690e4SChristophe Leroy 
10deae26bfSKyle McMartin /* nothing to see, move along */
11deae26bfSKyle McMartin #include <asm-generic/sections.h>
12deae26bfSKyle McMartin 
133847dab7SHelge Deller extern char __alt_instructions[], __alt_instructions_end[];
143847dab7SHelge Deller 
15deae26bfSKyle McMartin #ifdef CONFIG_64BIT
161705bd6aSSergey Senozhatsky 
17deae26bfSKyle McMartin #undef dereference_function_descriptor
18deae26bfSKyle McMartin void *dereference_function_descriptor(void *);
191705bd6aSSergey Senozhatsky 
201705bd6aSSergey Senozhatsky #undef dereference_kernel_function_descriptor
211705bd6aSSergey Senozhatsky void *dereference_kernel_function_descriptor(void *);
22deae26bfSKyle McMartin #endif
23deae26bfSKyle McMartin 
24deae26bfSKyle McMartin #endif
25