aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hpet.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2013-10-08 11:09:22 +0200
committerJan Beulich <jbeulich@suse.com>2013-10-08 11:09:22 +0200
commit081c4d400db24790b43ce344e6b5449b0800c253 (patch)
treecad1d59cfdc40d669509225b6e0d361b8597d5f4 /xen/arch/x86/hpet.c
parent1c240f1bfed56a459a9cde5100b12bfca4275f26 (diff)
downloadxen-081c4d400db24790b43ce344e6b5449b0800c253.tar.gz
xen-081c4d400db24790b43ce344e6b5449b0800c253.tar.bz2
xen-081c4d400db24790b43ce344e6b5449b0800c253.zip
x86/HPET: basic cleanup
* Strip trailing whitespace * Remove redundant definitions * Update stale documentation links * Move hpet_address into __initdata Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/arch/x86/hpet.c')
-rw-r--r--xen/arch/x86/hpet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/hpet.c b/xen/arch/x86/hpet.c
index 7e0d3325fd..99882b1e5a 100644
--- a/xen/arch/x86/hpet.c
+++ b/xen/arch/x86/hpet.c
@@ -1,6 +1,6 @@
/******************************************************************************
* arch/x86/hpet.c
- *
+ *
* HPET management.
*/
@@ -50,7 +50,7 @@ static unsigned int __read_mostly num_hpets_used;
DEFINE_PER_CPU(struct hpet_event_channel *, cpu_bc_channel);
-unsigned long __read_mostly hpet_address;
+unsigned long __initdata hpet_address;
u8 __initdata hpet_blockid;
/*
@@ -540,7 +540,7 @@ static void handle_rtc_once(uint8_t index, uint8_t value)
{
if ( index != RTC_REG_B )
return;
-
+
/* RTC Reg B, contain PIE/AIE/UIE */
if ( value & (RTC_PIE | RTC_AIE | RTC_UIE ) )
{