Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sections.h
Go to the documentation of this file.
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 <[email protected]>
7  */
8 
9 #include <linux/elf.h>
10 #include <linux/uaccess.h>
11 #include <asm-generic/sections.h>
12 
14 #ifdef CONFIG_SMP
15 extern char __cpu0_per_cpu[];
16 #endif
21 extern char __start_gate_section[];
26 extern char __start_unwind[], __end_unwind[];
27 extern char __start_ivt_text[], __end_ivt_text[];
28 
29 #undef dereference_function_descriptor
30 static 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 
40 
41 #endif /* _ASM_IA64_SECTIONS_H */
42