From patchwork Sun Nov 1 07:46:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jungseok Lee X-Patchwork-Id: 7531631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A6DA89F399 for ; Sun, 1 Nov 2015 07:48:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BCDD4206FA for ; Sun, 1 Nov 2015 07:48:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 02426206F9 for ; Sun, 1 Nov 2015 07:48:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZsnM6-0003rw-Re; Sun, 01 Nov 2015 07:47:10 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZsnLx-0003oA-Jk for linux-arm-kernel@lists.infradead.org; Sun, 01 Nov 2015 07:47:02 +0000 Received: by padec8 with SMTP id ec8so6427285pad.1 for ; Sun, 01 Nov 2015 00:46:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eBTOo+QmxNPG2gO8sLe8lSNpLdZoyROaZ8HFvNTS4yw=; b=dhM+TioDoQlKYC7pDoIFh/soQ9klWGOEC9iNcin2orcheXMr61G7wcsAfazKLDDtkO rDhZS4qAO3xHCOv3MCSmEaMdniAoiATmALofJegV6iCmhdYK3uGTeIB9/ZMt2eCN52t9 8gmhL0GjGwYS9bwA/SBAxmaIliWShjuTxjKkwRQgHphDB7SNeJULoAV26vw0Q/vOzDBu sL1B9KxR+i5U/4OVcjnyItTsXPuJep++C6ejVfBNOAAcVdzqJgZUlYff9c0FG2+W53PE ginJK5yZdV2vuIULUqwOwl2G5RIESq4nqj7i2ttuKazVyUpv+Ks/RfI/IINYBhyOcmtX VziQ== X-Received: by 10.68.182.161 with SMTP id ef1mr19260521pbc.79.1446364000893; Sun, 01 Nov 2015 00:46:40 -0700 (PDT) Received: from ip-10-189-3-143.ap-northeast-1.compute.internal (ec2-54-238-87-144.ap-northeast-1.compute.amazonaws.com. [54.238.87.144]) by smtp.gmail.com with ESMTPSA id yq2sm17285199pbb.39.2015.11.01.00.46.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 01 Nov 2015 00:46:40 -0700 (PDT) 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151101_004701_684667_5551AC6B X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, takahiro.akashi@linaro.org, barami97@gmail.com, james.morse@arm.com, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Christoph Lameter --- 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)