module: add stubs for within_module functions
authorTri Vo <trong@android.com>
Mon, 15 Apr 2019 18:18:33 +0000 (11:18 -0700)
committerJessica Yu <jeyu@kernel.org>
Thu, 2 May 2019 14:32:29 +0000 (16:32 +0200)
commitdadec066d8fa7da227f623f632ea114690fecaf8
treefe0f15396bf2a492557b5592bd7b5ca1c64b149a
parent1c7651f43777cdd59c1aaa82c87324d3e7438c7b
module: add stubs for within_module functions

Provide stubs for within_module_core(), within_module_init(), and
within_module() to prevent build errors when !CONFIG_MODULES.

Suggested-by: Matthew Wilcox <willy@infradead.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <lkp@intel.com>
Link: https://marc.info/?l=linux-mm&m=155384681109231&w=2
Signed-off-by: Tri Vo <trong@android.com>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
include/linux/module.h