Remove option for SCHED_FIFO. With this optional, SCHED_FIFO
is the same as RTPRIO_IDLE when it falls through to the default.
This commit is contained in:
parent
66ed4bce19
commit
daa2c78fae
sys
@ -33,11 +33,10 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: swtch.s,v 1.71 1998/04/06 15:44:31 peter Exp $
|
||||
* $Id: swtch.s,v 1.72 1998/05/12 18:37:10 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
#include "opt_posix.h"
|
||||
#include "opt_user_ldt.h"
|
||||
#include "opt_vm86.h"
|
||||
|
||||
@ -111,10 +110,8 @@ set1:
|
||||
movzwl P_RTPRIO_PRIO(%eax),%edx
|
||||
|
||||
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* RR realtime priority? */
|
||||
#ifdef P1003_1B
|
||||
je set_rt /* RT priority */
|
||||
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority? */
|
||||
#endif
|
||||
jne set_id /* must be idle priority */
|
||||
|
||||
set_rt:
|
||||
@ -167,10 +164,8 @@ ENTRY(remrq)
|
||||
movzwl P_RTPRIO_PRIO(%eax),%edx
|
||||
|
||||
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* realtime priority process? */
|
||||
#ifdef P1003_1B
|
||||
je rem0rt
|
||||
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority process? */
|
||||
#endif
|
||||
jne rem_id
|
||||
|
||||
rem0rt:
|
||||
|
@ -33,11 +33,10 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: swtch.s,v 1.71 1998/04/06 15:44:31 peter Exp $
|
||||
* $Id: swtch.s,v 1.72 1998/05/12 18:37:10 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
#include "opt_posix.h"
|
||||
#include "opt_user_ldt.h"
|
||||
#include "opt_vm86.h"
|
||||
|
||||
@ -111,10 +110,8 @@ set1:
|
||||
movzwl P_RTPRIO_PRIO(%eax),%edx
|
||||
|
||||
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* RR realtime priority? */
|
||||
#ifdef P1003_1B
|
||||
je set_rt /* RT priority */
|
||||
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority? */
|
||||
#endif
|
||||
jne set_id /* must be idle priority */
|
||||
|
||||
set_rt:
|
||||
@ -167,10 +164,8 @@ ENTRY(remrq)
|
||||
movzwl P_RTPRIO_PRIO(%eax),%edx
|
||||
|
||||
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* realtime priority process? */
|
||||
#ifdef P1003_1B
|
||||
je rem0rt
|
||||
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority process? */
|
||||
#endif
|
||||
jne rem_id
|
||||
|
||||
rem0rt:
|
||||
|
@ -33,11 +33,10 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: swtch.s,v 1.71 1998/04/06 15:44:31 peter Exp $
|
||||
* $Id: swtch.s,v 1.72 1998/05/12 18:37:10 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
#include "opt_posix.h"
|
||||
#include "opt_user_ldt.h"
|
||||
#include "opt_vm86.h"
|
||||
|
||||
@ -111,10 +110,8 @@ set1:
|
||||
movzwl P_RTPRIO_PRIO(%eax),%edx
|
||||
|
||||
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* RR realtime priority? */
|
||||
#ifdef P1003_1B
|
||||
je set_rt /* RT priority */
|
||||
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority? */
|
||||
#endif
|
||||
jne set_id /* must be idle priority */
|
||||
|
||||
set_rt:
|
||||
@ -167,10 +164,8 @@ ENTRY(remrq)
|
||||
movzwl P_RTPRIO_PRIO(%eax),%edx
|
||||
|
||||
cmpw $RTP_PRIO_REALTIME,P_RTPRIO_TYPE(%eax) /* realtime priority process? */
|
||||
#ifdef P1003_1B
|
||||
je rem0rt
|
||||
cmpw $RTP_PRIO_FIFO,P_RTPRIO_TYPE(%eax) /* FIFO realtime priority process? */
|
||||
#endif
|
||||
jne rem_id
|
||||
|
||||
rem0rt:
|
||||
|
Loading…
Reference in New Issue
Block a user