Re: [PATCH] asm/generic: fix bug - kernel fails to build whenenable some common audit code on Blackfin

From: Al Viro
Date: Wed Nov 19 2008 - 02:08:21 EST


On Tue, Nov 18, 2008 at 10:33:08PM -0800, Andrew Morton wrote:
> > @@ -1,6 +1,8 @@
> > #include <asm-generic/audit_dir_write.h>
> > __NR_acct,
> > +#ifdef __NR_swapon
> > __NR_swapon,
> > +#endif
> > __NR_quotactl,
> > __NR_truncate,
> > #ifdef __NR_truncate64
>
> hrm.
>
> Should blackfin define __NR_swapon instead? afacit
> include/asm/unistd.h is an exported-to-userspace header, so the
> architecture should export __NR_swapon to prevent userspace build
> failures?

Not in the absense of syscall in question. Patch applied, will push the
tree tomorrow.
--
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/