From patchwork Mon Jul 24 20:42:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Romero X-Patchwork-Id: 21745 X-Patchwork-Delegate: schwab@linux-m68k.org Received: (qmail 50527 invoked by alias); 24 Jul 2017 20:42:49 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 50177 invoked by uid 89); 24 Jul 2017 20:42:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-languages-length:1091 X-HELO: mx0a-001b2d01.pphosted.com From: Gustavo Romero To: libc-alpha@sourceware.org Cc: Gustavo Romero Subject: [PATCH] elf/elf.h: Add NT_PPC_TM_SPR Date: Mon, 24 Jul 2017 16:42:25 -0400 X-TM-AS-MML: disable x-cbid: 17072420-0020-0000-0000-000002C14A56 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17072420-0021-0000-0000-000030E165B4 Message-Id: <1500928945-32220-1-git-send-email-gromero@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-07-24_12:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1707240316 Linux kernel 4.8 added the NT_PPC_TM_SPR regset for ppc64. * elf/elf.h: Add NT_PPC_TM_SPR. --- ChangeLog | 4 ++++ elf/elf.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 554fdac..04d680a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-07-24 Gustavo Romero + + * elf/elf.h: Add NT_PPC_TM_SPR. + 2017-07-24 Adhemerval Zanella H.J. Lu diff --git a/elf/elf.h b/elf/elf.h index 3900b4c..433f310 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -763,6 +763,7 @@ typedef struct #define NT_PPC_SPE 0x101 /* PowerPC SPE/EVR registers */ #define NT_PPC_VSX 0x102 /* PowerPC VSX registers */ #define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */ +#define NT_PPC_TM_SPR 0x10c /* PowerPC HW Transactional Memory SPRs */ #define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */ #define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */ #define NT_S390_HIGH_GPRS 0x300 /* s390 upper register halves */