author: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> 2018-10-25 16:05:43 +0900
committer: Martin Schwidefsky <schwidefsky@de.ibm.com> 2018-11-30 07:22:05 +0100
commit: 5b39fc049ce1232a56628408058ae04f353ac705
parent: be534791011100d204602e2e0496e9e6ce8edf63
Commit Summary:
Diffstat:
1 file changed, 3 insertions, 2 deletions
diff --git a/lib/bust_spinlocks.c b/lib/bust_spinlocks.c
index ab719495e2cb..8be59f84eaea 100644
--- a/lib/bust_spinlocks.c
+++ b/lib/bust_spinlocks.c
@@ -2,7 +2,8 @@
/*
* lib/bust_spinlocks.c
*
- * Provides a minimal bust_spinlocks for architectures which don't have one of their own.
+ * Provides a minimal bust_spinlocks for architectures which don't
+ * have one of their own.
*
* bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG()
* and panic() information from reaching the user.
@@ -16,8 +17,7 @@
#include <linux/vt_kern.h>
#include <linux/console.h>
-
-void __attribute__((weak)) bust_spinlocks(int yes)
+void bust_spinlocks(int yes)
{
if (yes) {
++oops_in_progress;