Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Kernel bump from 4.1.3-rt to 4.1.7-rt.
[kvmfornfv.git]
/
kernel
/
arch
/
s390
/
kernel
/
cache.c
diff --git
a/kernel/arch/s390/kernel/cache.c
b/kernel/arch/s390/kernel/cache.c
index
bff5e3b
..
8ba3243
100644
(file)
--- a/
kernel/arch/s390/kernel/cache.c
+++ b/
kernel/arch/s390/kernel/cache.c
@@
-138,6
+138,8
@@
int init_cache_level(unsigned int cpu)
union cache_topology ct;
enum cache_type ctype;
union cache_topology ct;
enum cache_type ctype;
+ if (!test_facility(34))
+ return -EOPNOTSUPP;
if (!this_cpu_ci)
return -EINVAL;
ct.raw = ecag(EXTRACT_TOPOLOGY, 0, 0);
if (!this_cpu_ci)
return -EINVAL;
ct.raw = ecag(EXTRACT_TOPOLOGY, 0, 0);