lkml.org 
[lkml]   [2008]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[2.6 patch] sparc: export kmap_atomic_to_page
    This patch fixes the following build error exposed by commit 
    3a0086a80ab7c2f1adb0e9b2a6fc82632979cec5:

    <-- snip -->

    MODPOST 1741 modules
    ERROR: "kmap_atomic_to_page" [drivers/scsi/aacraid/aacraid.ko] undefined!
    ...
    make[2]: *** [__modpost] Error 1

    <-- snip -->

    Signed-off-by: Adrian Bunk <bunk@kernel.org>

    ---

    arch/sparc/mm/highmem.c | 2 ++
    1 file changed, 2 insertions(+)

    e0d104bd0a5560ef4c836af8eb1ddd70dfb01db5 diff --git a/arch/sparc/mm/highmem.c b/arch/sparc/mm/highmem.c
    index 01fc6c2..145ac7f 100644
    --- a/arch/sparc/mm/highmem.c
    +++ b/arch/sparc/mm/highmem.c
    @@ -24,6 +24,7 @@
    */
    #include <linux/mm.h>
    #include <linux/highmem.h>
    +#include <linux/module.h>
    #include <asm/pgalloc.h>
    #include <asm/cacheflush.h>
    #include <asm/tlbflush.h>
    @@ -116,3 +117,4 @@ struct page *kmap_atomic_to_page(void *ptr)
    pte = kmap_pte - (idx - FIX_KMAP_BEGIN);
    return pte_page(*pte);
    }
    +EXPORT_SYMBOL_GPL(kmap_atomic_to_page);


    \
     
     \ /
      Last update: 2008-04-14 16:27    [W:3.905 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site