![]() | |||||||||||||
Messages in this thread Patch in this message |
From: John Anthony Kazos Jr. <jakj@j-a-k-j.com> Adds a dependency to ACORN_PARTITION_RISCIX in fs/partitions/Kconfig to prevent compilation of the function riscix_partition which is used only within ACORN_PARTITION_CUMANA and ACORN_PARTITION_ADFS sections, thereby preventing an unused-function compiler warning if ACORN_PARTITION_RISCIX is defined and neither of the other two are. Signed-off-by: John Anthony Kazos Jr. <jakj@j-a-k-j.com> --- Nothing depending on RISCIX is defined except inside CUMANA and ADFS, so without either of those, nothing using the RISCIX stuff is compiled, hance the unused-function warning. --- linux-2.6.20.6-orig/fs/partitions/Kconfig 2007-04-06 16:02:48.000000000 -0400 +++ linux-2.6.20.6-mod/fs/partitions/Kconfig 2007-04-07 22:10:15.000000000 -0400 @@ -62,7 +62,7 @@ config ACORN_PARTITION_POWERTEC config ACORN_PARTITION_RISCIX bool "RISCiX partition support" if PARTITION_ADVANCED default y if ARCH_ACORN - depends on ACORN_PARTITION + depends on ACORN_PARTITION && (ACORN_PARTITION_CUMANA || ACORN_PARTITION_ADFS) help Once upon a time, there was a native Unix port for the Acorn series of machines called RISCiX. If you say 'Y' here, Linux will be able - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2007-04-08 03:43 [from the cache] ©2003-2008 | |||||||||||||