Rev 6934 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6934 | Rev 7143 | ||
---|---|---|---|
Line 63... | Line 63... | ||
63 | struct pvclock_vsyscall_time_info { |
63 | struct pvclock_vsyscall_time_info { |
64 | struct pvclock_vcpu_time_info pvti; |
64 | struct pvclock_vcpu_time_info pvti; |
65 | } __attribute__((__aligned__(SMP_CACHE_BYTES))); |
65 | } __attribute__((__aligned__(SMP_CACHE_BYTES))); |
Line 66... | Line 66... | ||
66 | 66 | ||
67 | #define PVTI_SIZE sizeof(struct pvclock_vsyscall_time_info) |
- | |
68 | #define PVCLOCK_VSYSCALL_NR_PAGES (((NR_CPUS-1)/(PAGE_SIZE/PVTI_SIZE))+1) |
- | |
69 | - | ||
70 | int __init pvclock_init_vsyscall(struct pvclock_vsyscall_time_info *i, |
- | |
71 | int size); |
- | |
Line 72... | Line 67... | ||
72 | struct pvclock_vcpu_time_info *pvclock_get_vsyscall_time_info(int cpu); |
67 | #define PVTI_SIZE sizeof(struct pvclock_vsyscall_time_info) |