|
@@ -5,7 +5,6 @@
|
|
|
#include <asm/unwind.h>
|
|
|
#include <asm/orc_types.h>
|
|
|
#include <asm/orc_lookup.h>
|
|
|
-#include <asm/sections.h>
|
|
|
|
|
|
#define orc_warn(fmt, ...) \
|
|
|
printk_deferred_once(KERN_WARNING pr_fmt("WARNING: " fmt), ##__VA_ARGS__)
|
|
@@ -148,7 +147,7 @@ static struct orc_entry *orc_find(unsigned long ip)
|
|
|
}
|
|
|
|
|
|
/* vmlinux .init slow lookup: */
|
|
|
- if (ip >= (unsigned long)_sinittext && ip < (unsigned long)_einittext)
|
|
|
+ if (init_kernel_text(ip))
|
|
|
return __orc_find(__start_orc_unwind_ip, __start_orc_unwind,
|
|
|
__stop_orc_unwind_ip - __start_orc_unwind_ip, ip);
|
|
|
|