Gitweb: http://git.kernel.org/linus/abf1e11a0dcf5514139cb76ed8eb050107653abd Commit: abf1e11a0dcf5514139cb76ed8eb050107653abd Parent: 538e23615fe78b6da151ef136e3f7c6ad1fda2c1 Author: Kyle McMartin <kyle@mcmartin.ca> AuthorDate: Tue Jun 23 21:32:18 2009 -0400 Committer: Kyle McMartin <kyle@mcmartin.ca> CommitDate: Fri Jul 3 03:34:11 2009 +0000 parisc: add task_pt_regs macro needed for perf_counters. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca> --- arch/parisc/include/asm/processor.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index 9d64df8..9ce66e9 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h @@ -18,6 +18,7 @@ #include <asm/types.h> #include <asm/system.h> #include <asm/percpu.h> + #endif /* __ASSEMBLY__ */ #define KERNEL_STACK_SIZE (4*PAGE_SIZE) @@ -127,6 +128,8 @@ struct thread_struct { unsigned long flags; }; +#define task_pt_regs(tsk) ((struct pt_regs *)&((tsk)->thread.regs)) + /* Thread struct flags. */ #define PARISC_UAC_NOPRINT (1UL << 0) /* see prctl and unaligned.c */ #define PARISC_UAC_SIGBUS (1UL << 1) -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Thomas Gleixner | Re: Linux 2.6.21-rc1 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| James Bottomley | [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Christoph Hellwig | Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2] |
| Linus Torvalds | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
