diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-05-23 14:47:43 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-05-23 14:47:43 +0100 |
commit | 807420f0b0a71cc7cf38abe06321b5777091e47d (patch) | |
tree | 9e16c144647ce73aa3197864d8a350dd19537027 /include/hw/arm | |
parent | 2f143d3ad1c05e91cf2cdf5de06d59a80a95e6c8 (diff) | |
download | qemu-807420f0b0a71cc7cf38abe06321b5777091e47d.zip |
arm: Move system_clock_scale to armv7m_systick.h
The system_clock_scale global is used only by the armv7m systick
device; move the extern declaration to the armv7m_systick.h header,
and expand the comment to explain what it is and that it should
ideally be replaced with a different approach.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190516163857.6430-2-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/arm')
-rw-r--r-- | include/hw/arm/arm.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/arm/arm.h b/include/hw/arm/arm.h index ffed39252d..ba3a9b4142 100644 --- a/include/hw/arm/arm.h +++ b/include/hw/arm/arm.h @@ -167,8 +167,4 @@ void arm_write_secure_board_setup_dummy_smc(ARMCPU *cpu, const struct arm_boot_info *info, hwaddr mvbar_addr); -/* Multiplication factor to convert from system clock ticks to qemu timer - ticks. */ -extern int system_clock_scale; - #endif /* HW_ARM_H */ |