Skip to content
Commit 673deb0b authored by Claudio Imbrenda's avatar Claudio Imbrenda Committed by Vasily Gorbik
Browse files

s390/protvirt: fix compilation issue

The kernel fails to compile with CONFIG_PROTECTED_VIRTUALIZATION_GUEST
set but CONFIG_KVM unset.

This patch fixes the issue by making the needed variable always available.

Link: https://lkml.kernel.org/r/20200423120114.2027410-1-imbrenda@linux.ibm.com
Fixes: a0f60f84

 ("s390/protvirt: Add sysfs firmware interface for Ultravisor information")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Reported-by: default avatarPhilipp Rudo <prudo@linux.ibm.com>
Suggested-by: default avatarPhilipp Rudo <prudo@linux.ibm.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Reviewed-by: default avatarCornelia Huck <cohuck@redhat.com>
Reviewed-by: default avatarVasily Gorbik <gor@linux.ibm.com>
Acked-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarClaudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 86dbf32d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment