From 7d95abb07226bc5899fbf6e05528c431af9cc3cd Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 7 Mar 2006 15:38:43 +0000 Subject: [PATCH] Take out arbitrary constant --- include/minix/endpoint.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/minix/endpoint.h b/include/minix/endpoint.h index b585ede88..8f7aa5d31 100644 --- a/include/minix/endpoint.h +++ b/include/minix/endpoint.h @@ -8,8 +8,6 @@ /* The point of the padding in 'generation size' is to * allow for certain bogus endpoint numbers such as NONE, ANY, etc. - * The 207 doesn't mean anything, it's just to make the actual endpoint - * numbers irregular. * * The _MAX_MAGIC_PROC is defined by . That include * file defines some magic process numbers such as ANY and NONE, @@ -18,7 +16,7 @@ * above the highest magic number. */ #define _ENDPOINT_MAX_PROC (_NR_PROCS) -#define _ENDPOINT_GENERATION_SIZE (NR_TASKS+_ENDPOINT_MAX_PROC+_MAX_MAGIC_PROC+207) +#define _ENDPOINT_GENERATION_SIZE (NR_TASKS+_ENDPOINT_MAX_PROC+_MAX_MAGIC_PROC+1) #define _ENDPOINT_MAX_GENERATION (INT_MAX/_ENDPOINT_GENERATION_SIZE-1) /* Generation + Process slot number <-> endpoint. */ -- 2.44.0