From 218410936ec1f0022e90df0faf2ece37f314b11f Mon Sep 17 00:00:00 2001 From: James Simmons Date: Mon, 24 Mar 2003 21:11:11 -0800 Subject: [FBCON] Now we use workqueues so framebuffer code can always work in a process context. [GENERIC CURSOR] Safety check in case kmalloc failes --- include/linux/fb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/fb.h b/include/linux/fb.h index a07ff08f5fd4..fa77d12eb5b8 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -2,6 +2,7 @@ #define _LINUX_FB_H #include +#include #include #include @@ -406,8 +407,9 @@ struct fb_info { struct fb_fix_screeninfo fix; /* Current fix */ struct fb_monspecs monspecs; /* Current Monitor specs */ struct fb_cursor cursor; /* Current cursor */ - struct fb_cmap cmap; /* Current cmap */ + struct work_struct queue; /* Framebuffer event queue */ struct fb_pixmap pixmap; /* Current pixmap */ + struct fb_cmap cmap; /* Current cmap */ struct fb_ops *fbops; char *screen_base; /* Virtual address */ struct vc_data *display_fg; /* Console visible on this display */ -- cgit v1.2.3