taint: add explicit flag to show whether lock dep is still OK.
Fix up all callers as they were before, with make one change: an unsigned module taints the kernel, but doesn't turn off lockdep. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -2006,7 +2006,7 @@ static int proc_taint(struct ctl_table *table, int write,
|
||||
int i;
|
||||
for (i = 0; i < BITS_PER_LONG && tmptaint >> i; i++) {
|
||||
if ((tmptaint >> i) & 1)
|
||||
add_taint(i);
|
||||
add_taint(i, LOCKDEP_STILL_OK);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user