linux-mips
[Top] [All Lists]

[RFC] mips/swarm: fixup screen_info struct

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [RFC] mips/swarm: fixup screen_info struct
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date: Wed, 21 Apr 2010 20:55:47 +0200
Cc: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-06-14)
|arch/mips/sibyte/swarm/setup.c:153:
| warning: large integer implicitly truncated to unsigned type

The field was changed in d9b26352 aka ("x86, setup: Store the boot
cursor state").
This patch changes the values back they way they were before this extra
field got introduced. I have no idea who needs it anyway.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
Using C99 initializer might be better

 arch/mips/sibyte/swarm/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/sibyte/swarm/setup.c b/arch/mips/sibyte/swarm/setup.c
index 5277aac..128b699 100644
--- a/arch/mips/sibyte/swarm/setup.c
+++ b/arch/mips/sibyte/swarm/setup.c
@@ -150,7 +150,7 @@ void __init plat_mem_setup(void)
                52,             /* orig_video_page */
                3,              /* orig_video_mode */
                80,             /* orig_video_cols */
-               4626, 3, 9,     /* unused, ega_bx, unused */
+               12, 12, 3, 9,   /* flags, unused, ega_bx, unused */
                25,             /* orig_video_lines */
                0x22,           /* orig_video_isVGA */
                16              /* orig_video_points */
-- 
1.6.6.1


<Prev in Thread] Current Thread [Next in Thread>