]> err.no Git - linux-2.6/commit
x86-64: make pda's cpunumber and nodenumber unsigned
authorJan Beulich <jbeulich@novell.com>
Wed, 30 Jan 2008 12:31:21 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:21 +0000 (13:31 +0100)
commitd88879b2d0225da3ba460bbdb8361bb049653671
treed9a0b8a215434eab6f29df389780dd73b427b8dd
parentbdb4f156064e5f627213af82292eb8b5cf2dc5aa
x86-64: make pda's cpunumber and nodenumber unsigned

This generally allows better code to be generated, since the zero-
extension during 32-bit operations comes for free (needed when the
result is used as array index or similar), whereas sign extension must
be done explicitly and frequently requires a one byte larger
instruction due to the necessary rex64 prefix.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/pda.h