linux-next: build failure after merge of the final tree (akpm treerelated)

From: Stephen Rothwell
Date: Sun Mar 03 2013 - 22:28:34 EST


Hi all,

After merging the final tree, today's linux-next build (arm defconfig)
failed like this:

kernel/built-in.o: In function `console_unlock':
cpu_pm.c:(.text+0x4418): undefined reference to `__bad_udelay'

Caused by commit 4df7323a125f ("printk: avoid softlockups in
console_unlock()") which added

ndelay(max_interrupt_disabled_duration() / 2);

to console_unlock() which can be a 2.5 second delay ... and the maximum
delayed allowed by udelay (at least in this build) is 2ms.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature