Message ID | 5721217.aGU5oqfDWo@wuerfel (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Feb 23, 2015 at 11:24 AM, Arnd Bergmann <arnd@arndb.de> wrote: > On Monday 23 February 2015 10:14:55 Geert Uytterhoeven wrote: >> On Mon, Feb 23, 2015 at 10:03 AM, Arnd Bergmann <arnd@arndb.de> wrote: >> >> > + /home/kisskb/slave/src/fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: => 266:2 > I checked the other architectures, and found that the same is missing on > ARC, so we should add both: > > diff --git a/fs/Kconfig b/fs/Kconfig > index ec35851e5b71..a24d496787d6 100644 > --- a/fs/Kconfig > +++ b/fs/Kconfig > @@ -36,7 +36,7 @@ source "fs/nilfs2/Kconfig" > config FS_DAX > bool "Direct Access (DAX) support" > depends on MMU > - depends on !(ARM || MIPS || SPARC) > + depends on !(ARC || ARM || MIPS || SH || SPARC) > help > Direct Access (DAX) can be used on memory-backed block devices. > If the block device supports DAX and the filesystem supports DAX, > > > It's also not implemented on c6x and blackfin, but both of them have > MMU=n, so they are already excluded. Exactly. Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
On Monday 23 February 2015 11:28:12 Geert Uytterhoeven wrote: > On Mon, Feb 23, 2015 at 11:24 AM, Arnd Bergmann <arnd@arndb.de> wrote: > > On Monday 23 February 2015 10:14:55 Geert Uytterhoeven wrote: > >> On Mon, Feb 23, 2015 at 10:03 AM, Arnd Bergmann <arnd@arndb.de> wrote: > >> >> > + /home/kisskb/slave/src/fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: => 266:2 > > > I checked the other architectures, and found that the same is missing on > > ARC, so we should add both: > > > > diff --git a/fs/Kconfig b/fs/Kconfig > > index ec35851e5b71..a24d496787d6 100644 > > --- a/fs/Kconfig > > +++ b/fs/Kconfig > > @@ -36,7 +36,7 @@ source "fs/nilfs2/Kconfig" > > config FS_DAX > > bool "Direct Access (DAX) support" > > depends on MMU > > - depends on !(ARM || MIPS || SPARC) > > + depends on !(ARC || ARM || MIPS || SH || SPARC) > > help > > Direct Access (DAX) can be used on memory-backed block devices. > > If the block device supports DAX and the filesystem supports DAX, > > > > > > It's also not implemented on c6x and blackfin, but both of them have > > MMU=n, so they are already excluded. > > Exactly. > > Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Thanks, let me submit that as a proper patch with a changelog then. Arnd
diff --git a/fs/Kconfig b/fs/Kconfig index ec35851e5b71..a24d496787d6 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -36,7 +36,7 @@ source "fs/nilfs2/Kconfig" config FS_DAX bool "Direct Access (DAX) support" depends on MMU - depends on !(ARM || MIPS || SPARC) + depends on !(ARC || ARM || MIPS || SH || SPARC) help Direct Access (DAX) can be used on memory-backed block devices. If the block device supports DAX and the filesystem supports DAX,