summaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2008-05-12 15:44:40 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-18 13:11:01 +0200
commite17ba73b0ee6c0f24393c48b455e0d8db761782c (patch)
tree4a5b1668d8b1251d546412f0285d11402f4d409c /include/linux/kernel.h
parent87c8a64475f0597b7fd9c36d2f867ae8ef4a9eca (diff)
downloadop-kernel-dev-e17ba73b0ee6c0f24393c48b455e0d8db761782c.zip
op-kernel-dev-e17ba73b0ee6c0f24393c48b455e0d8db761782c.tar.gz
x86, generic: mark early_printk as asmlinkage
It's not explicitly marked as asmlinkage, but invoked from x86_32 startup code with parameters on stack. No other architectures define early_printk and none of them are affected by this change, since defines asmlinkage as empty token. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index f2a668c..4cb8d3d 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -207,7 +207,7 @@ static inline bool printk_timed_ratelimit(unsigned long *caller_jiffies, \
{ return false; }
#endif
-extern void __attribute__((format(printf, 1, 2)))
+extern void asmlinkage __attribute__((format(printf, 1, 2)))
early_printk(const char *fmt, ...);
unsigned long int_sqrt(unsigned long);
OpenPOWER on IntegriCloud