vdso: correct pvti array element type
struct pvclock_vsyscall_time_info <-- struct pvclock_vcpu_time_info
This commit is contained in:
@ -148,7 +148,7 @@ uint64_t boot_pat_state = 0;
|
|||||||
int no_turbo = 0; /* May be updated by early parsing of kargs */
|
int no_turbo = 0; /* May be updated by early parsing of kargs */
|
||||||
|
|
||||||
extern int num_processors; /* kernel/ap.c */
|
extern int num_processors; /* kernel/ap.c */
|
||||||
struct pvclock_vcpu_time_info *pvti = NULL;
|
struct pvclock_vsyscall_time_info *pvti = NULL;
|
||||||
int pvti_npages;
|
int pvti_npages;
|
||||||
static long pvti_msr = -1;
|
static long pvti_msr = -1;
|
||||||
|
|
||||||
|
|||||||
@ -111,11 +111,11 @@ void init_tick(void);
|
|||||||
void init_delay(void);
|
void init_delay(void);
|
||||||
void sync_tick(void);
|
void sync_tick(void);
|
||||||
|
|
||||||
struct pvclock_vcpu_time_info {
|
struct pvclock_vsyscall_time_info {
|
||||||
long contents[32/sizeof(long)];
|
long contents[64/sizeof(long)];
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct pvclock_vcpu_time_info *pvti;
|
extern struct pvclock_vsyscall_time_info *pvti;
|
||||||
extern int pvti_npages;
|
extern int pvti_npages;
|
||||||
|
|
||||||
int arch_setup_pvclock(void);
|
int arch_setup_pvclock(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user