4 #include <linux/list.h>
21 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
22 static inline int __in_irqentry_text(
unsigned long ptr)
24 extern char __irqentry_text_start[];
25 extern char __irqentry_text_end[];
27 return ptr >= (
unsigned long)&__irqentry_text_start &&
28 ptr < (
unsigned long)&__irqentry_text_end;
31 static inline int __in_irqentry_text(
unsigned long ptr)
37 static inline int in_exception_text(
unsigned long ptr)
39 extern char __exception_text_start[];
40 extern char __exception_text_end[];
43 in = ptr >= (
unsigned long)&__exception_text_start &&
44 ptr < (
unsigned long)&__exception_text_end;
46 return in ? : __in_irqentry_text(ptr);