Commit 2164be19 authored by Ken Cox's avatar Ken Cox Committed by Greg Kroah-Hartman

staging: unisys: Fix broken build when ARCH=um

When building with ARCH=um you get the following error:

arch/x86/include/asm/cpufeature.h:252:42: error: 'REQUIRED_MASK0'
	undeclared

The Unisys drivers should not be compiled for UML, so this patch addresses
that by adding a dependency to kconfig for !UML.
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Tested-by: default avatarKen Cox <jkc@redhat.com>
Signed-off-by: default avatarKen Cox <jkc@redhat.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1fc07f99
......@@ -3,7 +3,7 @@
#
menuconfig UNISYSSPAR
bool "Unisys SPAR driver support"
depends on X86_64
depends on X86_64 && !UML
select PCI
select ACPI
---help---
......
Markdown is supported
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