[PATCH] trivial - remove unused field

Kasper Dupont (kasperd@daimi.au.dk)
Thu, 23 May 2002 23:54:24 +0200


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.

This field appears to be unused in all 2.4 and 2.5
kernels.

diff -Nur linux.old/include/asm-i386/processor.h linux.new/include/asm-i386/processor.h
--- linux.old/include/asm-i386/processor.h Thu May 23 08:50:25 2002
+++ linux.new/include/asm-i386/processor.h Thu May 23 08:50:38 2002
@@ -378,7 +378,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/