From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id 2B9609000C9 for ; Tue, 20 Sep 2011 08:24:37 -0400 (EDT) Received: from /spool/local by in.ibm.com with XMail ESMTP for from ; Tue, 20 Sep 2011 17:47:17 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8KCGlwM4067542 for ; Tue, 20 Sep 2011 17:46:47 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8KCGkcQ026530 for ; Tue, 20 Sep 2011 22:16:47 +1000 From: Srikar Dronamraju Date: Tue, 20 Sep 2011 17:33:15 +0530 Message-Id: <20110920120315.25326.58862.sendpatchset@srdronam.in.ibm.com> In-Reply-To: <20110920115938.25326.93059.sendpatchset@srdronam.in.ibm.com> References: <20110920115938.25326.93059.sendpatchset@srdronam.in.ibm.com> Subject: [PATCH v5 3.1.0-rc4-tip 16/26] uprobes: Introduce uprobe_task_arch_info structure. Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra , Ingo Molnar Cc: Steven Rostedt , Srikar Dronamraju , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Ananth N Mavinakayanahalli , Hugh Dickins , Christoph Hellwig , Jonathan Corbet , Thomas Gleixner , Masami Hiramatsu , Oleg Nesterov , Andrew Morton , Jim Keniston , Roland McGrath , Andi Kleen , LKML uprobe_task_arch_info structure helps save and restore architecture specific artifacts at the probehit/singlestep/original instruction restore time. Signed-off-by: Jim Keniston Signed-off-by: Srikar Dronamraju --- include/linux/uprobes.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index fa7eaba..30576fa 100644 --- a/include/linux/uprobes.h +++ b/include/linux/uprobes.h @@ -31,6 +31,7 @@ struct vm_area_struct; #else typedef u8 uprobe_opcode_t; struct uprobe_arch_info {}; +struct uprobe_task_arch_info {}; /* arch specific task info */ #define MAX_UINSN_BYTES 4 #endif @@ -86,6 +87,7 @@ struct uprobe_task { unsigned long vaddr; enum uprobe_task_state state; + struct uprobe_task_arch_info tskinfo; struct uprobe *active_uprobe; }; -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org