linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Roland Dreier <rdreier@cisco.com>
To: paul@mad-scientist.us
Cc: Arnd Bergmann <arnd@arndb.de>, linuxppc-embedded@ozlabs.org
Subject: Re: 2.6.25: include/asm-ppc vs. include/asm-powerpc
Date: Thu, 28 Aug 2008 07:48:00 -0700	[thread overview]
Message-ID: <adaej49jivz.fsf@cisco.com> (raw)
In-Reply-To: <1219933848.16802.96.camel@homebase.localnet> (Paul Smith's message of "Thu, 28 Aug 2008 10:30:48 -0400")

 > It doesn't matter whether I build my code in the kernel as patches, or
 > not.  The problem is not that I don't have the headers handy, it's that
 > they simply don't exist in asm-ppc anymore, not even in the linux source
 > tree.

I believe that the kernel's build system (before arch/ppc was removed
entirely) had some magic to include files from asm-powerpc if they
didn't exist in asm-ppc.  So building your code with the kernel's build
system (and Documentation/kbuild/modules.txt explains how to do that
even without building in the kernel tree itself) should work.

For example, the reason include/asm-ppc/ppc_asm.h doesn't exist is
because of commit 5f7c6907, which moved the file to asm-powerpc.

 - R.

  parent reply	other threads:[~2008-08-28 14:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-28 13:07 2.6.25: include/asm-ppc vs. include/asm-powerpc Paul Smith
2008-08-28 13:53 ` Arnd Bergmann
2008-08-28 14:30   ` Paul Smith
2008-08-28 14:38     ` Josh Boyer
2008-08-28 14:42     ` Arnd Bergmann
2008-08-28 16:01       ` Paul Smith
2008-08-28 18:07       ` Paul Smith
2008-08-28 14:48     ` Roland Dreier [this message]
2008-08-28 13:56 ` Darcy Watkins

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=adaej49jivz.fsf@cisco.com \
    --to=rdreier@cisco.com \
    --cc=arnd@arndb.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=paul@mad-scientist.us \
    /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;
as well as URLs for NNTP newsgroup(s).