[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0707212134210.21737@fbirervta.pbzchgretzou.qr>
Date: Sat, 21 Jul 2007 21:34:53 +0200 (CEST)
From: Jan Engelhardt <jengelh@...putergmbh.de>
To: Alexander Shishkin <alexander.shishckin@...il.com>
cc: "Robert P. J. Day" <rpjday@...dspring.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: from where comes "__moddi3"?
On Jul 21 2007 23:33, Alexander Shishkin wrote:
> On 7/21/07, Robert P. J. Day <rpjday@...dspring.com> wrote:
>>
>> again, probably displaying my abject ignorance, but i wrote a
>> trivial module that tries to "var % 15", and i get:
>>
>> WARNING: "__moddi3" undefined!
> ...which comes from libgcc1 which you obviously don't want to link against.
>
> Does (var & 0x0f) not work for you?
v & 0x0F <=> v % 16
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists