Comment 2 for bug 1172323

Revision history for this message
Ike Panhc (ikepanhc) wrote :

Only two line added for this rebase which is

diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index afa804f..e4cc585 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1177,8 +1177,10 @@ static long do_fb_ioctl(struct fb_info *info, unsigned int cmd,
                event.data = &con2fb;
                if (!lock_fb_info(info))
                        return -ENODEV;
+ console_lock();
                event.info = info;
                ret = fb_notifier_call_chain(FB_EVENT_SET_CONSOLE_MAP, &event);
+ console_unlock();
                unlock_fb_info(info);
                break;
        case FBIOBLANK:

It only affect when ioctl(FBIOPUT_CON2FBMAP) which shall be rare case for armadaxp, but not none.

Since this is a fix. I will go on and re-spin armadaxp-quantal