- fix-asm-i386-deschpack_descriptor.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Fix asm-i386/desc.h:pack_descriptor()

has been removed from the -mm tree.  Its filename is

     fix-asm-i386-deschpack_descriptor.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: Fix asm-i386/desc.h:pack_descriptor()
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>

Fix pack_descriptor:
 1. flags are bits 20-23 in the high word
 2. limit's 4 msb are bits 16-19 in the high word

These haven't mattered so far, because all users have had small limits
and a flags setting of 0.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm-i386/desc.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/asm-i386/desc.h~fix-asm-i386-deschpack_descriptor include/asm-i386/desc.h
--- a/include/asm-i386/desc.h~fix-asm-i386-deschpack_descriptor
+++ a/include/asm-i386/desc.h
@@ -41,7 +41,7 @@ static inline void pack_descriptor(__u32
 {
 	*a = ((base & 0xffff) << 16) | (limit & 0xffff);
 	*b = (base & 0xff000000) | ((base & 0xff0000) >> 16) |
-	     ((type & 0xff) << 8) | ((flags & 0xf) << 12);
+		(limit & 0x000f0000) | ((type & 0xff) << 8) | ((flags & 0xf) << 20);
 }
 
 static inline void pack_gate(__u32 *a, __u32 *b,
_

Patches currently in -mm which might be from jeremy@xxxxxxxx are

x86-reserve-a-boot-loader-id-number-for-xen.patch
x86-remove-default_ldt-and-simplify-ldt-setting.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux