All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Limpach <christian.limpach@gmail.com>
To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@hp.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: recent major -unstable changes cause ia64 build to be broken
Date: Tue, 10 May 2005 23:30:36 +0100	[thread overview]
Message-ID: <3d8eece2050510153027e1b3ae@mail.gmail.com> (raw)
In-Reply-To: <516F50407E01324991DD6D07B0531AD542CA64@cacexc12.americas.cpqcorp.net>

On 5/10/05, Magenheimer, Dan (HP Labs Fort Collins)
<dan.magenheimer@hp.com> wrote:
> > > Actually, it appears I only need xen/mm.h if that helps.
> >
> > Can't you include xen/mm.h where it's needed?  Alternatively, you
> > could have asm-ia64/slab.h which includes xen/mm.h and xen/slab.h.
> > Or, why not just include it from asm-ia64/slab.h?
> 
> It appears to be needed in a lot of common files for ia64.  I am
> OK with tracking them all down but would prefer to not have that
> in the critical path right now when there is a simple fix (putting
> it back the way it was before)... unless of course that breaks x86.
> 
> There is no asm/slab.h included... __ARCH_HAS_SLAB_ALLOCATOR
> appears to be obsolete (unless Hollis is using it) since ia64
> switched over to the Rusty memory allocator.

And that's exactly why I'm reluctant to put it back -- we keep
accumulating cruft like that and even when the arch for which it was
added stops using it, the hack doesn't get cleaned up.  At least if we
indirect hacks like these through arch specific include files, it's
more likely that the hack will eventually get cleaned up...

> Adding an asm/slab.h
> back in to xen/slab.h would be another option, but no sense
> hiding the header file dependency another level deeper.

yes, except see above...  Could you check if including xen/mm.h in
ia64's apic.c file (only ia64 file including slab.h directly) and
including it at the end of xen/sched.h (before xen/slab.h gets
included) would be sufficient?  xen/sched.h is a #include-mess anyway,
so I'd rather add it there than in the now clean xen/slab.h...

    christian

  reply	other threads:[~2005-05-10 22:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 22:10 recent major -unstable changes cause ia64 build to be broken Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 22:30 ` Christian Limpach [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-10 23:20 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 23:08 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 23:05 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-11 15:04 ` Hollis Blanchard
2005-05-10 22:50 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 23:14 ` Christian Limpach
2005-05-10 22:16 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 21:43 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 21:29 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 21:35 ` Hollis Blanchard
2005-05-10 21:42 ` Christian Limpach
2005-05-10 19:16 Magenheimer, Dan (HP Labs Fort Collins)
2005-05-10 20:17 ` Keir Fraser

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=3d8eece2050510153027e1b3ae@mail.gmail.com \
    --to=christian.limpach@gmail.com \
    --cc=Christian.Limpach@cl.cam.ac.uk \
    --cc=dan.magenheimer@hp.com \
    --cc=xen-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.