commit | ba88935b0fac2588b0a739f810b58dfabf7f92c8 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Jul 10 10:55:13 2024 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 22 19:19:44 2024 +0200 |
tree | eb220b7fd5ec5cee655dfcdc379a74c61a0c4cc4 | |
parent | 5895879aca252f4ebb2d1078eaf836c61ec54e9b [diff] |
hpet: place read-only bits directly in "new_val" The variable "val" is used for two different purposes. As an intermediate value when writing configuration registers, and to store the cleared bits when writing ISR. Use "new_val" for the former, and rename the variable so that it is clearer for the latter case. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>