linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* no_idt update for 2.4
@ 2003-08-17 11:34 J.A. Magallon
  0 siblings, 0 replies; only message in thread
From: J.A. Magallon @ 2003-08-17 11:34 UTC (permalink / raw)
  To: Lista Linux-Kernel; +Cc: Marcelo Tosatti

Hi...

As I tend to collect things that make gcc-3.3 happy witgh 2.4, here is
the backport of the no_idt change to 2.4.22-rc2. On time for final ?

TIA

--- linux-2.4.22-rc2/arch/i386/kernel/process.c.orig	2003-08-17
12:58:47.000000000 +0200
+++ linux-2.4.22-rc2/arch/i386/kernel/process.c	2003-08-17
13:01:41.000000000 +0200
@@ -151,7 +151,6 @@
 
 __setup("idle=", idle_setup);
 
-static long no_idt[2];
 static int reboot_mode;
 int reboot_thru_bios;
 
@@ -222,7 +221,8 @@
 	unsigned long long * base __attribute__ ((packed));
 }
 real_mode_gdt = { sizeof (real_mode_gdt_entries) - 1, real_mode_gdt_entries },
-real_mode_idt = { 0x3ff, 0 };
+real_mode_idt = { 0x3ff, 0 },
+no_idt = { 0, 0 };
 
 /* This is 16-bit protected mode code to disable paging and the cache,
    switch to real mode and jump to the BIOS reset code.


-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.22-rc2-jam1m (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-17 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-17 11:34 no_idt update for 2.4 J.A. Magallon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).