diff options
author | bz <bz@FreeBSD.org> | 2008-05-24 19:29:02 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-05-24 19:29:02 +0000 |
commit | 91ff240d1ef2fd68744dd420b04d4d3bb5fea416 (patch) | |
tree | def0cc78f55cd6cfbd96d0da1d94cd989e2e92ea /sys/i386 | |
parent | c7242d199fa0d46f7095b08318ccd1edff3af693 (diff) | |
download | FreeBSD-src-91ff240d1ef2fd68744dd420b04d4d3bb5fea416.zip FreeBSD-src-91ff240d1ef2fd68744dd420b04d4d3bb5fea416.tar.gz |
Restore buildable state. Style ignored.
Leave IDTVEC(ill) where it was unless we compile with KDTRACE_HOOKS[1].
Hide the with DTRACE case case under #ifdef KDTRACE_HOOKS.
Suggested by: attilio [1]
Reviewed by: attilio
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/exception.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/i386/i386/exception.s b/sys/i386/i386/exception.s index 9fce236..1099042 100644 --- a/sys/i386/i386/exception.s +++ b/sys/i386/i386/exception.s @@ -112,6 +112,10 @@ IDTVEC(ofl) pushl $0; TRAP(T_OFLOW) IDTVEC(bnd) pushl $0; TRAP(T_BOUND) +#ifndef KDTRACE_HOOKS +IDTVEC(ill) + pushl $0; TRAP(T_PRIVINFLT) +#endif IDTVEC(dna) pushl $0; TRAP(T_DNA) IDTVEC(fpusegm) @@ -170,6 +174,7 @@ calltrap: /* * Privileged instruction fault. */ +#ifdef KDTRACE_HOOKS SUPERALIGN_TEXT IDTVEC(ill) /* Check if there is no DTrace hook registered. */ @@ -203,6 +208,7 @@ IDTVEC(ill) norm_ill: pushl $0 TRAP(T_PRIVINFLT) +#endif /* * SYSCALL CALL GATE (old entry point for a.out binaries) |