]> git.hungrycats.org Git - linux/commit
ia64: Prevent GCC from clobbering r13. Found by Luming You.
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Wed, 17 Mar 2004 02:18:16 +0000 (18:18 -0800)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Wed, 17 Mar 2004 02:18:16 +0000 (18:18 -0800)
commit0b375cdba7e7079f27720daebff4b44738911df7
tree208aef86fa7caf0092b38c679687d5ed5dc04bcf
parent1b811d97fb75f3dfdd7183494fb6629275e81f45
ia64: Prevent GCC from clobbering r13.  Found by Luming You.

Without this change, GCC thinks it's OK to clobber r13.  It doesn't do it
very often, but it's enough if it does it once and it turns out
acpi_bus_receive_event() had code that would trigger this issue.
Fix by declaring r13 as a global register variable.
include/asm-ia64/gcc_intrin.h