Re: Is sys_sysfs used?

From: Andries.Brouwer@cwi.nl
Date: Sun Jun 08 2003 - 08:38:04 EST


    From: Patrick Mochel <mochel@osdl.org>

    I see that only one architecture defines __NR_sysfs: x86-64, though it
    appears most architectures mention it in arch/*/kernel/entry.S (or
    equivalent).

There are definitions in include/asm-*/unistd.h.

    Is it used anymore? Would it be possible to remove it?

There should be a good reason to change the kernel API.
Just "why not remove this probably unused call?" is not a good reason.

(It indeed is almost unused. A grep on a random source tree shows
a use in mount.c in busybox.)

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:18 EST