[PATCH 1/1] mspec driver: tighten Kconfig dependencies

From: Fernando Luis Vázquez Cao
Date: Tue Nov 07 2006 - 01:31:01 EST


The mspec driver needs bte_copy (a sn-specific function) as well as some
functions of the uncached page allocator, but these dependencies are not
reflected in Kconfig which leads to compile errors with certain
configurations.

Signed-off-by: Fernando Vazquez <fernando@xxxxxxxxxxxxxxxxx>
---

diff -urNp linux-2.6.19-rc4-orig/drivers/char/Kconfig
linux-2.6.19-rc4/drivers/char/Kconfig
--- linux-2.6.19-rc4-orig/drivers/char/Kconfig 2006-11-07
14:02:31.000000000 +0900
+++ linux-2.6.19-rc4/drivers/char/Kconfig 2006-11-07
14:59:33.000000000 +0900
@@ -411,7 +411,8 @@ config SGI_MBCS

config MSPEC
tristate "Memory special operations driver"
- depends on IA64
+ depends on IA64 && (IA64_GENERIC || IA64_SGI_SN2)
+ select IA64_UNCACHED_ALLOCATOR
help
If you have an ia64 and you want to enable memory special
operations support (formerly known as fetchop), say Y here,


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/