Re: [PATCH v2] unify sys_pipe implementation

From: Linus Torvalds
Date: Sat May 03 2008 - 14:41:40 EST




On Sat, 3 May 2008, Ulrich Drepper wrote:
>
> Some arch maintainers might want to take a look at their remaining
> special versions. The cris version, for instance, only differs from
> the generic version in that it takes the BKL. Is this still needed
> these days?

No, definitely not.

That said, I think that in order to not break other architectures, and to
make it even easier to do this transformation, how about we just mark the
generic version with __weak?

That way, odd architectures can just continue to call their own versions
"sys_pipe()", and we don't break them unnecessarily.

Linus
--
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/