Re: [uClinux-dev] Re: [PATCH 5/5] m68k: merge non-mmu and mmu versions of m68k_ksyms.c

Greg Ungerer
2011-04-21T09:30:35Z

On 21/04/11 18:32, Philippe De Muyter wrote:
> On Thu, Apr 21, 2011 at 10:16:01AM +0200, Geert Uytterhoeven wrote:
>> On Thu, Apr 21, 2011 at 02:48,<gerg@snapgear.com> wrote:
>>> +#ifndef CONFIG_MMU
>>
>> While we're at it, that should also be a test for not '020-'060/CPU32?
>
> You beat me on this :)
>
> You're abolutely right, we may not test on CONFIG_MMU for mmu-capable
> coldfires, but which do lack 32x32->64 mulu and friends.

Yep, this should be the same. And I was trying to be careful
and get these right :-(

I'll fix it.

Thanks
Greg

>>> +/*
>>> + * Simpler 68k and ColdFire parts also need a few other gcc functions.
>>> + */
>>> +extern long long __divsi3(long long, long long);
>>> +extern long long __modsi3(long long, long long);
>>> +extern long long __mulsi3(long long, long long);
>>> +extern long long __udivsi3(long long, long long);
>>> +extern long long __umodsi3(long long, long long);
>>> +
>>> +EXPORT_SYMBOL(__divsi3);
>>> +EXPORT_SYMBOL(__modsi3);
>>> +EXPORT_SYMBOL(__mulsi3);
>>> +EXPORT_SYMBOL(__udivsi3);
>>> +EXPORT_SYMBOL(__umodsi3);
>>> Ã¡#endif
>
> Philippe
>
>
>

--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com