[lkml]   [2012]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    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 <>
    Reported-by: WANG Cong <>
    Signed-off-by: Paul Gortmaker <>

    [ The parisc defconfig has been failing to build everywhere since
    last May! And this
    one liner fix was reported last
    Oct, and again
    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.

     \ /
      Last update: 2012-02-26 21:55    [W:0.018 / U:8.028 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site