Re: [patch] arch-specific cond_syscall usage issues

From: Matt Mackall
Date: Wed Jan 14 2004 - 14:57:09 EST


On Wed, Jan 14, 2004 at 11:31:07AM -0800, Andrew Morton wrote:
> Tom Rini <trini@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > As has been previously noted, the cond_syscall is only ever cared about
> > on PPC when you try for !PCI. And this only happens realistically now,
> > on MPC8xx (it's usually present on IBM 4xx, and lets ignore APUS).
> > MPC8xx support has been broken for a while, but hopefully will get fixed
> > 'soon'.
> >
> > So can we please move this cond_syscall into kernel/sys.c ?
>
> Spose so. Are we sure it shouldn't be inside soem ppc-specfic ifdef?

Probably not worth the trouble as it's a weak symbol - it can't
interfere with anything. In the unlikely case that some other arch
intends to define it and fails to, well, they'll get sys_ni_syscall
instead. By that logic, I've done the same with some of the stuff I've
made conditional for x86, like sys_vm86 and the like.

--
Matt Mackall : http://www.selenic.com : Linux development and consulting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/