From 539ccfaeb2e7bc2528068dc5493a4e7b30a9908e Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 30 Sep 2001 18:51:18 +0000 Subject: [PATCH] Wrap hardware trap types in ifdef _kernel. --- sys/sparc64/include/trap.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/sparc64/include/trap.h b/sys/sparc64/include/trap.h index 8cd70941a29..26651bcb994 100644 --- a/sys/sparc64/include/trap.h +++ b/sys/sparc64/include/trap.h @@ -29,6 +29,8 @@ #ifndef _MACHINE_TRAP_H_ #define _MACHINE_TRAP_H_ +#ifdef _KERNEL + #define T_RESERVED 0x0 #define T_POWER_ON 0x1 #define T_WATCHDOG 0x2 @@ -70,6 +72,8 @@ extern const char *trap_msg[]; #endif +#endif + #define ST_BREAKPOINT 0x1 #define ST_SYSCALL 0x9 -- 2.45.2