trivial - remove unused field
PATCH 1/1 trivial - remove unused field
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.
include/asm-i386/processor.h +1 -1
@@ -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 ];
Signature · 2 lines
Kasper Dupont -- der bruger for meget tid på usenet. For sending spam use mailto:[email protected]
Quoted 4 lines · On Thu, 23 May 2002 23:54:24 +0200 Kasper Dupont <[email protected]> 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.
<plug>
Trivial Patch Monkey - trivial at rustcorp.com.au
</plug>
Rusty.
Signature · 2 lines
there are those who do and those who hang on and you don't see too many doers quoting their contemporaries. -- Larry McVoy
Quoted 5 lines · Kasper Dupont
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:
include/asm-i386/processor.h +1 -1
@@ -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 ];
Signature · 2 lines
Kasper Dupont -- der bruger for meget tid på usenet. For sending spam use mailto:[email protected]