powerpc: Add tests for __ppc_set_ppr_* functions.
commit6ec414025531537bf1bb5d1d9ef9c8dcf43b5789
authorWainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
Tue, 21 Feb 2017 13:17:32 +0000 (21 10:17 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Tue, 21 Feb 2017 17:00:01 +0000 (21 14:00 -0300)
treed901963005938357dd49c7d707d785e7cbc84276
parentee6df1e6ab5bf46ff0f71596e8ac46fcb2b790ef
powerpc: Add tests for __ppc_set_ppr_* functions.

The sys/platform/ppc.h header defines a class of __ppc_set_ppr functions
used to set the Program Priority Register (PPR) in PowerPC.
This patch implements test cases for these functions.

Tested on ppc64le, ppc64, and ppc.

* sysdeps/powerpc/tst-set_ppr.c: New file.
Implement test cases for __ppc_set_ppr_* functions.
* sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
in the list of tests.
ChangeLog
sysdeps/powerpc/Makefile
sysdeps/powerpc/tst-set_ppr.c [new file with mode: 0644]