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: <1330289478-12603-1-git-send-email-paul.gortmaker@windriver.com>
Date:	Sun, 26 Feb 2012 15:51:18 -0500
From:	Paul Gortmaker <paul.gortmaker@...driver.com>
To:	JBottomley@...allels.com, jejb@...isc-linux.org, kyle@...artin.ca,
	deller@....de
Cc:	linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-next@...r.kernel.org, rientjes@...gle.com,
	xiyou.wangcong@...il.com,
	Paul Gortmaker <paul.gortmaker@...driver.com>
Subject: [PATCH] parisc: fix longstanding build failure on prefetch

Upstream commit e66eed651fd18a961f11cda62f3b5286c8cc4f9f

    "list: remove prefetching from regular list iterators"

removed <linux/prefetch.h> from <linux/list.h> very early in the
v3.0 dev cycle (v2.6.39-2-ge66eed6), thereby causing build failures
when it exposed the implicit prefetch users in parisc.

Reported-by: David Rientjes <rientjes@...gle.com>
Reported-by: WANG Cong <xiyou.wangcong@...il.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@...driver.com>
---

[ The parisc defconfig has been failing to build everywhere since
  last May!  http://kisskb.ellerman.id.au/kisskb/target/2059/   And this
  one liner fix https://lkml.org/lkml/2011/10/15/121 was reported last
  Oct, and again http://www.spinics.net/lists/linux-parisc/msg03945.html
  in early Feb.  So, now with a clear reasoning in the commit header as
  to why it fails, can we finally get this in tree please? ]

diff --git a/drivers/parisc/iommu-helpers.h b/drivers/parisc/iommu-helpers.h
index a9c46cc..8c33491 100644
--- a/drivers/parisc/iommu-helpers.h
+++ b/drivers/parisc/iommu-helpers.h
@@ -1,3 +1,5 @@
+#include <linux/prefetch.h>
+
 /**
  * iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir.
  * @ioc: The I/O Controller.
-- 
1.7.9.1

--
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