[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <44F2B557.6020403@suse.de>
Date: Mon, 28 Aug 2006 11:20:23 +0200
From: Gerd Hoffmann <kraxel@...e.de>
To: linux kernel mailing list <linux-kernel@...r.kernel.org>
Cc: Andreas Kleen <ak@...e.de>
Subject: [patch] fix up smp alternatives on x86-64
Don't use alternative_smp() in for __raw_spin_lock. gcc
sometimes generates rip-relative addressing, so we can't
simply copy the instruction to another place.
Replace some leftover "lock;" with LOCK_PREFIX.
Fillup space with 0x90 (nop) instead of 0x42, so
"objdump -d -j .smp_altinstr_replacement vmlinux" gives more
readable results.
--
Gerd Hoffmann <kraxel@...e.de>
http://www.suse.de/~kraxel/julika-dora.jpeg
View attachment "smpalt-fixup" of type "text/plain" (3250 bytes)
Powered by blists - more mailing lists