summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys/Kconfig
diff options
context:
space:
mode:
authorKen Cox <jkc@redhat.com>2015-07-09 13:28:56 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-14 18:35:55 -0700
commit2164be191e3d627dd7744b7224daf9ad9495c9af (patch)
treebaf0423a39cf66b0c6f02dc20819b796b3ebd088 /drivers/staging/unisys/Kconfig
parent1fc07f99134ba0b8d4099322ea0753137ea7ed3b (diff)
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: kbuild test robot <fengguang.wu@intel.com> Tested-by: Ken Cox <jkc@redhat.com> Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/Kconfig')
-rw-r--r--drivers/staging/unisys/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/Kconfig b/drivers/staging/unisys/Kconfig
index 778f9d05f98a..624abe66c20c 100644
--- a/drivers/staging/unisys/Kconfig
+++ b/drivers/staging/unisys/Kconfig
@@ -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---