From 11bf9cda6dae396cb7f112312abc007a6c39ca96 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 1 Apr 2017 15:50:31 -0400 Subject: [PATCH] ... --- MagickCore/semaphore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MagickCore/semaphore.c b/MagickCore/semaphore.c index c112c47c8..d8c84dd43 100644 --- a/MagickCore/semaphore.c +++ b/MagickCore/semaphore.c @@ -146,7 +146,7 @@ static void *AcquireSemaphoreMemory(const size_t count,const size_t quantum) return((void *) NULL); } memory=NULL; - alignment=GetMagickPageSize(); + alignment=CACHE_LINE_SIZE; extent=AlignedExtent(size,CACHE_LINE_SIZE); if ((size == 0) || (alignment < sizeof(void *)) || (extent < size)) return((void *) NULL); -- 2.40.0