summaryrefslogtreecommitdiff
path: root/include/linux/kthread.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-11-25 10:48:00 -0800
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-11-25 10:48:00 -0800
commit27f6cbecbf60e2dd2be49a945e9966ed6b20b2de (patch)
tree2416ab37445ec5ec8e669016a2d1f5573863d73c /include/linux/kthread.h
parent7cf095f46f0ca52773a431db8ac0bf4a07a3501b (diff)
parenteb1852b10593dc3ca73e02bf9ac4753a5a464905 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into wireless-next
Diffstat (limited to 'include/linux/kthread.h')
-rw-r--r--include/linux/kthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/kthread.h b/include/linux/kthread.h
index 1e923e5e88e8..5cac19b3a266 100644
--- a/include/linux/kthread.h
+++ b/include/linux/kthread.h
@@ -4,11 +4,11 @@
#include <linux/err.h>
#include <linux/sched.h>
+__printf(4, 5)
struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
void *data,
int node,
- const char namefmt[], ...)
- __attribute__((format(printf, 4, 5)));
+ const char namefmt[], ...);
#define kthread_create(threadfn, data, namefmt, arg...) \
kthread_create_on_node(threadfn, data, -1, namefmt, ##arg)