diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-01 19:25:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-01 19:25:25 +0000 |
commit | 1c64d70304b88bc38742d4d1106245c428bf1d8f (patch) | |
tree | c22885a3fcb88d1425027c33b92906182229a6bb /boot/boot.c | |
parent | bb9b0c9b2f60a8f6ff42b320bb94c4ea01df7aea (diff) |
2002-05-31 Roland McGrath <roland@frob.com>
* 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
Diffstat (limited to 'boot/boot.c')
-rw-r--r-- | boot/boot.c | 5 |
1 files 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 <version.h> #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; |