Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752013AbdITPTg (ORCPT ); Wed, 20 Sep 2017 11:19:36 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:27620 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751826AbdITPTd (ORCPT ); Wed, 20 Sep 2017 11:19:33 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v8KFI2cq007260 X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-hexagon@vger.kernel.org, Richard Kuo Cc: linux-kbuild@vger.kernel.org, Michal Marek , Sam Ravnborg , Masahiro Yamada , Oleg Nesterov , linux-kernel@vger.kernel.org Subject: [PATCH] hexagon: get rid of #include Date: Thu, 21 Sep 2017 00:17:50 +0900 Message-Id: <1505920670-8290-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1143 Lines: 38 is created (or updated) when Kbuild descends into the init/ directory. In parallel building from a pristine source tree, there is no guarantee exists when arch/hexagon/kernel/ptrace.c is compiled. For hexagon architecture, we know UTS_MACHINE is a fixed string "hexagon", so let's hard-code it, like many architectures do. Signed-off-by: Masahiro Yamada --- arch/hexagon/kernel/ptrace.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/hexagon/kernel/ptrace.c b/arch/hexagon/kernel/ptrace.c index ecd75e2..fa76493 100644 --- a/arch/hexagon/kernel/ptrace.c +++ b/arch/hexagon/kernel/ptrace.c @@ -18,8 +18,6 @@ * 02110-1301, USA. */ -#include - #include #include #include @@ -180,7 +178,7 @@ static const struct user_regset hexagon_regsets[] = { }; static const struct user_regset_view hexagon_user_view = { - .name = UTS_MACHINE, + .name = "hexagon", .e_machine = ELF_ARCH, .ei_osabi = ELF_OSABI, .regsets = hexagon_regsets, -- 2.7.4