From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756586Ab1ITMRB (ORCPT ); Tue, 20 Sep 2011 08:17:01 -0400 Received: from e28smtp01.in.ibm.com ([122.248.162.1]:39254 "EHLO e28smtp01.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756088Ab1ITMQ7 (ORCPT ); Tue, 20 Sep 2011 08:16:59 -0400 From: Srikar Dronamraju 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 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; };