diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-05-12 13:44:40 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-18 11:11:01 (GMT) |
commit | e17ba73b0ee6c0f24393c48b455e0d8db761782c (patch) | |
tree | 4a5b1668d8b1251d546412f0285d11402f4d409c /kernel/printk.c | |
parent | 87c8a64475f0597b7fd9c36d2f867ae8ef4a9eca (diff) | |
download | linux-e17ba73b0ee6c0f24393c48b455e0d8db761782c.tar.xz |
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 'kernel/printk.c')
-rw-r--r-- | kernel/printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 70cfa5a..de1a4f4 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -38,7 +38,7 @@ /* * Architectures can override it: */ -void __attribute__((weak)) early_printk(const char *fmt, ...) +void asmlinkage __attribute__((weak)) early_printk(const char *fmt, ...) { } |