public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial - remove unused field
@ 2002-05-23 21:54 Kasper Dupont
  2002-05-24  4:06 ` Rusty Russell
  2002-05-26 12:16 ` Kasper Dupont
  0 siblings, 2 replies; 3+ messages in thread
From: Kasper Dupont @ 2002-05-23 21:54 UTC (permalink / raw)
  To: Linux-Kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] trivial - remove unused field
  2002-05-23 21:54 [PATCH] trivial - remove unused field Kasper Dupont
@ 2002-05-24  4:06 ` Rusty Russell
  2002-05-26 12:16 ` Kasper Dupont
  1 sibling, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2002-05-24  4:06 UTC (permalink / raw)
  To: Kasper Dupont; +Cc: linux-kernel

On Thu, 23 May 2002 23:54:24 +0200
Kasper Dupont <kasperd@daimi.au.dk> 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.
-- 
   there are those who do and those who hang on and you don't see too
   many doers quoting their contemporaries.  -- Larry McVoy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] trivial - remove unused field
  2002-05-23 21:54 [PATCH] trivial - remove unused field Kasper Dupont
  2002-05-24  4:06 ` Rusty Russell
@ 2002-05-26 12:16 ` Kasper Dupont
  1 sibling, 0 replies; 3+ messages in thread
From: Kasper Dupont @ 2002-05-26 12:16 UTC (permalink / raw)
  To: Linux-Kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-26 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-23 21:54 [PATCH] trivial - remove unused field Kasper Dupont
2002-05-24  4:06 ` Rusty Russell
2002-05-26 12:16 ` Kasper Dupont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox