]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - init/main.c
core: migrate exception table users off module.h and onto extable.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 23 Jul 2016 18:01:45 +0000 (14:01 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 9 Feb 2017 21:38:53 +0000 (16:38 -0500)
commit8a293be0d6fa0720809db6ac35a0552c51710cd2
tree87d2cd8c03ea1746f76dc710d968aaa14f5d61b4
parent9ae8282d7f194e7e5fff30c82133dbb85923255d
core: migrate exception table users off module.h and onto extable.h

These files were including module.h for exception table related
functions.  We've now separated that content out into its own file
"extable.h" so now move over to that and where possible, avoid all
the extra header content in module.h that we don't really need to
compile these non-modular files.

Note:
   init/main.c still needs module.h for __init_or_module
   kernel/extable.c still needs module.h for is_module_text_address

...and so we don't get the benefit of removing module.h from the cpp
feed for these two files, unlike the almost universal 1:1 exchange
of module.h for extable.h we were able to do in the arch dirs.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Jessica Yu <jeyu@redhat.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
init/main.c
kernel/extable.c
kernel/module.c