lkml.org 
[lkml]   [2008]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] asm/generic: fix bug - kernel fails to build when enable some common audit code on Blackfin
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.


\
 
 \ /
  Last update: 2008-11-19 08:11    [W:0.058 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site