Skip to content
Commit 481461f5 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

linux/export.h: make <linux/export.h> independent of CONFIG_MODULES



Currently, all files with EXPORT_SYMBOL() are rebuilt when CONFIG_MODULES
is flipped due to <linux/export.h> depending on CONFIG_MODULES.

Now that modpost can make a final decision about export symbols,
<linux/export.h> does not need to make EXPORT_SYMBOL() no-op.
Instead, modpost can skip emitting KSYMTAB when CONFIG_MODULES is unset.

This commit will reduce the number of recompilation when CONFIG_MODULES
is toggled.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent c40e60f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment