From 1c64d70304b88bc38742d4d1106245c428bf1d8f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 1 Jun 2002 19:25:25 +0000 Subject: 2002-05-31 Roland McGrath * boot.c: Don't include "exec_S.h". * boot.c (boot_script_exec_cmd): Fix typos: {I386,ALPHA}_THREAD_STATE -> {i386,ALPHA}_THREAD_STATE_COUNT --- boot/boot.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/boot/boot.c b/boot/boot.c index 8a0e5009..1728ee4a 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -40,7 +40,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include "notify_S.h" -#include "exec_S.h" #include "ourdevice_S.h" #include "io_S.h" #include "device_reply_U.h" @@ -381,7 +380,7 @@ boot_script_exec_cmd (void *hook, stack_end - trunc_page ((vm_offset_t) arg_pos)); thread_create (task, &thread); -#ifdef I386_THREAD_STATE +#ifdef i386_THREAD_STATE_COUNT { struct i386_thread_state regs; reg_size = i386_THREAD_STATE_COUNT; @@ -392,7 +391,7 @@ boot_script_exec_cmd (void *hook, thread_set_state (thread, i386_THREAD_STATE, (thread_state_t) ®s, reg_size); } -#elif ALPHA_THREAD_STATE +#elif defined(ALPHA_THREAD_STATE_COUNT) { struct alpha_thread_state regs; reg_size = ALPHA_THREAD_STATE_COUNT; -- cgit v1.2.3