lkml.org 
[lkml]   [2004]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[12/12] fix thread_info.h ignoring __HAVE_THREAD_FUNCTIONS
     * Check __HAVE_THREAD_FUNCTIONS in include/linux/thread_info.h (m68k)
    This fixes the build on m68k; its thread_info functions need to be used.

    Index: linux-2.5/include/linux/thread_info.h
    ===================================================================
    --- linux-2.5.orig/include/linux/thread_info.h 2004-06-13 11:57:45.000000000 -0700
    +++ linux-2.5/include/linux/thread_info.h 2004-06-13 12:08:57.000000000 -0700
    @@ -21,6 +21,7 @@
    #include <asm/thread_info.h>

    #ifdef __KERNEL__
    +#ifndef __HAVE_THREAD_FUNCTIONS

    /*
    * flag set/clear/test wrappers
    @@ -87,6 +88,7 @@
    clear_thread_flag(TIF_NEED_RESCHED);
    }

    -#endif
    +#endif /* __HAVE_THREAD_FUNCTIONS */
    +#endif /* __KERNEL__ */

    #endif /* _LINUX_THREAD_INFO_H */
    -
    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:03    [W:0.071 / U:0.936 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site