18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _PARISC_SECTIONS_H 38c2ecf20Sopenharmony_ci#define _PARISC_SECTIONS_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* nothing to see, move along */ 68c2ecf20Sopenharmony_ci#include <asm-generic/sections.h> 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciextern char __alt_instructions[], __alt_instructions_end[]; 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#ifdef CONFIG_64BIT 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define HAVE_DEREFERENCE_FUNCTION_DESCRIPTOR 1 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#undef dereference_function_descriptor 158c2ecf20Sopenharmony_civoid *dereference_function_descriptor(void *); 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#undef dereference_kernel_function_descriptor 188c2ecf20Sopenharmony_civoid *dereference_kernel_function_descriptor(void *); 198c2ecf20Sopenharmony_ci#endif 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#endif 22