diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-08-15 18:29:38 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-10 03:08:53 -0400 |
commit | ab7476cf76e560f0efda2a631a70aabe93009025 (patch) | |
tree | d4e843760774d7099692950a6ac49ccdbc8b0d55 /include/linux/kernel.h | |
parent | fb822db465bd9fd4208eef1af4490539b236c54e (diff) |
debug: add notifier chain debugging, v2
- unbreak ia64 (and powerpc) where function pointers dont
point at code but at data (reported by Tony Luck)
[ mingo@elte.hu: various cleanups ]
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 2651f805ba6d..4e1366b552ae 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -187,6 +187,9 @@ extern unsigned long long memparse(char *ptr, char **retptr); | |||
187 | extern int core_kernel_text(unsigned long addr); | 187 | extern int core_kernel_text(unsigned long addr); |
188 | extern int __kernel_text_address(unsigned long addr); | 188 | extern int __kernel_text_address(unsigned long addr); |
189 | extern int kernel_text_address(unsigned long addr); | 189 | extern int kernel_text_address(unsigned long addr); |
190 | extern int func_ptr_is_kernel_text(void *ptr); | ||
191 | extern void *dereference_function_descriptor(void *ptr); | ||
192 | |||
190 | struct pid; | 193 | struct pid; |
191 | extern struct pid *session_of_pgrp(struct pid *pgrp); | 194 | extern struct pid *session_of_pgrp(struct pid *pgrp); |
192 | 195 | ||