x86: use compiler visible "add" instead of inline assembly "or" in get_cpu_info()
authorJan Beulich <jbeulich@suse.com>
Wed, 26 Sep 2012 09:49:56 +0000 (11:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Sep 2012 09:49:56 +0000 (11:49 +0200)
commitd55c5eefe190e5b0e571b8e9d54616376697ce7e
treec99001155675f593acb6c09191354745357fac98
parentf430ebef51f16767ec5e127131cdb3115aa1ae1b
x86: use compiler visible "add" instead of inline assembly "or" in get_cpu_info()

This follows the same idea as the previous patch, just that the effect
is much more visible here: With a half-way [dr]ecent gcc this reduced
.text size by over 12k for me.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/include/asm-x86/current.h