summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-08-16 18:54:23 +0000
committermarcel <marcel@FreeBSD.org>2004-08-16 18:54:23 +0000
commit4edad1187dfab1144a6cadc435579f23305d646e (patch)
tree4fd982134fedf226e85271f323fcfdea663219c5 /sys/ia64/include
parent5b5d2c54bc844d6f80b41f02bf70a9f3a49e54ee (diff)
downloadFreeBSD-src-4edad1187dfab1144a6cadc435579f23305d646e.zip
FreeBSD-src-4edad1187dfab1144a6cadc435579f23305d646e.tar.gz
Catch up with the drive-by renaming of IA32 to COMPAT_IA32. It must
have been rush hour... While here, move COMPAT_IA32 from opt_global.h to opt_compat.h like on amd64. Consequently, it's unsafe to use the option in pcb.h. We now unconditionally have the ia32 specific registers in the PCB. This commit is untested.
Diffstat (limited to 'sys/ia64/include')
-rw-r--r--sys/ia64/include/pcb.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/ia64/include/pcb.h b/sys/ia64/include/pcb.h
index d018127..6afe5e6 100644
--- a/sys/ia64/include/pcb.h
+++ b/sys/ia64/include/pcb.h
@@ -46,7 +46,7 @@ struct pcb {
uint64_t pcb_onfault; /* for copy faults */
-#if IA32
+ /* IA32 specific registers. */
uint64_t pcb_ia32_cflg;
uint64_t pcb_ia32_eflag;
uint64_t pcb_ia32_fcr;
@@ -66,10 +66,8 @@ void makectx(struct trapframe *, struct pcb *);
void restorectx(struct pcb *) __dead2;
int swapctx(struct pcb *old, struct pcb *new);
-#if IA32
void ia32_restorectx(struct pcb *);
void ia32_savectx(struct pcb *);
-#endif
#endif
OpenPOWER on IntegriCloud