aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/extable.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/extable.c')
-rw-r--r--kernel/extable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/extable.c b/kernel/extable.c
index c46da6a47036..81e99d1f0d5b 100644
--- a/kernel/extable.c
+++ b/kernel/extable.c
@@ -65,7 +65,7 @@ __notrace_funcgraph int __kernel_text_address(unsigned long addr)
65{ 65{
66 if (core_kernel_text(addr)) 66 if (core_kernel_text(addr))
67 return 1; 67 return 1;
68 if (__module_text_address(addr)) 68 if (is_module_text_address(addr))
69 return 1; 69 return 1;
70 /* 70 /*
71 * There might be init symbols in saved stacktraces. 71 * There might be init symbols in saved stacktraces.
@@ -84,7 +84,7 @@ int kernel_text_address(unsigned long addr)
84{ 84{
85 if (core_kernel_text(addr)) 85 if (core_kernel_text(addr))
86 return 1; 86 return 1;
87 return module_text_address(addr) != NULL; 87 return is_module_text_address(addr);
88} 88}
89 89
90/* 90/*
@@ -100,5 +100,5 @@ int func_ptr_is_kernel_text(void *ptr)
100 addr = (unsigned long) dereference_function_descriptor(ptr); 100 addr = (unsigned long) dereference_function_descriptor(ptr);
101 if (core_kernel_text(addr)) 101 if (core_kernel_text(addr))
102 return 1; 102 return 1;
103 return module_text_address(addr) != NULL; 103 return is_module_text_address(addr);
104} 104}