lkml.org 
[lkml]   [2003]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectno_idt update for 2.4
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))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.023 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site