diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-11-16 20:56:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-11-16 20:56:02 +0000 |
commit | 1a4037cd5699e92e9598faf58c5c04b34296c9f3 (patch) | |
tree | 3ffc1200670ecba61e0e5f1faa79d987cdfe1a57 /sys/arch | |
parent | 2a39fa558a41be222975f333acfd00c4db42fed5 (diff) |
oops, need a prototype for ast()
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/trap.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/trap.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c index bcefe5e5b5d..c3b63237568 100644 --- a/sys/arch/hppa/hppa/trap.c +++ b/sys/arch/hppa/hppa/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.120 2011/11/16 20:50:18 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.121 2011/11/16 20:56:01 deraadt Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -63,6 +63,8 @@ int pcxs_unaligned(u_int opcode, vaddr_t va); void ss_clear_breakpoints(struct proc *p); #endif +void ast(struct proc *); + /* single-step breakpoint */ #define SSBREAKPOINT (HPPA_BREAK_KERNEL | (HPPA_BREAK_SS << 13)) diff --git a/sys/arch/hppa64/hppa64/trap.c b/sys/arch/hppa64/hppa64/trap.c index 38a102e1ceb..df3a28c1e6b 100644 --- a/sys/arch/hppa64/hppa64/trap.c +++ b/sys/arch/hppa64/hppa64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.27 2011/11/16 20:50:18 deraadt Exp $ */ +/* $OpenBSD: trap.c,v 1.28 2011/11/16 20:56:01 deraadt Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -57,6 +57,8 @@ static __inline int inst_store(u_int ins) { (ins & 0xfc0003c0) == 0x0c000140; /* ldcd */ } +void ast(struct proc *); + const char *trap_type[] = { "invalid", "HPMC", |