From patchwork Mon Jun 12 03:27:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103596 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14117qgd; Sun, 11 Jun 2017 20:32:56 -0700 (PDT) X-Received: by 10.84.132.42 with SMTP id 39mr43761891ple.226.1497238376663; Sun, 11 Jun 2017 20:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238376; cv=none; d=google.com; s=arc-20160816; b=D+NccDYnr6GxiWkYkAg6vF98yVyzBeC21iP+SuHLJ0IoPSdYY/6lC+c42ywxfK+9eE hM+pkojN4fXYwTUMGEzbQXCXI6pS94gdW+vW7bV/t4JkqO3Yenvdp1nEKJXUN6+EFiUE GRvpkpsL9th4ZDs6t5SlZmYkwqUTCV9qXakFU6di5y1EnJAFY0oY9Qkq3TiWFI9a1OeB bl/7yjdymXlzedz7yvtqLHYCUGOmH97fMzGhNILdCG/d74emIcP4Q0+DrCNnTnQMroPP Y+w3oKg3LFS53zefydpGxK4YWP5/xTgHpSW17f5flL++Q0NeOqR+vqKQozNpW5sizQj6 k90w== 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=OkihC1KpI1LEgnUgN3PPPztlfFsDbpW+ptj//O4slJM=; b=hzzJILTupa07hqA5gS2NqGzDEM2oR8MSwEjwXqlR2RWyxLR918r5LzTz9PZC3IbSe2 NZmVnXTtoxXwoY09YNcg4QaUfPdH/P77QlKV6bWu4DMcKzg8wabiOXBu+u8UArULIrxn gQjxcmyqxgkCvyOK5e8QuqPXJVtlM/Qb8lVKnU5jvRbnbIEtSh9JsY/YnDnFHxd6rZC6 mSPNHfGkHO3rL2iLGyKu11K3tvmvp5aLUh0QtCoTyLVSKWtucaRlkecV/VJM9SLqxtwR TsIe8r4jAKFp+EWbw7gHx6nItCXN+ImVdaiOmeFazJ+E/zYVPnkrRDqVRFYhKp8FHN2a 3Ztw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com; 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 64si6149360plk.286.2017.06.11.20.32.56; Sun, 11 Jun 2017 20:32:56 -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; 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 S1752367AbdFLDcI (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:08 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63950 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134AbdFLD2G (ORCPT ); Sun, 11 Jun 2017 23:28:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPG001077; Mon, 12 Jun 2017 12:27:46 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPG001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238067; bh=OkihC1KpI1LEgnUgN3PPPztlfFsDbpW+ptj//O4slJM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pdqL6xGQdrE25qu4Srg09fdfnaEXDiIz9qvbA9Du9ms0ObYYiByAOvpWxQw3diC17 uLVunefy0odZS3HAdZm74mR5J3Leg7A7ghNUQwC8O7/IZuhVNiDY0dNy7ROqE34Y8l UMw0GPLuA6NoZw/6xOt7sS7E4ngCnbqCO2UQhGybpKqMKaJecO9ki8UoRz/Tc4kc0Q L8KGllE1ZYBnam95hOtEtB0922JDpbkIDJinGtNQSPJwKjIOzTRxjrnZFzWXxYKXUG dC60PpQHvDRb7RKIo2zj/IlJaR8Z8ba12ZZHa1z2IXRRU63YejQ9yD4RHSNTiyN/ZA 03S4Kzjm3SCyQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Ley Foon Tan , linux-kernel@vger.kernel.org, nios2-dev@lists.rocketboards.org Subject: [PATCH 16/27] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h Date: Mon, 12 Jun 2017 12:27:10 +0900 Message-Id: <1497238041-7011-17-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-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 diff --git a/arch/nios2/include/asm/Kbuild b/arch/nios2/include/asm/Kbuild index 727dbb333f60..fcef68198465 100644 --- a/arch/nios2/include/asm/Kbuild +++ b/arch/nios2/include/asm/Kbuild @@ -48,7 +48,6 @@ generic-y += sembuf.h generic-y += serial.h generic-y += shmbuf.h generic-y += siginfo.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 */