Tracing pull request
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJTOwCwAAoJEJykq7OBq3PIhugIAIIUqFqLsUGYSLt5higk+PZv Lzt7/KIxAdJYQL20KhXVSjoBI45hco7yxcRU0YVFo10KShQd0kIHefkUfo/QYTpB LUFx+/0odIFQoyawc/mDmLYWkt9/Zrgk9S08Edg6Xnzl33rd7dL9ouJHE7jYBTVX DilLgJYJz3PCCnJ0UohKDvDthZtJPKvZOlTCqZ5zQFj/RQm5scLrdOHOAf9xdYaj BC+PmrCXLP0XFOo0T+/b4IgyrZ3v9qoJG6h5P7+s1WsMNV2pM6/Y87tMqwoNmelT popknGD+e8u0/tDtaqB9PXtL7PrLRYom3JpS173O3L6BwMWkGtvW0UlPdACaR5M= =ZyB2 -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging Tracing pull request # gpg: Signature made Tue 01 Apr 2014 19:08:48 BST using RSA key ID 81AB73C8 # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" # gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" * remotes/stefanha/tags/tracing-pull-request: trace: add workaround for SystemTap PR13296 Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
82c6f51373
@ -117,7 +117,12 @@ void apic_report_irq_delivered(int delivered)
|
||||
|
||||
void apic_reset_irq_delivered(void)
|
||||
{
|
||||
trace_apic_reset_irq_delivered(apic_irq_delivered);
|
||||
/* Copy this into a local variable to encourage gcc to emit a plain
|
||||
* register for a sys/sdt.h marker. For details on this workaround, see:
|
||||
* https://sourceware.org/bugzilla/show_bug.cgi?id=13296
|
||||
*/
|
||||
volatile int a_i_d = apic_irq_delivered;
|
||||
trace_apic_reset_irq_delivered(a_i_d);
|
||||
|
||||
apic_irq_delivered = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user