Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1692133imu; Sun, 16 Dec 2018 06:44:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/VppDEQJX0yC2wG0GDe7K5Cn4Hh1zIp0L7nUebUJgowCwSVFZ4ONwzxzKvFn9rMJKK4YZiH X-Received: by 2002:a17:902:4222:: with SMTP id g31mr9554971pld.240.1544971453859; Sun, 16 Dec 2018 06:44:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544971453; cv=none; d=google.com; s=arc-20160816; b=akhGSabJv1pByci6pRafYRuP18VhZqW/+EHFp5k6mSV5zzeKW+1HjSaG99VtUzgXp8 YUjhZdPWRYSyz98X7rpH0UrJnzb0rESF596BJ7YFqXYiX2mbOVdKFfy16PTXesB2j5CR VUEaIVrfwe/x6coCsnm3LKJ6IbY0x+TSQEtGLpmA/hF7y2Qu87ZivpM5gH5Tshx7TjU2 Vjlo+fKmVax546gRyDt/iF/UqlaBeU4PNGO2SvrTLhzRrrF78nF0Chb0tT2rKftwVpsL udlY8SzLz1i4+kuiEIqUWggvRGGpj+0q+OuxK3/lYwUVbbeRfVSdENKw9evzjYuiOxMi /4Qg== 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=CsWUrOVta15OpOCDxQjjIyd45yImcRDWQZeusK8eq8U=; b=ghlOkNwHoWAv8pEqOm2m5ZuUWaraAeO5ysTb7Z++S78FdgK3aZBNcLdQh+eCIMcHIS 0MxPI4wNWT523Wfzjbl/5KIEPYg1rxkfYe9Zvn6qDjyRRj4mbOxZLgwiswgEnXoB4kIY Xfqqejh70YN/dCPjDuf3HyYUcJc4h5kwfz9hoOBgfxwk4nqWK77fyYhK1R+P+NgHKKex dMapoHPxgZnC4uE2EFtdBGefes2RyU+2r6W+7DPbnM2siq7LfZm7x2KTTvg7N52Dn1xD IkofKv3uSMHySeYYx6q8OQZ5apUoRkcwmmGkZHI7+cLAB1Bkr70e4WGPF7JT70icFl1S 2Zew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=V+OtoKQC; 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 f24si8215288pgj.315.2018.12.16.06.43.58; Sun, 16 Dec 2018 06:44:13 -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=V+OtoKQC; 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 S1730653AbeLPOM4 (ORCPT + 99 others); Sun, 16 Dec 2018 09:12:56 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:24311 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730181AbeLPOMz (ORCPT ); Sun, 16 Dec 2018 09:12:55 -0500 Received: from grover.tkatk1.zaq.ne.jp (zaqdadce369.zaq.ne.jp [218.220.227.105]) (authenticated) by conuserg-12.nifty.com with ESMTP id wBGEBWXm008783; Sun, 16 Dec 2018 23:11:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com wBGEBWXm008783 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544969493; bh=CsWUrOVta15OpOCDxQjjIyd45yImcRDWQZeusK8eq8U=; h=From:To:Cc:Subject:Date:From; b=V+OtoKQCFsYn0zgRl9GsKGTvfqPi5Xo5eH2i9MuVhq4lvvwNvs8DpF+/45cbOsh9V g2hXjb41PLaTtMvhlFOrHhR6h8/mICDqkLCDYqYdypHd84tNBor2Vr0psI2/AQ2saP seMiwgDrgxafJBcB+kI87H+bG3PpuLwZQMT8xQecMMXBef8E+a0oE1tzqXTxynj5OA ZXuukwiHsiQav8VDCTybQrdTmRr47lLgzgCycOWJV3nIhnCDylXxV2wA9tnmo3AY1b 5S/kazqA9lfOjMIlX0WxxvTlTfFvr2IkNbpCH7ZOKhKDKjvnzpJMgthqgjxXWRSYeg 6zHP1WFQ2q0tg== X-Nifty-SrcIP: [218.220.227.105] From: Masahiro Yamada To: Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: Masahiro Yamada , Alan Kao , Deepa Dinamani , linux-kernel@vger.kernel.org, Jim Wilson , Geert Uytterhoeven Subject: [PATCH] riscv: remove redundant kernel-space generic-y Date: Sun, 16 Dec 2018 23:11:11 +0900 Message-Id: <1544969471-14224-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 dma-mapping.h module.h Signed-off-by: Masahiro Yamada --- arch/riscv/include/asm/Kbuild | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/arch/riscv/include/asm/Kbuild b/arch/riscv/include/asm/Kbuild index 6a646d9..f7068f3 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 @@ -7,18 +6,12 @@ generic-y += device.h generic-y += div64.h 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 +20,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 -- 2.7.4