From bf3105fc8f2628dccc7e88211c0bd7b41bf3ed22 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 10 Sep 2019 14:02:40 -0600 Subject: [PATCH] include/sys/types.h: Remove non-standard HP-UX priority range definitionis. HP-UX is not a supported OS. --- include/sys/types.h | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/include/sys/types.h b/include/sys/types.h index 1e403c095fc..c532c159691 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -85,17 +85,12 @@ #undef OK #define OK 0 -/* HPUX-like MIN/MAX value */ - -#define PRIOR_RR_MIN 0 -#define PRIOR_RR_MAX 255 -#define PRIOR_FIFO_MIN 0 -#define PRIOR_FIFO_MAX 255 -#define PRIOR_OTHER_MIN 0 -#define PRIOR_OTHER_MAX 255 - -/* Scheduling Priorities. NOTE: Only the idle task can take the true - * minimum priority. +/* Scheduling Priorities. + * + * NOTES: + * - Only the idle task can take the true minimum priority. + * - These definitions are non-standard internal definitions and, for + * portability reasons, should not be used by application software. */ #define SCHED_PRIORITY_MAX 255