aboutsummaryrefslogtreecommitdiffstats
path: root/src/chschd.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-01-10 15:04:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-01-10 15:04:57 +0000
commit98749abfdfc28095eb45db8d594596c13645ed08 (patch)
tree656efb0957c86e9448bb1d3c2ec389b84f44de08 /src/chschd.c
parenta746b895fd7e6be0d430c2fa9624d580b44986c6 (diff)
downloadChibiOS-98749abfdfc28095eb45db8d594596c13645ed08.tar.gz
ChibiOS-98749abfdfc28095eb45db8d594596c13645ed08.tar.bz2
ChibiOS-98749abfdfc28095eb45db8d594596c13645ed08.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@175 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chschd.c')
-rw-r--r--src/chschd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chschd.c b/src/chschd.c
index 4c3b05760..cbd1cfdd3 100644
--- a/src/chschd.c
+++ b/src/chschd.c
@@ -87,7 +87,7 @@ void chSchGoSleepS(t_tstate newstate) {
#ifdef CH_USE_TRACE
chDbgTrace(otp, currp);
#endif
- chSysSwitchI(&otp->p_ctx, &currp->p_ctx);
+ chSysSwitchI(otp, currp);
}
/**
@@ -114,7 +114,7 @@ void chSchWakeupS(Thread *ntp, t_msg msg) {
#ifdef CH_USE_TRACE
chDbgTrace(otp, ntp);
#endif
- chSysSwitchI(&otp->p_ctx, &ntp->p_ctx);
+ chSysSwitchI(otp, ntp);
}
}
@@ -131,7 +131,7 @@ void chSchDoRescheduleI(void) {
#ifdef CH_USE_TRACE
chDbgTrace(otp, currp);
#endif
- chSysSwitchI(&otp->p_ctx, &currp->p_ctx);
+ chSysSwitchI(otp, currp);
}
/**