lkml.org 
[lkml]   [2004]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.10-rc1-mm5
    > Needs a fixup for CONFIG_HIGHMEM
    >
    > --- linux-bix/include/asm/highmem.h~a 2004-11-11 03:07:37.105728944 -0800
    > +++ linux-bix-akpm/include/asm/highmem.h 2004-11-11 03:07:49.511842928 -0800
    > @@ -62,7 +62,7 @@ void kunmap(struct page *page);
    > char *kmap_atomic(struct page *page, enum km_type type);
    > void kunmap_atomic(char *kvaddr, enum km_type type);
    > char *kmap_atomic_pfn(unsigned long pfn, enum km_type type);
    > -struct page *kmap_atomic_to_page(void *ptr);
    > +struct page *kmap_atomic_to_page(char *ptr);
    >
    > #define flush_cache_kmaps() do { } while (0)

    That works. But something broke shmem:

    ipc/shm.c:171: error: `shmem_set_policy' undeclared here (not in a function)
    ipc/shm.c:171: error: initializer element is not constant
    ipc/shm.c:171: error: (near initialization for `shm_vm_ops.set_policy')
    ipc/shm.c:172: error: `shmem_get_policy' undeclared here (not in a function)
    ipc/shm.c:172: error: initializer element is not constant
    ipc/shm.c:172: error: (near initialization for `shm_vm_ops.get_policy')
    make[1]: *** [ipc/shm.o] Error 1
    make[1]: *** Waiting for unfinished jobs....

    ftp://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/config.numaq

    Oddly, I can't see anything that changes shmem_get/set_policy in -mm patch.
    But 2.6.10-rc1 compiles fine ... boggle.

    M.

    -
    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: 2005-03-22 14:07    [W:4.479 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site