From: Clark Williams <williams@redhat.com>
To: Ingo Molnar <mingo@elte.hu>, Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: -rt x86_64 fix for latency tracing
Date: Fri, 02 Jun 2006 14:37:50 -0500 [thread overview]
Message-ID: <4480938E.3060005@redhat.com> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ingo/Steve,
The included patch fixes a bug that causes a segfault in the init
thread when latency tracing is enabled on x86_64 kernels. Not sure if
it's completely correct, but it gets me past my segfault and lets me
complete booting.
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S
index 066497a..b124409 100644
- --- a/arch/x86_64/kernel/entry.S
+++ b/arch/x86_64/kernel/entry.S
@@ -1089,7 +1089,7 @@ ENTRY(mcount)
mov 0x0(%rbp),%rax
mov 0x8(%rbp),%rdi
- - mov 0x8(%rax),%rsi
+ mov 0x10(%rax),%rsi
call __trace
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFEgJOOHyuj/+TTEp0RAhkEAKDWQu4cvGBvCQi1UyQcDalbR6SPZACglMRH
rVy1tTWHbatDx37pXHAXs1s=
=5Qi9
-----END PGP SIGNATURE-----
next reply other threads:[~2006-06-02 19:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-02 19:37 Clark Williams [this message]
2006-06-02 19:47 ` -rt x86_64 fix for latency tracing Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4480938E.3060005@redhat.com \
--to=williams@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox