Good call. This is compile tested only.
regards,
dan carpenter
--- drivers/video/console/fbcon.c.orig 2003-03-23 02:39:23.000000000 +0100
+++ drivers/video/console/fbcon.c 2003-03-23 02:40:39.000000000 +0100
@@ -985,8 +985,8 @@
size = ((width + 7) >> 3) * height;
- data = kmalloc(size, GFP_KERNEL);
- mask = kmalloc(size, GFP_KERNEL);
+ data = kmalloc(size, GFP_ATOMIC);
+ mask = kmalloc(size, GFP_ATOMIC);
if (cursor->set & FB_CUR_SETSIZE) {
memset(data, 0xff, size);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/