summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/pcpu.h
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2002-05-13 07:44:48 +0000
committerbenno <benno@FreeBSD.org>2002-05-13 07:44:48 +0000
commit6ef515f72a2fd76a0660b8c6aa8bd611f5481882 (patch)
treeb87070b79c70db91dc6d8aa37b62ed7243065782 /sys/powerpc/include/pcpu.h
parente3aab230b035c2d89fa33995f9679edc92f901cb (diff)
downloadFreeBSD-src-6ef515f72a2fd76a0660b8c6aa8bd611f5481882.zip
FreeBSD-src-6ef515f72a2fd76a0660b8c6aa8bd611f5481882.tar.gz
FPU support.
Obtained from: NetBSD (portions)
Diffstat (limited to 'sys/powerpc/include/pcpu.h')
-rw-r--r--sys/powerpc/include/pcpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/include/pcpu.h b/sys/powerpc/include/pcpu.h
index c222ee0..a2c88c4 100644
--- a/sys/powerpc/include/pcpu.h
+++ b/sys/powerpc/include/pcpu.h
@@ -39,7 +39,8 @@ struct pmap;
int pc_inside_intr; \
u_int32_t pc_next_asn; /* next ASN to alloc */ \
u_int32_t pc_current_asngen; /* ASN rollover check */\
- struct pmap *pc_curpmap /* current pmap */
+ struct pmap *pc_curpmap; /* current pmap */ \
+ struct thread *pc_fputhread /* current user of the fpu */
#define PCPUP ((struct pcpu *) powerpc_get_pcpup())
OpenPOWER on IntegriCloud