From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932990Ab1JXQM1 (ORCPT ); Mon, 24 Oct 2011 12:12:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15473 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932874Ab1JXQMX (ORCPT ); Mon, 24 Oct 2011 12:12:23 -0400 Date: Mon, 24 Oct 2011 18:07:32 +0200 From: Oleg Nesterov To: Srikar Dronamraju Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Jonathan Corbet , Masami Hiramatsu , Hugh Dickins , Christoph Hellwig , Ananth N Mavinakayanahalli , Thomas Gleixner , Andi Kleen , Andrew Morton , Jim Keniston , Roland McGrath , LKML Subject: Re: [PATCH 11/X] uprobes: x86: introduce xol_was_trapped() Message-ID: <20111024160732.GA19659@redhat.com> References: <20110920115938.25326.93059.sendpatchset@srdronam.in.ibm.com> <20111015190007.GA30243@redhat.com> <20111019215139.GA16395@redhat.com> <20111019215307.GE16395@redhat.com> <20111024145531.GB31435@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111024145531.GB31435@linux.vnet.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/24, Srikar Dronamraju wrote: > > > diff --git a/arch/x86/include/asm/uprobes.h b/arch/x86/include/asm/uprobes.h > > index 1c30cfd..f0fbdab 100644 > > --- a/arch/x86/include/asm/uprobes.h > > +++ b/arch/x86/include/asm/uprobes.h > > @@ -39,6 +39,7 @@ struct uprobe_arch_info { > > > > struct uprobe_task_arch_info { > > unsigned long saved_scratch_register; > > + unsigned long saved_trap_no; > > }; > > #else > > struct uprobe_arch_info {}; > > > one nit > I had to add saved_trap_no to #else part (i.e uprobe_arch_info ). Yes, thanks, I didn't notice this is for X86_64 only. And just in case, please feel free to rename/redo/whatever. Oleg.