diff options
| author | James Simmons <jsimmons@maxwell.earthlink.net> | 2003-03-24 21:11:11 -0800 |
|---|---|---|
| committer | James Simmons <jsimmons@maxwell.earthlink.net> | 2003-03-24 21:11:11 -0800 |
| commit | 218410936ec1f0022e90df0faf2ece37f314b11f (patch) | |
| tree | 17238ba95153d731e9e449faf999c667a19b9cb8 /include/linux | |
| parent | 72f089e66a7c78301c66e9f6eb72c0e2d60f4e9c (diff) | |
[FBCON] Now we use workqueues so framebuffer code can always work in a process context.
[GENERIC CURSOR] Safety check in case kmalloc failes
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fb.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <linux/tty.h> +#include <linux/workqueue.h> #include <asm/types.h> #include <asm/io.h> @@ -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 */ |
