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

2011-04-21 Thread Greg Ungerer

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,  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 EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, AustraliaWEB: http://www.SnapGear.com
___
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
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


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

2011-04-21 Thread Philippe De Muyter
On Thu, Apr 21, 2011 at 10:16:01AM +0200, Geert Uytterhoeven wrote:
> On Thu, Apr 21, 2011 at 02:48,   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
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


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

2011-04-21 Thread Geert Uytterhoeven
On Thu, Apr 21, 2011 at 02:48,   wrote:
> +#ifndef CONFIG_MMU

While we're at it, that should also be a test for not '020-'060/CPU32?

> +/*
> + * 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

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
___
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
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev