svn commit: r332660 - head/sys/sparc64/sparc64
Brooks Davis
brooks at FreeBSD.org
Tue Apr 17 22:30:01 UTC 2018
Author: brooks
Date: Tue Apr 17 22:30:00 2018
New Revision: 332660
URL: https://svnweb.freebsd.org/changeset/base/332660
Log:
Remove references to fs_nofault_intr_begin/end.
These should have removed in r332656.
Reported by: mjg, lidl
Modified:
head/sys/sparc64/sparc64/trap.c
Modified: head/sys/sparc64/sparc64/trap.c
==============================================================================
--- head/sys/sparc64/sparc64/trap.c Tue Apr 17 19:39:47 2018 (r332659)
+++ head/sys/sparc64/sparc64/trap.c Tue Apr 17 22:30:00 2018 (r332660)
@@ -100,8 +100,6 @@ extern char copy_nofault_end[];
extern char fs_fault[];
extern char fs_nofault_begin[];
extern char fs_nofault_end[];
-extern char fs_nofault_intr_begin[];
-extern char fs_nofault_intr_end[];
extern char fas_fault[];
extern char fas_nofault_begin[];
@@ -478,14 +476,6 @@ trap_pfault(struct thread *td, struct trapframe *tf)
}
if (ctx != TLB_CTX_KERNEL) {
- if ((tf->tf_tstate & TSTATE_PRIV) != 0 &&
- (tf->tf_tpc >= (u_long)fs_nofault_intr_begin &&
- tf->tf_tpc <= (u_long)fs_nofault_intr_end)) {
- tf->tf_tpc = (u_long)fs_fault;
- tf->tf_tnpc = tf->tf_tpc + 4;
- return (0);
- }
-
/* This is a fault on non-kernel virtual memory. */
map = &p->p_vmspace->vm_map;
} else {
More information about the svn-src-all
mailing list