lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1295008191-1596-1-git-send-email-mmarek@suse.cz>
Date:	Fri, 14 Jan 2011 13:29:51 +0100
From:	Michal Marek <mmarek@...e.cz>
To:	Chris Ball <cjb@...top.org>
Cc:	linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] mmc: sdhci-of does not build on x86

After commit c10d1e2, CONFIG_OLPC selects CONFIG_OF, which enables to
select CONFIG_MMC_SDHCI_OF, which does not build on x86:

drivers/mmc/host/sdhci-of-core.c:24:25: fatal error: asm/machdep.h: No
such file or directory

Signed-off-by: Michal Marek <mmarek@...e.cz>
---

I don't know if the driver could possibly work on some OLPC hardware,
but it wasn't used on x86 before, so this patch won't make things any worse.

Michal
---
 drivers/mmc/host/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index afe8c6f..9901656 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -83,7 +83,7 @@ config MMC_RICOH_MMC
 
 config MMC_SDHCI_OF
 	tristate "SDHCI support on OpenFirmware platforms"
-	depends on MMC_SDHCI && OF
+	depends on MMC_SDHCI && OF && !X86
 	help
 	  This selects the OF support for Secure Digital Host Controller
 	  Interfaces.
-- 
1.7.3.4

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ