Skip to content
  • Luis Chamberlain's avatar
    kmod: move #ifdef CONFIG_MODULES wrapper to Makefile · 0ce2c202
    Luis Chamberlain authored
    The entire file is now conditionally compiled only when CONFIG_MODULES is
    enabled, and this this is a bool.  Just move this conditional to the
    Makefile as its easier to read this way.
    
    Link: http://lkml.kernel.org/r/20170810180618.22457-5-mcgrof@kernel.org
    
    
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@kernel.org>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Cc: Jessica Yu <jeyu@redhat.com>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Michal Marek <mmarek@suse.com>
    Cc: Petr Mladek <pmladek@suse.com>
    Cc: Miroslav Benes <mbenes@suse.cz>
    Cc: Josh Poimboeuf <jpoimboe@redhat.com>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: "Eric W. Biederman" <ebiederm@xmission.com>
    Cc: Matt Redfearn <matt.redfearn@imgtec.com>
    Cc: Dan Carpenter <dan.carpenter@oracle.com>
    Cc: Colin Ian King <colin.king@canonical.com>
    Cc: Daniel Mentz <danielmentz@google.com>
    Cc: David Binderman <dcb314@hotmail.com>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundat...
    0ce2c202