Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761972AbXLQW1x (ORCPT ); Mon, 17 Dec 2007 17:27:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756145AbXLQW1i (ORCPT ); Mon, 17 Dec 2007 17:27:38 -0500 Received: from rv-out-0910.google.com ([209.85.198.189]:2624 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753653AbXLQW1h (ORCPT ); Mon, 17 Dec 2007 17:27:37 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=hVv8JbxPLaMvyYsfpcg8alYnMCnAra8ec2Oae92TmDaAX1i+uKcut2l3bm3nTNPk6p15Vomc//eb1oi2IQjqqD/Hp6oAB+8mZNk9pl3Rgc41O25xa0OnFR/n6z9fmKi02gjDkXSefPYqcWdckqosart3TMOMc0dbyzhZbrbuDrs= Subject: [PATCH 3/4] x86: add kprobe-booster to X86_64 From: Harvey Harrison To: Ingo Molnar Cc: Ananth N Mavinakayanahalli , Jim Keniston , Roland McGrath , Arjan van de Ven , prasanna@in.ibm.com, anil.s.keshavamurthy@intel.com, davem@davemloft.net, systemtap-ml , LKML , Andrew Morton Content-Type: text/plain Date: Mon, 17 Dec 2007 14:27:44 -0800 Message-Id: <1197930464.23402.112.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 36 Sorry I missed an ifdef in this patch in the following hunk: @@ -183,6 +185,9 @@ retry: } switch (opcode & 0xf0) { +#ifdef X86_64 + case 0x40: + goto retry; /* REX prefix is boostable */ case 0x60: if (0x63 < opcode && opcode < 0x67) goto retry; /* prefixes */ Just add the #ifdef to only catch case 0x40. @@ -183,6 +185,10 @@ retry: } switch (opcode & 0xf0) { +#ifdef X86_64 + case 0x40: + goto retry; /* REX prefix is boostable */ +#endif case 0x60: if (0x63 < opcode && opcode < 0x67) goto retry; /* prefixes */ Cheers, Harvey -- 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/