Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
tools
/
testing
/
selftests
/
powerpc
/
pmu
/
ebb
/
reg_access_test.c
diff --git
a/kernel/tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c
b/kernel/tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c
index
0cae66f
..
5b1188f
100644
(file)
--- a/
kernel/tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c
+++ b/
kernel/tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c
@@
-18,6
+18,8
@@
int reg_access(void)
{
uint64_t val, expected;
+ SKIP_IF(!ebb_is_supported());
+
expected = 0x8000000100000000ull;
mtspr(SPRN_BESCR, expected);
val = mfspr(SPRN_BESCR);