#include <asm/uaccess.h>
#include <linux/consolemap.h>
#include <linux/vt_kern.h>
+#include <linux/delay.h>
static unsigned short translations[][256] = {
/* 8-bit Latin-1 mapped to Unicode -- trivial mapping */
if (!(p2 = p1[n = (unicode >> 6) & 0x1f])) {
p2 = p1[n] = kmalloc(64*sizeof(u16), GFP_KERNEL);
if (!p2) return -ENOMEM;
+
+ /* WORKAROUND: This delay time prevent NULL point error. */
+ udelay(1);
+
memset(p2, 0xff, 64*sizeof(u16)); /* No glyphs for the characters (yet) */
}