From: Tom Rini <trini@kernel.crashing.org>
To: Georg Klug <gklug@giga-stream.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Possible problem in asm/bitops.h
Date: Thu, 12 Dec 2002 08:28:51 -0700 [thread overview]
Message-ID: <20021212152851.GE19456@opus.bloom.county> (raw)
In-Reply-To: <FFECLICFNBJAHONLGAKMMEEJCHAA.gklug@giga-stream.de>
On Wed, Dec 11, 2002 at 04:31:14PM +0100, Georg Klug wrote:
> Q: Is the ffz() function desgined to work in a user space application, too? If
> yes, the file asm-ppc/bitops.h would need a change.
> Q: Does it make any sense to define one single macro (PPC405_ERR77()) in
> different
> ways in different include files?
The problem here is that userland programs are _not_ allowed to use
kernel headers, iirc, even programs which are tied to the kernel in some
way. They _must_ make a local copy of the include file which they
actually need. I suspect the actual problem is that iproute2 only needs
a very small amount of what is in include/linux/inetdev.h
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-12-12 15:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-11 15:31 Possible problem in asm/bitops.h Georg Klug
2002-12-12 15:28 ` Tom Rini [this message]
2002-12-17 9:10 ` AW: " Georg Klug
2002-12-17 10:16 ` Paul Mackerras
2002-12-17 14:59 ` Tom Rini
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=20021212152851.GE19456@opus.bloom.county \
--to=trini@kernel.crashing.org \
--cc=gklug@giga-stream.de \
--cc=linuxppc-embedded@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox