Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752757AbZJTQzU (ORCPT ); Tue, 20 Oct 2009 12:55:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752732AbZJTQzS (ORCPT ); Tue, 20 Oct 2009 12:55:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18593 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752469AbZJTQzQ (ORCPT ); Tue, 20 Oct 2009 12:55:16 -0400 From: Masami Hiramatsu Subject: [PATCH -tip perf/probes 1/2] x86: Fix group attribute decoding bug To: Ingo Molnar , Frederic Weisbecker , lkml Cc: systemtap , DLE , Masami Hiramatsu , Jim Keniston , "H. Peter Anvin" , Frederic Weisbecker , Ingo Molnar Date: Tue, 20 Oct 2009 12:55:24 -0400 Message-ID: <20091020165524.4145.97333.stgit@dhcp-100-2-132.bos.redhat.com> In-Reply-To: <20091020165518.4145.94115.stgit@dhcp-100-2-132.bos.redhat.com> References: <20091020165518.4145.94115.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: 1280 Lines: 41 Fix a typo in inat_get_group_attribute() which should refer inat_group_tables, not inat_escape_tables. Signed-off-by: Masami Hiramatsu Cc: Jim Keniston Cc: H. Peter Anvin Cc: Frederic Weisbecker Cc: Ingo Molnar --- arch/x86/lib/inat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/lib/inat.c b/arch/x86/lib/inat.c index 054656a..3fb5998 100644 --- a/arch/x86/lib/inat.c +++ b/arch/x86/lib/inat.c @@ -68,7 +68,7 @@ insn_attr_t inat_get_group_attribute(insn_byte_t modrm, insn_byte_t last_pfx, if (!table) return inat_group_common_attribute(grp_attr); if (inat_has_variant(table[X86_MODRM_REG(modrm)]) && m) { - table = inat_escape_tables[n][m]; + table = inat_group_tables[n][m]; if (!table) return inat_group_common_attribute(grp_attr); } -- 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/