1 #ifndef _ASM_IA64_SECTIONS_H
2 #define _ASM_IA64_SECTIONS_H
5 * Copyright (C) 1998-2003 Hewlett-Packard Co
6 * David Mosberger-Tang <davidm@hpl.hp.com>
10 #include <linux/uaccess.h>
11 #include <asm-generic/sections.h>
13 extern char __per_cpu_start
[], __per_cpu_end
[], __phys_per_cpu_start
[];
15 extern char __cpu0_per_cpu
[];
17 extern char __start___vtop_patchlist
[], __end___vtop_patchlist
[];
18 extern char __start___rse_patchlist
[], __end___rse_patchlist
[];
19 extern char __start___mckinley_e9_bundles
[], __end___mckinley_e9_bundles
[];
20 extern char __start___phys_stack_reg_patchlist
[], __end___phys_stack_reg_patchlist
[];
21 extern char __start_gate_section
[];
22 extern char __start_gate_mckinley_e9_patchlist
[], __end_gate_mckinley_e9_patchlist
[];
23 extern char __start_gate_vtop_patchlist
[], __end_gate_vtop_patchlist
[];
24 extern char __start_gate_fsyscall_patchlist
[], __end_gate_fsyscall_patchlist
[];
25 extern char __start_gate_brl_fsys_bubble_down_patchlist
[], __end_gate_brl_fsys_bubble_down_patchlist
[];
26 extern char __start_unwind
[], __end_unwind
[];
27 extern char __start_ivt_text
[], __end_ivt_text
[];
29 #undef dereference_function_descriptor
30 static inline void *dereference_function_descriptor(void *ptr
)
32 struct fdesc
*desc
= ptr
;
35 if (!probe_kernel_address(&desc
->ip
, p
))
41 #endif /* _ASM_IA64_SECTIONS_H */