From patchwork Sun Jul 9 18:32:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107252 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540189qge; Sun, 9 Jul 2017 11:35:21 -0700 (PDT) X-Received: by 10.99.167.72 with SMTP id w8mr11010305pgo.202.1499625321138; Sun, 09 Jul 2017 11:35:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625321; cv=none; d=google.com; s=arc-20160816; b=ediyfwlorwRzh3rtfhyAGkulAd1xT8EUIuXJmvX8U0qAUUNcAle4H1BG0OidMCZgnw rhVQQ0NtQR3axkytuVB4sJG8WGmg1oLc9kj1QDUctsTHCOUZk52dSjIcuWEukaJrukl1 gFMDwVEwmyUfInIO86xT/TQ8RStapqVAwDcxZ68uswEB8myWBpx7edeCOINbN5uVUtzG yP15PZ0eeXmE1v0okPeG2GWsjKRVhzOdA4jpU00wWMaQrtlRqwab9hfhLzk+vdnpZJhF ZrF+tVdT8WWi0nyXOXR1xZYPy85tfBpEb8xinUE+PbU0+1ddxI9yUnu2LAJn9x/JBGkX NKvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=eSqi8gyIpJKIKYxSy/OZtovKmo73XEto4bPXK8PSTEc=; b=Z9tBPCkR47EQMuH8EFWu9iMYc5JUcvCwI+nyH8poNrRvUFA6kEmgFBjMXBB1JEN0F2 qXIwrFALUyWuF/uwt1ti1HpbGAH/29KTsGBKFEytZHOMiWzq63GxQrehA4QxqfJtw7Am WCvWwEJuwJuIoMmhcT4o66cW+1vvzvK3WWcpT8PWibVdbhaMjLO0O1bc0n1iSp3dNm/C VjXKIoumJRvTUEfByuRNaXz+hlhQ/o1rToFS0j90keGia2T+EjIIM30gC2C0ygPJJxx3 F6R5Xc9gpbqKmv+8Cpl2xKY5yLr3t1z0GvzPb9AMzPID64I9ZBbJTKYPw1arWSzhAHUx YVgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=ozV5RX54; 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 m4si6108883pgs.108.2017.07.09.11.35.20; Sun, 09 Jul 2017 11:35:21 -0700 (PDT) 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.b=ozV5RX54; 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 S1753070AbdGISdf (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:35 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45821 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752626AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v69IX2DD000353; Mon, 10 Jul 2017 03:33:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DD000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625196; bh=eSqi8gyIpJKIKYxSy/OZtovKmo73XEto4bPXK8PSTEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ozV5RX54B9v52j709A8u8v6eNhgFTKQLvVunYd1GrcpSECv4aT0BbdnJGMwmn3YfE /3uTtYawI64n67Q0nCR/2Fp/SxW3T0Ih1f/dKby+RKQsI22yNmyduoDivgquKYyXTw PHR4pwUdxjBZB0OrV0KcXwTk4LzLLkJXE1p0lsZIE/BipQUQsmiSdhgG5BTFIgnWEQ 0dBb2NtkmG4dGEHuE8EzkFeSSJsYBcj7NmLKkJnECD5GzTkuO739zuW2muxWdomePR zmKhiPyAaQb4pqRwS5p/jswWnJF8iF1KLCmQgp/5CvIQMPIz0V6ipDcToT9OX/ZSYM hPUcXDt4MmCJw== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arch@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h Date: Mon, 10 Jul 2017 03:32:49 +0900 Message-Id: <1499625180-8067-18-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> References: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, NIOS2 has three signal.h files under arch/nios2/include: [1] arch/nios2/include/asm/signal.h [2] arch/nios2/include/uapi/asm/signal.h [3] arch/nios2/include/generated/asm/signal.h [3] is build-time generated by scripts/Makefile.asm-generic. However, -I$(srctree)/arch/$(hdr-arch)/include search path is listed before -I$(objtree)/arch/$(hdr-arch)/include/generated in LINUXINCLUDE. Therefore [1] is always included instead of [3]. Remove [3] which is never included. If we look at [1], it just includes [2]. So, [1] can be removed as well. Signed-off-by: Masahiro Yamada --- arch/nios2/include/asm/Kbuild | 1 - arch/nios2/include/asm/signal.h | 22 ---------------------- 2 files changed, 23 deletions(-) delete mode 100644 arch/nios2/include/asm/signal.h -- 2.7.4 Reviewed-by: Tobias Klauser diff --git a/arch/nios2/include/asm/Kbuild b/arch/nios2/include/asm/Kbuild index e1a843def56f..c1c7f6736117 100644 --- a/arch/nios2/include/asm/Kbuild +++ b/arch/nios2/include/asm/Kbuild @@ -47,7 +47,6 @@ generic-y += segment.h generic-y += sembuf.h generic-y += serial.h generic-y += shmbuf.h -generic-y += signal.h generic-y += socket.h generic-y += sockios.h generic-y += spinlock.h diff --git a/arch/nios2/include/asm/signal.h b/arch/nios2/include/asm/signal.h deleted file mode 100644 index bbcf11eecb01..000000000000 --- a/arch/nios2/include/asm/signal.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright Altera Corporation (C) 2013. All rights reserved - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program. If not, see . - * - */ -#ifndef _NIOS2_SIGNAL_H -#define _NIOS2_SIGNAL_H - -#include - -#endif /* _NIOS2_SIGNAL_H */