mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 00:36:12 +07:00
[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>
This commit is contained in:
parent
eddb6fb9a5
commit
226d780909
@ -42,7 +42,11 @@ extern void iommu_hole_init(void);
|
||||
extern void time_init_gtod(void);
|
||||
extern int pmtimer_mark_offset(void);
|
||||
extern unsigned int do_gettimeoffset_pm(void);
|
||||
#ifdef CONFIG_X86_PM_TIMER
|
||||
extern u32 pmtmr_ioport;
|
||||
#else
|
||||
#define pmtmr_ioport 0
|
||||
#endif
|
||||
extern unsigned long long monotonic_base;
|
||||
extern int sysctl_vsyscall;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user