We need to include kthread.h before the afs standard includes
to avoid clashing with the printf -> printk mapping.
Change-Id: I965916515bd14a5a08b0f280cf8e7f9935d8aa50
Reviewed-on: http://gerrit.openafs.org/7988
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
#include <afsconfig.h>
#include "afs/param.h"
+#if defined(HAVE_LINUX_KTHREAD_RUN) && !defined(UKERNEL)
+# include "h/kthread.h"
+#endif
#include "afs/sysincludes.h" /* Standard vendor system headers */
#include "afsincludes.h" /* Afs-based standard headers */
# include "netinet/in_var.h"
# endif
# endif
-# ifdef HAVE_LINUX_KTHREAD_RUN
-# include "h/kthread.h"
-# endif
#endif /* !defined(UKERNEL) */
#ifdef AFS_SUN510_ENV
#include "h/ksynch.h"