[lkml]   [2007]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject2.6.22-rc3-mm1: Xen compile error with X86_CMPXCHG=n
    I'm getting the following compile error in 2.6.22-rc3-mm1 with 
    CONFIG_X86_CMPXCHG=n (with -Werror-implicit-function-declaration -
    otherwise it would be a link error):

    <-- snip -->

    CC drivers/xen/grant-table.o
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc3-mm1/drivers/xen/grant-table.c: In function ‘gnttab_end_foreign_access_ref’:
    /home/bunk/linux/kernel-2.6/linux-2.6.22-rc3-mm1/drivers/xen/grant-table.c:203: error: implicit declaration of function ‘sync_cmpxchg’
    make[3]: *** [drivers/xen/grant-table.o] Error 1

    <-- snip -->

    Adding a dependency of XEN on X86_CMPXCHG should not be a problem and
    not prevent any reasonable real-life usage.

    But what worries me is that a seemingly architecture independent
    driver uses a function only available in some configurations.



    "Is there not promise of rain?" Ling Tan asked suddenly out
    of the darkness. There had been need of rain for many days.
    "Only a promise," Lao Er said.
    Pearl S. Buck - Dragon Seed

    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: 2007-06-02 15:59    [W:0.020 / U:41.988 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site