On 10/24/2012 05:13 PM, Marcelo Tosatti wrote:
> + */
> +int __init pvclock_init_vsyscall(void)
> +{
> +     int idx;
> +     unsigned int size = PVCLOCK_VSYSCALL_NR_PAGES*PAGE_SIZE;
> +
> +     pvclock_vdso_info = __alloc_bootmem(size, PAGE_SIZE, 0);
> +     if (!pvclock_vdso_info)
> +             return -ENOMEM;
> +
> +     memset(pvclock_vdso_info, 0, size);
> +
> +     for (idx = 0; idx <= (PVCLOCK_FIXMAP_END-PVCLOCK_FIXMAP_BEGIN); idx++) {
> +             __set_fixmap(PVCLOCK_FIXMAP_BEGIN + idx,
> +                          __pa_symbol(pvclock_vdso_info) + (idx*PAGE_SIZE),
> +                          PAGE_KERNEL_VVAR);


BTW, Previous line is whitespace damaged.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to