[PATCH] printk: Remove double asmlinkage in printk_emit

From: Simon KÃgstrÃm
Date: Mon Mar 17 2014 - 09:05:43 EST


The double asmlinkage was introduced in
7ff9554bb578ba02166071d2d487b7fc7d860d62 ("printk: convert byte-buffer
to variable-length record buffer").

Signed-off-by: Simon Kagstrom <simon.kagstrom@xxxxxxxxxxxxxx>
---
include/linux/printk.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index 3db126f..c34f0fb 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -124,9 +124,9 @@ asmlinkage __printf(1, 0)
int vprintk(const char *fmt, va_list args);

asmlinkage __printf(5, 6) __cold
-asmlinkage int printk_emit(int facility, int level,
- const char *dict, size_t dictlen,
- const char *fmt, ...);
+int printk_emit(int facility, int level,
+ const char *dict, size_t dictlen,
+ const char *fmt, ...);

asmlinkage __printf(1, 2) __cold
int printk(const char *fmt, ...);
--
1.7.9.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/