aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-02-03 15:50:44 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-04 19:43:12 -0500
commit226d780909f71bebfa4dfffa21493244aa22dfdc (patch)
treeae9f0ff1e2b62076585825379c3b859ad3f3a1af /include/asm-x86_64
parenteddb6fb9a54cdc8c7c37e056a2b4bbbc8a128a36 (diff)
[PATCH] x86_64: Define pmtmr_ioport to 0 when PM_TIMER is not available
Avoids some ifdef mess later. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h
index 115e496c6139..d35c7e06f340 100644
--- a/include/asm-x86_64/proto.h
+++ b/include/asm-x86_64/proto.h
@@ -42,7 +42,11 @@ extern void iommu_hole_init(void);
42extern void time_init_gtod(void); 42extern void time_init_gtod(void);
43extern int pmtimer_mark_offset(void); 43extern int pmtimer_mark_offset(void);
44extern unsigned int do_gettimeoffset_pm(void); 44extern unsigned int do_gettimeoffset_pm(void);
45#ifdef CONFIG_X86_PM_TIMER
45extern u32 pmtmr_ioport; 46extern u32 pmtmr_ioport;
47#else
48#define pmtmr_ioport 0
49#endif
46extern unsigned long long monotonic_base; 50extern unsigned long long monotonic_base;
47extern int sysctl_vsyscall; 51extern int sysctl_vsyscall;
48 52