- patches.suse/slab-handle-memoryless-nodes-v2a.patch: Refresh.
[linux-flexiantxendom0-3.2.10.git] / arch / x86 / boot / video.c
index d42da38..f767164 100644 (file)
@@ -27,6 +27,12 @@ static void store_cursor_position(void)
 
        boot_params.screen_info.orig_x = oreg.dl;
        boot_params.screen_info.orig_y = oreg.dh;
+
+       if (oreg.ch & 0x20)
+               boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR;
+
+       if ((oreg.ch & 0x1f) > (oreg.cl & 0x1f))
+               boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR;
 }
 
 static void store_video_mode(void)