Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2515119ybt; Sun, 21 Jun 2020 23:37:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWZH0pk0NWgHR4/qrUnGNerK4MjIEdffuhaBA1JcY/O7POZ8UMPwBKcp3815ELilNceHLw X-Received: by 2002:a17:906:5203:: with SMTP id g3mr14030342ejm.58.1592807875774; Sun, 21 Jun 2020 23:37:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592807875; cv=none; d=google.com; s=arc-20160816; b=LbxhYjRpkgGYPKonosGVOlV+tzOjmnCug8snsSGM5YuZpzuBoiIfWXtImZzg4R7f8j hoD7gB4Gt45kgL4GHVDVdkqL8IlqUSu1/rrlVZS3chf3jpeGT385F0MbyyB2zfGrxVsv p76zKGk1RtU0OvwjsNlY6zN/C5JxddIF8wGsE87GWL/RTd59oORh/O7kaSiTdhYH87cW IvSLD9dvjvRSbg/51ywPwiso/fgqfKmRx4ndsae6FitacS4VB8iZDtUaksafjr5pZc4E 9UvWg4Rpob4cWmpg/xUsVnqq+DF9Zku1lyLU8igQrxigc5q8sBGHy7+uHxElLKt7hsQx iUmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=79mLCqgR2TWJkFKs+0zZjudKKC4J+TXmNnrwJCDQpds=; b=cEepcxhuK52KW97eFWtRsxsbsH95MemdfDXgWCA0oXvMVKbjhE3mwfYR4LlAkpKHAp diCEWisbOLiU2usCDfkVDNMcZaoKTgw4LeWU9qLt4wmDwa2uxPBfTBHri3ld8Q+CQAiC lLPmUlVE/bcfuIl1/bblp2T0LTC0vGRbutfqlRfhm2SwbsIn3Zqans5rK9SB69wqpT1u gEc0WHuiwM33DqEM6qCTt1n/2qizHbkrUzC5tV/sG1KdjhO2kC7sbaIQMzQ3iiqXFg9M wCMxCMvn/+J6/ob6DqSgCqQTrQEDsY6uBcPWgys2SLrA9fq7S4Iq7xn5iXDPB1t9lF/0 UOPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Yqea0SAv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id re27si8649367ejb.426.2020.06.21.23.37.33; Sun, 21 Jun 2020 23:37:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Yqea0SAv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731279AbgFVGeA (ORCPT + 99 others); Mon, 22 Jun 2020 02:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731248AbgFVGd6 (ORCPT ); Mon, 22 Jun 2020 02:33:58 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 219BEC061794 for ; Sun, 21 Jun 2020 23:33:58 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id 35so7172085ple.0 for ; Sun, 21 Jun 2020 23:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=79mLCqgR2TWJkFKs+0zZjudKKC4J+TXmNnrwJCDQpds=; b=Yqea0SAv3aoQMqj/RDoys0F2J6lpuwJYGAZOOhsI/Ol4jei2Edvu17UrrldH1nXCj0 xK2xMVGGLlrAM9QVG0rNT0csb8Qbk/KwXqKY3qwuTLo0eJlZXXSCACrtg/xby/7cYKG/ 6tbjoItHw5ptJlHWQ21jExAI6MMZH3GLm8DEsDrodcvx6pZOz8EQgUjG12TCNjeRyfEh wO0c8w0J9vTXQvCtJ2WIdekEr0ZdC3cD9UfMsD5nXgtnHCqiIy+lBOSmaZnNmhzPS/+G 9P4GV23kR6Kg46S2axHGwByJ5hj3Dj4k7tlfXpWvlpixfgr8N8VGSCN6uWODA2SGwmsE EGsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=79mLCqgR2TWJkFKs+0zZjudKKC4J+TXmNnrwJCDQpds=; b=KtUmaHqtewwuailC58tsOf+wsr76/XOHUCv370k3vMEaT8vJI2/ihCvLByPOzodDZ4 cIf9AkvDDLEKdr3+6Oma9n4VWXANyMdJrPXPESifCr4HOff6UozTPPqcA/qhhFu4ShJc r8NIQfQqCv9I8DnhM23LqhrET1acH9hg8zjkapSdX5FPCdkinv9Y78++X6uQx/QlySry Y/C3BirsbOHenGis/cqu38O6JAMbUBHHl7495uORxpcLIaNxOSZldC2N7LN4E5LTSU6a YDv+2gY1bXdFvwL/uCnd8seuULdn/fAIkD2nOPksV6Sg6bbWiMK76zB7CKE6gbbflQIU 1Kmw== X-Gm-Message-State: AOAM533OT3QFPjXXgzIyqa8k5liiChf0SEl/RiL3+PVJdnUeBvYlQSMf LdyNw+zjU5pSgscFxz4vc3Kgfw== X-Received: by 2002:a17:90a:db16:: with SMTP id g22mr15654793pjv.26.1592807637600; Sun, 21 Jun 2020 23:33:57 -0700 (PDT) Received: from hsinchu02.internal.sifive.com (114-34-229-221.HINET-IP.hinet.net. [114.34.229.221]) by smtp.gmail.com with ESMTPSA id w11sm12530999pfi.93.2020.06.21.23.33.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jun 2020 23:33:57 -0700 (PDT) From: Zong Li To: paul.walmsley@sifive.com, palmer@dabbelt.com, mick@ics.forth.gr, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Zong Li Subject: [PATCH v2 2/2] riscv: mm: refine the Makefile Date: Mon, 22 Jun 2020 14:33:50 +0800 Message-Id: <86134f2c2e88da1caa9bb361505218458e3c63ec.1592807136.git.zong.li@sifive.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Put all objects which selected by obj-y together. Signed-off-by: Zong Li --- arch/riscv/mm/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/riscv/mm/Makefile b/arch/riscv/mm/Makefile index 4530ad52f1d6..7f95f66e135a 100644 --- a/arch/riscv/mm/Makefile +++ b/arch/riscv/mm/Makefile @@ -5,12 +5,8 @@ ifdef CONFIG_FTRACE CFLAGS_REMOVE_init.o = -pg endif -obj-y += init.o -obj-y += extable.o +obj-y += init.o extable.o cacheflush.o context.o mmap.o obj-$(CONFIG_MMU) += fault.o pageattr.o -obj-y += cacheflush.o -obj-y += context.o -obj-y += mmap.o ifeq ($(CONFIG_MMU),y) obj-$(CONFIG_SMP) += tlbflush.o -- 2.27.0