From patchwork Thu Jan 3 01:10:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 154690 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp142973ljp; Wed, 2 Jan 2019 17:11:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN5TrK/5MYz1qfoO5j028DScCwS8AosUPQjQhNWM5YT8JaoaPStJm2IoL3AOSNJlIiGGxtdg X-Received: by 2002:a63:4b25:: with SMTP id y37mr15808074pga.181.1546477893634; Wed, 02 Jan 2019 17:11:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546477893; cv=none; d=google.com; s=arc-20160816; b=segzO5fAzpiOyBBK5GuGloAtha3w72WhyN71EIZG1AYLNPKBozEZFBZacmnUvcULEb 2CdfwsQ6fJ3wzWSpTQYuVDFkqgQloGf5ICCG+0KlWPN9k3bt/FtpnAsm5EC+3xHieWHH ysCFBXprN+xJalvjBd5EAUTUD+goZ1+tCWI3cW6hNB0hcGEqTAR9YvxCSwhb4EbXJ69r LQ77O8ubAyeYFqbC57gXqGQCCrTKC0onnlpDdLr1bg+nhjJjDJG6Jy3sN5J+wCGtn5HB 3AlyFjPBUpmFP5iPW/UR+VdNvCYRPrYpXLy4UWIdg+lTDCM/iZ0D3LhjIFCAnZEJuczc CENw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=BK1njVfh2IoLFxPPiAZlVo7NqwABDFBCBCKtQ1k2F3Y=; b=JrCiONc3Lc07TWZHWnMMBvcOwkRCYuPOLv8Nl/cHvySZXSj+KCy0683byiwF15GNXQ uNtA78LVEQbcFiVsSV0oNE7n0A9LOJS8xDsrNLD4yhRvcRtxr+hB9tvPWTqPHClOKef9 uiWTAAvbThhTj0ESpjzM90dvFylGgdYN/ignfCNeuANsVcz1+7CulpLne7YxmOT/h1+L 88XkwNksSe9g2hBVJgDt1A47F3rfL6Ikh1jSZH2pVxp6TJbH0lW9mqRVFpHprPkF0RgA dlNRxIEPR2ZCGdwySB3WpaNqpESsnII2juD09gwlCRqfyrmWitPKBPtEDOp/kNv7Q1iY 6ORQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pJkB5K+z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si21553253pls.338.2019.01.02.17.11.33; Wed, 02 Jan 2019 17:11:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=pJkB5K+z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728935AbfACBLa (ORCPT + 31 others); Wed, 2 Jan 2019 20:11:30 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:24280 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729155AbfACBL0 (ORCPT ); Wed, 2 Jan 2019 20:11:26 -0500 Received: from grover.tkatk1.zaq.ne.jp (zaqdadce369.zaq.ne.jp [218.220.227.105]) (authenticated) by conuserg-10.nifty.com with ESMTP id x031Apkd032182; Thu, 3 Jan 2019 10:10:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x031Apkd032182 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1546477852; bh=BK1njVfh2IoLFxPPiAZlVo7NqwABDFBCBCKtQ1k2F3Y=; h=From:To:Cc:Subject:Date:From; b=pJkB5K+zo/ksMybXTBLcPARRk9hsX9TSLsWkch+j40sU71xhtGe0+MwRAQqrzSpft FReO0qPaDGXGc/WYpsCPV8zNKETfGH6GnjWbZ2Hd+5Eq5TSxbUtTnxDTq0OqPDdxaZ JFARudqWwLTLo+Cgye6DYwkVc6tkv2a8I72yCouu4ejBvdIO+WcGCCXHc2myW/0/W9 e1kj7r/SVQH/ps/bR/ec0ZHjNGUUqgyARtUY69AVQIBS88ux1NM1MyeVlWoTzKIRBm pOC1YFLyuqf7g+ZVpIXhB7vNqKAV82TEAPx/qV1Yxn5JPLSagtvt2+YVcbPa8uC2Lo eaXY4kAh427zA== X-Nifty-SrcIP: [218.220.227.105] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, Masahiro Yamada Subject: [PATCH 1/5] riscv: remove redundant kernel-space generic-y Date: Thu, 3 Jan 2019 10:10:36 +0900 Message-Id: <1546477840-14278-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit removes redundant generic-y defines in arch/riscv/include/asm/Kbuild. [1] It is redundant to define the same generic-y in both arch/$(ARCH)/include/asm/Kbuild and arch/$(ARCH)/include/uapi/asm/Kbuild. Remove the following generic-y: errno.h fcntl.h ioctl.h ioctls.h ipcbuf.h mman.h msgbuf.h param.h poll.h posix_types.h resource.h sembuf.h setup.h shmbuf.h signal.h socket.h sockios.h stat.h statfs.h swab.h termbits.h termios.h types.h [2] It is redundant to define generic-y when arch-specific implementation exists in arch/$(ARCH)/include/asm/*.h Remove the following generic-y: cacheflush.h module.h Signed-off-by: Masahiro Yamada --- Changes in v2: - rebase on Linus' tree arch/riscv/include/asm/Kbuild | 25 ------------------------- 1 file changed, 25 deletions(-) -- 2.7.4 diff --git a/arch/riscv/include/asm/Kbuild b/arch/riscv/include/asm/Kbuild index 6a646d9..cccd12c 100644 --- a/arch/riscv/include/asm/Kbuild +++ b/arch/riscv/include/asm/Kbuild @@ -1,5 +1,4 @@ generic-y += bugs.h -generic-y += cacheflush.h generic-y += checksum.h generic-y += compat.h generic-y += cputime.h @@ -9,16 +8,11 @@ generic-y += dma.h generic-y += dma-contiguous.h generic-y += dma-mapping.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += fb.h -generic-y += fcntl.h generic-y += hardirq.h generic-y += hash.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h generic-y += kdebug.h @@ -27,34 +21,15 @@ generic-y += kvm_para.h generic-y += local.h generic-y += local64.h generic-y += mm-arch-hooks.h -generic-y += mman.h -generic-y += module.h -generic-y += msgbuf.h generic-y += mutex.h -generic-y += param.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += scatterlist.h generic-y += sections.h -generic-y += sembuf.h generic-y += serial.h -generic-y += setup.h -generic-y += shmbuf.h generic-y += shmparam.h -generic-y += signal.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h -generic-y += swab.h -generic-y += termbits.h -generic-y += termios.h generic-y += topology.h generic-y += trace_clock.h -generic-y += types.h generic-y += unaligned.h generic-y += user.h generic-y += vga.h