diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-01-10 15:04:57 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-01-10 15:04:57 +0000 |
commit | 98749abfdfc28095eb45db8d594596c13645ed08 (patch) | |
tree | 656efb0957c86e9448bb1d3c2ec389b84f44de08 /src/chschd.c | |
parent | a746b895fd7e6be0d430c2fa9624d580b44986c6 (diff) | |
download | ChibiOS-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.c | 6 |
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);
}
/**
|