[PATCH 2/9] x86/dumpstack: Unexport oops_begin()
From: Borislav Petkov
Date: Thu Mar 15 2018 - 11:45:56 EST
From: Borislav Petkov <bp@xxxxxxx>
The only user outside of arch/ is not a module since
86cd47334b00 ("ACPI, APEI, GHES, Prevent GHES to be built as module")
No functional changes.
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
---
arch/x86/kernel/dumpstack.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/dumpstack.c b/arch/x86/kernel/dumpstack.c
index 593db796374d..579455c2b91e 100644
--- a/arch/x86/kernel/dumpstack.c
+++ b/arch/x86/kernel/dumpstack.c
@@ -268,7 +268,6 @@ unsigned long oops_begin(void)
bust_spinlocks(1);
return flags;
}
-EXPORT_SYMBOL_GPL(oops_begin);
NOKPROBE_SYMBOL(oops_begin);
void __noreturn rewind_stack_do_exit(int signr);
--
2.13.0