mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
Linux: include kthread.h before afs includes
We need to include kthread.h before the afs standard includes to avoid clashing with the printf -> printk mapping. Reviewed-on: http://gerrit.openafs.org/7988 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org> (cherry picked from commit 8b6926e43f31a30a95e5883fd4b9e72924b3371d) Change-Id: I0dbb696e3af5172c9a72d183f2acd10107bedcf5 Reviewed-on: http://gerrit.openafs.org/8605 Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com> Tested-by: Stephan Wiesand <stephan.wiesand@desy.de> Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
cd91bbac76
commit
0776f5dadd
@ -10,6 +10,9 @@
|
||||
#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 */
|
||||
@ -25,9 +28,6 @@
|
||||
# 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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user