summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/i386/cpu.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-07-18 19:27:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-07-18 19:27:50 +0000
commit80445331528a5d1b0ce85f095fe27a3b7fdf5a9e (patch)
treeca7d09bddb0a44ead621008d207cb27132864124 /cpukit/score/cpu/i386/cpu.c
parentall built successfully after merge (diff)
downloadrtems-80445331528a5d1b0ce85f095fe27a3b7fdf5a9e.tar.bz2
merged Linux UNIX simulator support (C)
Diffstat (limited to 'cpukit/score/cpu/i386/cpu.c')
-rw-r--r--cpukit/score/cpu/i386/cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/score/cpu/i386/cpu.c b/cpukit/score/cpu/i386/cpu.c
index f2859230e2..cf30fd0b94 100644
--- a/cpukit/score/cpu/i386/cpu.c
+++ b/cpukit/score/cpu/i386/cpu.c
@@ -73,7 +73,6 @@ void _CPU_Initialize(
*/
#if __GO32__
-#include <cpu.h>
#include <go32.h>
#include <dpmi.h>
#endif /* __GO32__ */
@@ -89,7 +88,7 @@ void _CPU_ISR_install_raw_handler(
*old_handler = 0; /* XXX not supported */
- handler_info.pm_offset = new_handler;
+ handler_info.pm_offset = (u_long) new_handler;
handler_info.pm_selector = _go32_my_cs();
/* install the IDT entry */