Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
[deliverable/linux.git] / arch / ia64 / include / asm / sections.h
CommitLineData
1da177e4
LT
1#ifndef _ASM_IA64_SECTIONS_H
2#define _ASM_IA64_SECTIONS_H
3
4/*
5 * Copyright (C) 1998-2003 Hewlett-Packard Co
6 * David Mosberger-Tang <davidm@hpl.hp.com>
7 */
8
4611a771
JB
9#include <linux/elf.h>
10#include <linux/uaccess.h>
1da177e4
LT
11#include <asm-generic/sections.h>
12
4c6327df 13extern char __phys_per_cpu_start[];
c459ce8b
TL
14#ifdef CONFIG_SMP
15extern char __cpu0_per_cpu[];
16#endif
1da177e4 17extern char __start___vtop_patchlist[], __end___vtop_patchlist[];
4dcc29e1 18extern char __start___rse_patchlist[], __end___rse_patchlist[];
1da177e4 19extern char __start___mckinley_e9_bundles[], __end___mckinley_e9_bundles[];
a0776ec8 20extern char __start___phys_stack_reg_patchlist[], __end___phys_stack_reg_patchlist[];
1da177e4
LT
21extern char __start_gate_section[];
22extern char __start_gate_mckinley_e9_patchlist[], __end_gate_mckinley_e9_patchlist[];
23extern char __start_gate_vtop_patchlist[], __end_gate_vtop_patchlist[];
24extern char __start_gate_fsyscall_patchlist[], __end_gate_fsyscall_patchlist[];
25extern char __start_gate_brl_fsys_bubble_down_patchlist[], __end_gate_brl_fsys_bubble_down_patchlist[];
26extern char __start_unwind[], __end_unwind[];
c7b645f9 27extern char __start_ivt_text[], __end_ivt_text[];
1da177e4 28
deac93df 29#undef dereference_function_descriptor
4611a771
JB
30static inline void *dereference_function_descriptor(void *ptr)
31{
32 struct fdesc *desc = ptr;
33 void *p;
34
35 if (!probe_kernel_address(&desc->ip, p))
36 ptr = p;
37 return ptr;
38}
39
deac93df 40
1da177e4
LT
41#endif /* _ASM_IA64_SECTIONS_H */
42
This page took 0.763986 seconds and 5 git commands to generate.