nios2: move generic-y of exported headers to uapi/asm/Kbuild
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 9 Jul 2017 18:32:50 +0000 (03:32 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Jul 2017 12:33:43 +0000 (21:33 +0900)
commit3beb4256f922733330938eac70c9218ec3f0b5c5
tree92cc12ecfd45c1682d6b1fc196a5fddde6723541
parent770c0d86013e22647b15af8df2707f81ee1d5cd0
nios2: move generic-y of exported headers to uapi/asm/Kbuild

Since commit fcc8487d477a ("uapi: export all headers under uapi
directories"), all (and only) headers under uapi directories are
exported, but asm-generic wrappers are still exceptions.

To complete de-coupling the uapi from kernel headers, move generic-y
of exported headers to uapi/asm/Kbuild.

With this change, "make headers_install" will just need to parse
uapi/asm/Kbuild to build up exported headers.

Also, move "generic-y += kprobes.h" up in order to keep the entries
sorted.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
arch/nios2/include/asm/Kbuild
arch/nios2/include/uapi/asm/Kbuild