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    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site