diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-31 11:15:09 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-31 11:15:09 -0400 |
| commit | 85b475a4502d45380c1b9223c01954daa228eeb0 (patch) | |
| tree | 2f37f9ea8519f7a101decd8a1e9ec13db051363b /scripts/kconfig | |
| parent | 80962ec912db56d323883154efc2297473e692cb (diff) | |
| parent | 21f27df854008b86349a203bf97fef79bb11f53e (diff) | |
Merge tag 'kvm-s390-master-6.3-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
A small fix that repairs the external loop detection code for PV
guests.
Diffstat (limited to 'scripts/kconfig')
| -rw-r--r-- | scripts/kconfig/confdata.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index b7c9f1dd5e42..992575f1e976 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c @@ -1226,10 +1226,12 @@ static void (*conf_changed_callback)(void); void conf_set_changed(bool val) { - if (conf_changed_callback && conf_changed != val) - conf_changed_callback(); + bool changed = conf_changed != val; conf_changed = val; + + if (conf_changed_callback && changed) + conf_changed_callback(); } bool conf_get_changed(void) |
