From: Ben Gras Date: Tue, 7 Mar 2006 15:38:43 +0000 (+0000) Subject: Take out arbitrary constant X-Git-Tag: v3.1.2a~292 X-Git-Url: http://zhaoyanbai.com/repos/man.dnssec-coverage.html?a=commitdiff_plain;h=7d95abb07226bc5899fbf6e05528c431af9cc3cd;p=minix.git Take out arbitrary constant --- 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. */