From: Wolfgang Grandegger <wg@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] fls() not available in Linux 2.4
Date: Thu, 16 Aug 2007 10:12:54 +0200 [thread overview]
Message-ID: <46C40706.5060804@domain.hid> (raw)
In-Reply-To: <18116.537.895227.330587@domain.hid>
Gilles Chanteperdrix wrote:
> Wolfgang Grandegger wrote:
> > Hello,
> >
> > the attached patch fixes the following compilation error with Xenomai's
> > head of trunk under Linux 2.4:
> >
> > kernel/kernel.o(.text+0x135a4): In function `__rthal_generic_full_divmod64':
> > /temp/rtcan/devel/linuxppc_2_4_devel-xenomai/kernel/xenomai/arch/generic/hal.c:918:
> > undefined reference to `fls'
> > kernel/kernel.o(.text+0x135b4):/temp/rtcan/devel/linuxppc_2_4_devel-xenomai/kernel/xenomai/arch/generic/hal.c:918:
> > undefined reference to `fls'
>
> Should not this implementation go to asm-powerpc/wrappers.h instead of
> asm-generic/wrappers.h ?
Ah, yes, of course, because it uses PowerPC assembler. But it might be
missing for other archs as well, e.g. I did not find it for i386 in the
DENX Linux 2.4.25 tree.
Wolfgang.
next prev parent reply other threads:[~2007-08-16 8:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-16 7:42 [Xenomai-core] [PATCH] fls() not available in Linux 2.4 Wolfgang Grandegger
2007-08-16 7:51 ` Gilles Chanteperdrix
2007-08-16 8:12 ` Wolfgang Grandegger [this message]
2007-08-16 8:22 ` Gilles Chanteperdrix
2007-08-16 11:16 ` Gilles Chanteperdrix
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=46C40706.5060804@domain.hid \
--to=wg@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.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.