KM_GSHIFT
garbage = (*s & KM_GMASK) << KM_GSHIFT;
for (i = (curmap->km_type[*whatbuf] >> KM_GSHIFT) & KM_GMASK; i; --i){