projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4078006
)
[PATCH] i810fb_cursor(): use GFP_ATOMIC
author
Antonino A. Daplas
<adaplas@pol.net>
Wed, 22 Mar 2006 08:07:36 +0000
(
00:07
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:53:55 +0000
(07:53 -0800)
The console cursor can be called in atomic context. Change memory
allocation to use the GFP_ATOMIC flag in i810fb_cursor().
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/i810/i810_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/i810/i810_main.c
b/drivers/video/i810/i810_main.c
index d8467c03b49f69d608a7aa506735cfdc5cf53f76..788297e9d59e16eef99a896ba4d63927f2d2f70b 100644
(file)
--- a/
drivers/video/i810/i810_main.c
+++ b/
drivers/video/i810/i810_main.c
@@
-1508,7
+1508,7
@@
static int i810fb_cursor(struct fb_info *info, struct fb_cursor *cursor)
int size = ((cursor->image.width + 7) >> 3) *
cursor->image.height;
int i;
- u8 *data = kmalloc(64 * 8, GFP_
KERNEL
);
+ u8 *data = kmalloc(64 * 8, GFP_
ATOMIC
);
if (data == NULL)
return -ENOMEM;