From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: adeos-main <adeos-main@gna.org>
Subject: [Adeos-main] [PATCH] x86: Update comment regarding __fixup_if
Date: Mon, 26 Apr 2010 10:54:21 +0200 [thread overview]
Message-ID: <4BD554BD.4060803@domain.hid> (raw)
Properly reflect the changes ed2e37c brought.
Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---
arch/x86/kernel/ipipe.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/x86/kernel/ipipe.c b/arch/x86/kernel/ipipe.c
index 116fee7..9425fbd 100644
--- a/arch/x86/kernel/ipipe.c
+++ b/arch/x86/kernel/ipipe.c
@@ -749,11 +749,12 @@ int __ipipe_handle_exception(struct pt_regs *regs, long error_code, int vector)
if (likely(ipipe_root_domain_p)) {
/*
- * In case we faulted in the iret path, regs.flags do not
- * match the root domain state. The fault handler or the
- * low-level return code may evaluate it. Fix this up, either
- * by the root state sampled on entry or, if we migrated to
- * root, with the current state.
+ * If root is not the topmost domain or in case we faulted in
+ * the iret path of x86-32, regs.flags does not match the root
+ * domain state. The fault handler or the low-level return
+ * code may evaluate it. So fix this up, either by the root
+ * state sampled on entry or, if we migrated to root, with the
+ * current state.
*/
__fixup_if(root_entry ? raw_irqs_disabled_flags(flags) :
raw_irqs_disabled(), regs);
reply other threads:[~2010-04-26 8:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4BD554BD.4060803@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=adeos-main@gna.org \
--cc=rpm@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.