From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>, Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH v3 4/5] xen: Misc cleanup as a result of the previous patches
Date: Mon, 24 Feb 2014 16:22:52 +0000 [thread overview]
Message-ID: <530B71DC.7090002@citrix.com> (raw)
In-Reply-To: <530B7C01020000780011EE6F@nat28.tlf.novell.com>
On 24/02/14 16:06, Jan Beulich wrote:
>>>> On 24.02.14 at 16:01, Andrew Cooper <andrew.cooper3@citrix.com> wrote:
>> --- a/xen/arch/x86/mm/shadow/common.c
>> +++ b/xen/arch/x86/mm/shadow/common.c
>> @@ -875,7 +875,6 @@ static int sh_skip_sync(struct vcpu *v, mfn_t gl1mfn)
>> SHADOW_ERROR("gmfn %#lx was OOS but not shadowed as an l1.\n",
>> mfn_x(gl1mfn));
>> BUG();
>> - return 0; /* BUG() is no longer __attribute__((noreturn)). */
>> }
> Did you check that this is fine with the whole range of compiler
> versions we support? Also, s/no longer/now/ ?
>
> Jan
>
It was tested on GCC 4.1.1 from the old XenServer build system, which I
believe is the oldest GCC we support.
BUG() for a while lost noreturn, then had it reintroduced by Tim in
d2fd6f2b01ed0e "x86: mark BUG()s and assertion failures as terminal."
~Andrew
next prev parent reply other threads:[~2014-02-24 16:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-24 15:01 [PATCH v3 1/5] xen/compiler: Replace opencoded __attribute__((noreturn)) Andrew Cooper
2014-02-24 15:01 ` [PATCH v3 2/5] x86/crash: Fix up declaration of do_nmi_crash() Andrew Cooper
2014-02-27 14:54 ` Tim Deegan
2014-02-24 15:01 ` [PATCH v3 3/5] xen: Identify panic and reboot/halt functions as noreturn Andrew Cooper
2014-02-24 16:02 ` Jan Beulich
2014-02-24 16:19 ` Andrew Cooper
2014-02-24 17:39 ` Andrew Cooper
2014-02-25 7:52 ` Jan Beulich
2014-02-24 15:01 ` [PATCH v3 4/5] xen: Misc cleanup as a result of the previous patches Andrew Cooper
2014-02-24 16:06 ` Jan Beulich
2014-02-24 16:22 ` Andrew Cooper [this message]
2014-02-24 16:29 ` Jan Beulich
2014-02-27 14:52 ` Tim Deegan
2014-02-24 15:01 ` [PATCH v3 5/5] xen/x86: Identify reset_stack_and_jump() as noreturn Andrew Cooper
2014-02-27 14:53 ` Tim Deegan
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=530B71DC.7090002@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=keir@xen.org \
--cc=xen-devel@lists.xen.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.