]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/perf: Assign an id to each powerpc register
authorAnju T <anju@linux.vnet.ibm.com>
Sat, 20 Feb 2016 05:02:45 +0000 (10:32 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Apr 2016 13:32:59 +0000 (23:32 +1000)
commit1bfadabfebc671a6af0f5008b524b681ce757dec
tree75ee19d09dc732646d7f1af458ea02f4dda68836
parent057b6d7e62ea4e6b1809e2946929d0d586cad142
powerpc/perf: Assign an id to each powerpc register

The enum definition assigns an 'id' to each register in "struct pt_regs"
of arch/powerpc. The order of these values in the enum definition are
based on the order of members in pt_regs.

Signed-off-by: Anju T <anju@linux.vnet.ibm.com>
[mpe: Rename LNK to LINK, use _UAPI_ASM for include guards]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/uapi/asm/perf_regs.h [new file with mode: 0644]