Add a Kconfig knob that enables the lockdep "crossrelease_fullstack" boot parameter.
Showing the changes to kernel/locking (1 of 2 files). Show all
Unified · Split
| @@ -76,7 +76,11 @@ module_param(lock_stat, int, 0644); · 75 unmodified lines | ||
| 76 | 76 | #define lock_stat 0 |
| 77 | 77 | #endif |
| 78 | 78 | |
| 79 | +#ifdef CONFIG_BOOTPARAM_LOCKDEP_CROSSRELEASE_FULLSTACK | |
| 80 | +static int crossrelease_fullstack = 1; | |
| 81 | +#else | |
| 79 | 82 | static int crossrelease_fullstack; |
| 83 | +#endif | |
| 80 | 84 | static int __init allow_crossrelease_fullstack(char *str) |
| 81 | 85 | { |
| 82 | 86 | crossrelease_fullstack = 1; |