On Thu, Apr 21, 2011 at 04:55, <g...@snapgear.com> wrote: > From: Greg Ungerer <g...@uclinux.org> > > There is a lot of common code in the sys_m68k.c files. The mmu and non-mmu > versions can easily be merged into a single file. > > There is really only 2 functions that differ in the 2 cases. A single > ifdef on CONFIG_MMU can take care of this. Alternatively we could break > those 2 functions out and maintain sys_m68k_no.c and sys_m68k_mm.c with > just this code in it (Makefile could then just build the right one). > Does anyone have strong feelings on which way they want this done?
I prefer one file with a few ifdefs, as it's more localized. 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