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

Philippe De Muyter
2011-04-21T08:32:34Z

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.

>
> > +/*
> > + * 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
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org