Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935507AbZLGQ4s (ORCPT ); Mon, 7 Dec 2009 11:56:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S935468AbZLGQ4q (ORCPT ); Mon, 7 Dec 2009 11:56:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:13044 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935411AbZLGQ4o (ORCPT ); Mon, 7 Dec 2009 11:56:44 -0500 From: Masami Hiramatsu Subject: [BUGFIX PATCH -tip 1/5] x86 insn: Delete empty or incomplete inat-tables.c To: Ingo Molnar , Frederic Weisbecker , lkml Cc: systemtap , DLE , Masami Hiramatsu , Arkadiusz Miskiewicz , Jens Axboe , Ingo Molnar Date: Mon, 07 Dec 2009 12:00:33 -0500 Message-ID: <20091207170033.19230.37688.stgit@dhcp-100-2-132.bos.redhat.com> In-Reply-To: <20091207170027.19230.39491.stgit@dhcp-100-2-132.bos.redhat.com> References: <20091207170027.19230.39491.stgit@dhcp-100-2-132.bos.redhat.com> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1440 Lines: 42 Delete empty or incomplete inat-tables.c if gen-insn-attr-x86.awk failed, because it causes a build error if user tries to build kernel next time. Signed-off-by: Masami Hiramatsu Reported-by: Arkadiusz Miskiewicz Cc: Arkadiusz Miskiewicz Cc: Jens Axboe Cc: Ingo Molnar --- arch/x86/lib/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index 442b3b3..45b20e4 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -5,7 +5,7 @@ inat_tables_script = $(srctree)/arch/x86/tools/gen-insn-attr-x86.awk inat_tables_maps = $(srctree)/arch/x86/lib/x86-opcode-map.txt quiet_cmd_inat_tables = GEN $@ - cmd_inat_tables = $(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@ + cmd_inat_tables = $(AWK) -f $(inat_tables_script) $(inat_tables_maps) > $@ || rm -f $@ $(obj)/inat-tables.c: $(inat_tables_script) $(inat_tables_maps) $(call cmd,inat_tables) -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/