diff options
| author | Mark Brown <broonie@linaro.org> | 2014-03-06 08:43:51 +0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-03-06 08:43:51 +0400 |
| commit | e37912fd0bdf174e934af6cfb0002a077867b644 (patch) | |
| tree | c661c8a6e20e013abf4dd5ac27b9a70f218ff290 /include/linux/workqueue.h | |
| parent | 8535736c27cc4e25b9948d857138315f45b6fa34 (diff) | |
| parent | 37f204164dfb0186a0caf20bc3e3120080bcd788 (diff) | |
| download | linux-e37912fd0bdf174e934af6cfb0002a077867b644.tar.xz | |
Merge branch 'pm-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm into spi-pl022
Diffstat (limited to 'include/linux/workqueue.h')
| -rw-r--r-- | include/linux/workqueue.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 594521ba0d43..704f4f652d0a 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h @@ -419,10 +419,7 @@ __alloc_workqueue_key(const char *fmt, unsigned int flags, int max_active, static struct lock_class_key __key; \ const char *__lock_name; \ \ - if (__builtin_constant_p(fmt)) \ - __lock_name = (fmt); \ - else \ - __lock_name = #fmt; \ + __lock_name = #fmt#args; \ \ __alloc_workqueue_key((fmt), (flags), (max_active), \ &__key, __lock_name, ##args); \ |
