From: Alex Williamson <alex.williamson@hp.com>
To: Keir Fraser <keir.fraser@citrix.com>
Cc: xen-ia64-devel <xen-ia64-devel@lists.xensource.com>,
xen-devel <xen-devel@lists.xensource.com>,
Samuel Thibault <samuel.thibault@eu.citrix.com>
Subject: [PATCH] Re: [Xen-staging] [xen-unstable] Explicitly tag every anonymous aggregate in the public headers.
Date: Fri, 28 Mar 2008 15:04:26 -0600 [thread overview]
Message-ID: <1206738267.7320.43.camel@lappy> (raw)
In-Reply-To: <200803261016.m2QAGPsq017512@latara.uk.xensource.com>
On Wed, 2008-03-26 at 10:16 +0000, Xen staging patchbot-unstable wrote:
> # HG changeset patch
> # User Keir Fraser <keir.fraser@citrix.com>
> # Date 1206526490 0
> # Node ID 5d25187bac941611a8a836b668a398a72df0afb0
> # Parent 966c04d42e94546287a1145c82e13073f28ef116
> Explicitly tag every anonymous aggregate in the public headers.
My previous fix allowed this to build on ia64, but it turns out
there's still a boot issue that I don't understand. As is, we take a
nested dtlb fault on boot, which hg bisect determines is caused by this
patch. From a simple test program, I can verify that only the outermost
__extension__ is necessary to include code w/ -std=c99. So embedding an
__extension__ within an __extension__ isn't necessary, but I don't know
why it actually changes the behavior of the code. The patch below
reverts a few chucks of this cset and gets us booting again. FWIW, I'm
using gcc-4.1.2. Thanks,
Alex
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---
diff -r 6736c28a0d35 xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h Fri Mar 28 17:58:36 2008 +0000
+++ b/xen/include/public/arch-ia64.h Fri Mar 28 14:51:41 2008 -0600
@@ -182,7 +182,7 @@ struct mapped_regs {
unsigned long reserved4[76];
__anonymous_union {
unsigned long vcr[128];
- __anonymous_struct {
+ struct {
unsigned long dcr; // CR0
unsigned long itm;
unsigned long iva;
@@ -216,7 +216,7 @@ struct mapped_regs {
};
__anonymous_union {
unsigned long reserved5[128];
- __anonymous_struct {
+ struct {
unsigned long precover_ifs;
unsigned long unat; // not sure if this is needed until NaT arch is done
int interrupt_collection_enabled; // virtual psr.ic
@@ -609,7 +609,7 @@ struct xen_ia64_opt_feature {
unsigned long cmd; /* Which feature */
unsigned char on; /* Switch feature on/off */
__anonymous_union {
- __anonymous_struct {
+ struct {
/* The page protection bit mask of the pte.
* This will be or'ed with the pte. */
unsigned long pgprot;
next prev parent reply other threads:[~2008-03-28 21:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200803261016.m2QAGPsq017512@latara.uk.xensource.com>
2008-03-26 15:11 ` [PATCH] Re: [Xen-staging] [xen-unstable] Explicitly tag every anonymous aggregate in the public headers Alex Williamson
2008-03-27 14:37 ` Alex Williamson
2008-03-28 21:04 ` Alex Williamson [this message]
2008-03-28 21:47 ` Keir Fraser
2008-03-31 15:49 ` Alex Williamson
2008-03-31 16:21 ` Keir Fraser
2008-03-31 16:28 ` Alex Williamson
2008-03-28 22:37 ` Keir Fraser
2008-03-28 22:55 ` Alex Williamson
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=1206738267.7320.43.camel@lappy \
--to=alex.williamson@hp.com \
--cc=keir.fraser@citrix.com \
--cc=samuel.thibault@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-ia64-devel@lists.xensource.com \
/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.