[lkml]   [2004]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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....

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


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:07    [W:0.019 / U:62.904 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site