X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=smalloc.c;fp=smalloc.c;h=6bf66fcf58013db6e318d69c62b87dc68fb3357f;hp=447d5c55fe3336986c490c068a5f919a100b55cf;hb=aa1af5fd4a7b801cc506cb511eb09f64c89648b6;hpb=94815a5c8366a9290167e8539f29994c2d43d15c diff --git a/smalloc.c b/smalloc.c index 447d5c55..6bf66fcf 100644 --- a/smalloc.c +++ b/smalloc.c @@ -32,7 +32,9 @@ #define SMALLOC_POST_RED 0x5aa55aa5U unsigned int smalloc_pool_size = INITIAL_SIZE; +#ifdef SMALLOC_REDZONE static const int int_mask = sizeof(int) - 1; +#endif struct pool { struct fio_mutex *lock; /* protects this pool */