diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-09-09 16:10:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 17:03:40 -0400 |
commit | 88fb2c6efba8d9e941e9fb61f37dbeafc869fd75 (patch) | |
tree | c8b99ee91b35968d4482cd2f5b2bde3b9a46e19f /drivers/video/console/fbcon.h | |
parent | c52890cc366429798b3c97266d0a377810e08400 (diff) |
[PATCH] fbcon: Stop cursor timer if console is inactive
If console is blanked or in KD_GRAPHICS mode, delete cursor timer. No sense
flashing the cursor when there's nothing to be seen.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/console/fbcon.h')
-rw-r--r-- | drivers/video/console/fbcon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h index 5d377860bce2..08befafe11d1 100644 --- a/drivers/video/console/fbcon.h +++ b/drivers/video/console/fbcon.h | |||
@@ -18,7 +18,8 @@ | |||
18 | 18 | ||
19 | #include <asm/io.h> | 19 | #include <asm/io.h> |
20 | 20 | ||
21 | #define FBCON_FLAGS_INIT 1 | 21 | #define FBCON_FLAGS_INIT 1 |
22 | #define FBCON_FLAGS_CURSOR_TIMER 2 | ||
22 | 23 | ||
23 | /* | 24 | /* |
24 | * This is the interface between the low-level console driver and the | 25 | * This is the interface between the low-level console driver and the |