MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18116.537.895227.330587@domain.hid> Date: Thu, 16 Aug 2007 09:51:53 +0200 In-Reply-To: <46C3FFD8.7010105@domain.hid> References: <46C3FFD8.7010105@domain.hid> From: Gilles Chanteperdrix Subject: Re: [Xenomai-core] [PATCH] fls() not available in Linux 2.4 List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wolfgang Grandegger Cc: xenomai-core 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 ? -- Gilles Chanteperdrix.