diff -ruN linux-2.6.7-orig/ipc/shm.c linux-2.6.7/ipc/shm.c --- linux-2.6.7-orig/ipc/shm.c 2004-06-16 01:19:23.000000000 -0400 +++ linux-2.6.7/ipc/shm.c 2004-06-25 11:25:29.223483880 -0400 @@ -54,7 +54,7 @@ size_t shm_ctlall = SHMALL; int shm_ctlmni = SHMMNI; -static int shm_tot; /* total number of shared memory pages */ +static size_t shm_tot; /* total number of shared memory pages */ void __init shm_init (void) {