summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-04-12 18:12:00 +0300
committerToomas Soome <tsoome@me.com>2020-05-31 20:55:13 +0300
commit2a93e0bc6b60286283274376cae765bed0c59594 (patch)
tree2d7308499455dea5bd7e00efdce684b0fc76334b
parent60f7064656cca223eac2c6b527d51f6afb62a4ef (diff)
downloadillumos-joyent-2a93e0bc6b60286283274376cae765bed0c59594.tar.gz
12808 sun4u/unix: this 'if' clause does not guard
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
-rw-r--r--usr/src/uts/sun4/os/cpu_states.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/uts/sun4/os/cpu_states.c b/usr/src/uts/sun4/os/cpu_states.c
index 5c53df1182..44640b68af 100644
--- a/usr/src/uts/sun4/os/cpu_states.c
+++ b/usr/src/uts/sun4/os/cpu_states.c
@@ -185,11 +185,11 @@ abort_sequence_enter(char *msg)
*/
abort_seq_tstamp = 0LL;
mutex_exit(&abort_seq_lock);
- if (!on_intr && auditing)
- audit_enterprom(1);
+ if (!on_intr && auditing)
+ audit_enterprom(1);
(*abort_seq_handler)(msg);
- if (!on_intr && auditing)
- audit_exitprom(1);
+ if (!on_intr && auditing)
+ audit_exitprom(1);
}
} else {
if (auditing)