summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-26 00:56:08 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-26 00:56:08 +0000
commitdf95a2f619926cc20f059dca302e62f5242d7bf8 (patch)
tree910a6d30ff1659124a98f58c750e18a0a79f5f12 /kernel/printk.c
parenta5dd172779d70801c2856aa4a4d37ca027084313 (diff)
Workaround for binutils bug.
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index fa18cc558..f1cf10cff 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -35,6 +35,10 @@ static char buf[1024];
#define DEFAULT_CONSOLE_LOGLEVEL 7 /* anything MORE serious than KERN_DEBUG */
unsigned long log_size = 0;
+/* 2.3.47 triggers a linker bug which hits if for a relocation the addend
+ equals the offset and the relocation is against a global variable. This
+ avoid it to hit us. It's not a safe workaround of course. */
+unsigned long silly_linker_bug = 0;
DECLARE_WAIT_QUEUE_HEAD(log_wait);
/* Keep together for sysctl support */