Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbbKAHrO (ORCPT ); Sun, 1 Nov 2015 02:47:14 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:32941 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751200AbbKAHql (ORCPT ); Sun, 1 Nov 2015 02:46:41 -0500 From: Jungseok Lee To: catalin.marinas@arm.com, will.deacon@arm.com, cl@linux.com, tj@kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Cc: james.morse@arm.com, takahiro.akashi@linaro.org, mark.rutland@arm.com, barami97@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/3] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition Date: Sun, 1 Nov 2015 07:46:15 +0000 Message-Id: <1446363977-23656-2-git-send-email-jungseoklee85@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1446363977-23656-1-git-send-email-jungseoklee85@gmail.com> References: <1446363977-23656-1-git-send-email-jungseoklee85@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1006 Lines: 33 As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not used any more. That is, no code refers to the definition. Signed-off-by: Jungseok Lee --- include/linux/percpu.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/percpu.h b/include/linux/percpu.h index caebf2a..4bc6daf 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -18,12 +18,6 @@ #define PERCPU_MODULE_RESERVE 0 #endif -#ifndef PERCPU_ENOUGH_ROOM -#define PERCPU_ENOUGH_ROOM \ - (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \ - PERCPU_MODULE_RESERVE) -#endif - /* minimum unit size, also is the maximum supported allocation size */ #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/