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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux