diff options
| author | Alan Cox <alc@FreeBSD.org> | 2002-03-10 02:11:38 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2002-03-10 02:11:38 +0000 |
| commit | b275b127db8af346c70eb9ec0ccd765f7dbf11be (patch) | |
| tree | 34f77dd3e8d9a399da38065d6b5894f746ea3cda /sys/amd64 | |
| parent | c57dee1fd15349bbae334bdedaf6d78366d2cc43 (diff) | |
Notes
Diffstat (limited to 'sys/amd64')
| -rw-r--r-- | sys/amd64/amd64/trap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 7f1e607afc13..a454803bf18b 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -103,7 +103,9 @@ int (*pmath_emulate) __P((struct trapframe *)); extern void trap __P((struct trapframe frame)); +#ifdef I386_CPU extern int trapwrite __P((unsigned addr)); +#endif extern void syscall __P((struct trapframe frame)); static int trap_pfault __P((struct trapframe *, int, vm_offset_t)); @@ -878,6 +880,7 @@ dblfault_handler() panic("double fault"); } +#ifdef I386_CPU /* * Compensate for 386 brain damage (missing URKR). * This is a little simpler than the pagefault handler in trap() because @@ -925,6 +928,7 @@ int trapwrite(addr) return (0); } +#endif /* * syscall - system call request C handler |
