summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-06-13 21:03:01 +0000
committerjkim <jkim@FreeBSD.org>2012-06-13 21:03:01 +0000
commitd1d32ebbe590b2417e7c158f2cf2265006ea68bf (patch)
tree0452601b7184f9c8ae2440c7f2697d9835717e9d /sys/amd64/include
parent2531f6420107e5e3ef5dbf077ad00baec45d02b3 (diff)
downloadFreeBSD-src-d1d32ebbe590b2417e7c158f2cf2265006ea68bf.zip
FreeBSD-src-d1d32ebbe590b2417e7c158f2cf2265006ea68bf.tar.gz
- Fix resumectx() prototypes to reflect reality.
- For i386, simply jump to resumectx() with PCB in %ecx. - Fix a style(9) nit while I am here.
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/pcb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 619fba5..35665f1 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -100,7 +100,7 @@ struct pcb {
register_t pcb_xsmask;
/* fpu context for suspend/resume */
- void * pcb_fpususpend;
+ void *pcb_fpususpend;
struct savefpu *pcb_save;
@@ -142,7 +142,7 @@ clear_pcb_flags(struct pcb *pcb, const u_int flags)
void makectx(struct trapframe *, struct pcb *);
int savectx(struct pcb *) __returns_twice;
-void resumectx(struct pcb *);
+void resumectx(struct pcb *, register_t);
#endif
OpenPOWER on IntegriCloud