| .. | .. |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * lib/bust_spinlocks.c |
|---|
| 4 | 4 | * |
|---|
| 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. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * bust_spinlocks() clears any spinlocks which would prevent oops, die(), BUG() |
|---|
| 8 | 9 | * and panic() information from reaching the user. |
|---|
| .. | .. |
|---|
| 16 | 17 | #include <linux/vt_kern.h> |
|---|
| 17 | 18 | #include <linux/console.h> |
|---|
| 18 | 19 | |
|---|
| 19 | | - |
|---|
| 20 | | -void __attribute__((weak)) bust_spinlocks(int yes) |
|---|
| 20 | +void bust_spinlocks(int yes) |
|---|
| 21 | 21 | { |
|---|
| 22 | 22 | if (yes) { |
|---|
| 23 | 23 | ++oops_in_progress; |
|---|