summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/internal.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-09-08 14:43:21 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-09-20 02:21:53 +0200
commit95573cac25c6b11f02d599d18e9a1c778706e838 (patch)
tree3659184dcba1d582b845854d326859fdc9048d64 /scripts/kconfig/internal.h
parentkconfig: use hash table to reuse expressions (diff)
downloadlinux-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.h2
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;