diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-09-08 14:43:21 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-09-20 02:21:53 +0200 |
commit | 95573cac25c6b11f02d599d18e9a1c778706e838 (patch) | |
tree | 3659184dcba1d582b845854d326859fdc9048d64 /scripts/kconfig/internal.h | |
parent | kconfig: use hash table to reuse expressions (diff) | |
download | linux-95573cac25c6b11f02d599d18e9a1c778706e838.tar.xz linux-95573cac25c6b11f02d599d18e9a1c778706e838.zip |
kconfig: cache expression values
Cache expression values to avoid recalculating them repeatedly.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/internal.h')
-rw-r--r-- | scripts/kconfig/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/internal.h b/scripts/kconfig/internal.h index 84c2ea0389fd..d0ffce2dfbba 100644 --- a/scripts/kconfig/internal.h +++ b/scripts/kconfig/internal.h @@ -15,6 +15,8 @@ extern HASHTABLE_DECLARE(sym_hashtable, SYMBOL_HASHSIZE); extern HASHTABLE_DECLARE(expr_hashtable, EXPR_HASHSIZE); +void expr_invalidate_all(void); + struct menu; extern struct menu *current_menu, *current_entry; |