hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/lib/bust_spinlocks.c
....@@ -2,7 +2,8 @@
22 /*
33 * lib/bust_spinlocks.c
44 *
5
- * Provides a minimal bust_spinlocks for architectures which don't have one of their own.
5
+ * Provides a minimal bust_spinlocks for architectures which don't
6
+ * have one of their own.
67 *
78 * bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG()
89 * and panic() information from reaching the user.
....@@ -16,8 +17,7 @@
1617 #include <linux/vt_kern.h>
1718 #include <linux/console.h>
1819
19
-
20
-void __attribute__((weak)) bust_spinlocks(int yes)
20
+void bust_spinlocks(int yes)
2121 {
2222 if (yes) {
2323 ++oops_in_progress;