s390: squash facilities_src.h into gen_facilities.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 6 Nov 2016 03:45:28 +0000 (12:45 +0900)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 7 Nov 2016 10:06:57 +0000 (11:06 +0100)
commitd1f7e8f85b5125f3785db473938f94f5f0d02c51
tree862613e94744af8a4b9f704a91f8c0208c38fc3b
parent72cc9918ef673a7f6561ae26cf6495047f601e7b
s390: squash facilities_src.h into gen_facilities.c

We generally expect headers in arch/$(ARCH)/include/asm directory
are included from kernel sources, but facilities_src.h is not;
it is included from the arch/s390/tools/gen_facilities.c tool.

There is no reason to expose this header to the public include path.
Furthermore, facilities_src.h makes sure to be included only from
gen_facilities.c by the following:

  #ifndef S390_GEN_FACILITIES_C
  #error "This file can only be included by gen_facilities.c"
  #endif

This check can be removed by merging the two files.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/facilities_src.h [deleted file]
arch/s390/tools/gen_facilities.c