Re: [PATCH] trivial - remove unused field

Kasper Dupont (kasperd@daimi.au.dk)
Sun, 26 May 2002 14:16:31 +0200


Kasper Dupont wrote:
>
> This patch removes the unused v86mode field from the
> thread_struct. It was tested against 2.4.19-pre8-ac5,
> and I also verified that 2.5.17 did compile with
> this patch.

Here is a version of the patch that applies cleanly
to 2.5.18:

diff -Nur linux.old/include/asm-i386/processor.h linux.new/include/asm-i386/processor.h
--- linux.old/include/asm-i386/processor.h Sat May 25 14:17:40 2002
+++ linux.new/include/asm-i386/processor.h Sat May 25 14:17:15 2002
@@ -367,7 +367,7 @@
/* virtual 86 mode info */
struct vm86_struct * vm86_info;
unsigned long screen_bitmap;
- unsigned long v86flags, v86mask, v86mode, saved_esp0;
+ unsigned long v86flags, v86mask, saved_esp0;
/* IO permissions */
int ioperm;
unsigned long io_bitmap[IO_BITMAP_SIZE+1];

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-report@daimi.au.dk
-
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/