From 0cd9341f21f57686a60c017455aff45ab4faf9a6 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 7 Mar 2006 15:44:34 +0000 Subject: [PATCH] Tightened generation size - don't count process numbers more than once --- include/minix/endpoint.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/minix/endpoint.h b/include/minix/endpoint.h index 8f7aa5d31..97a778763 100644 --- a/include/minix/endpoint.h +++ b/include/minix/endpoint.h @@ -15,8 +15,7 @@ * the generation size is big enough to start the next generation * above the highest magic number. */ -#define _ENDPOINT_MAX_PROC (_NR_PROCS) -#define _ENDPOINT_GENERATION_SIZE (NR_TASKS+_ENDPOINT_MAX_PROC+_MAX_MAGIC_PROC+1) +#define _ENDPOINT_GENERATION_SIZE (NR_TASKS+_MAX_MAGIC_PROC+1) #define _ENDPOINT_MAX_GENERATION (INT_MAX/_ENDPOINT_GENERATION_SIZE-1) /* Generation + Process slot number <-> endpoint. */ -- 2.44.0