]> git.baikalelectronics.ru Git - kernel.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)
commit2f8a4e17c22b93876d97a9468ec6723f938a9139
tree75ee19d09dc732646d7f1af458ea02f4dda68836
parentc0bec751f993613e811819c685b77da3120fca44
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]