]> err.no Git - linux-2.6/commit
[PATCH] i386: Fix pack_descriptor()
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 26 Sep 2006 08:52:40 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:40 +0000 (10:52 +0200)
commit2817716ace8c397685bd702223cc5a8a42c7e997
tree901fecc20019b1a8dd294bd70a155b8bd4cd6814
parentde09bddb9d6f96785be470c832b881e6d72d589f
[PATCH] i386: Fix pack_descriptor()

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@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
===================================================================
include/asm-i386/desc.h