search for: notifier_bl

Displaying 6 results from an estimated 6 matches for "notifier_bl".

2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 14/17] paravirt_ops - vsyscall
.../ + asm("wrmsr" : /* no output */ + : "d"(0), + "a" ((node << 12) | cpu), "c" (0xc0000103)); /* Store cpu number in limit so that it can be loaded quickly in user space in vgetcpu. @@ -285,8 +290,12 @@ cpu_vsyscall_notifier(struct notifier_bl static void __init map_vsyscall(void) { +#ifndef CONFIG_PARAVIRT extern char __vsyscall_0; unsigned long physaddr_page0 = __pa_symbol(&__vsyscall_0); +#else + unsigned long physaddr_page0 = __pa_symbol(paravirt_ops.vsyscall_page); +#endif /* Note that VSYSCALL_MAPPED_PAGES must agre...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 14/17] paravirt_ops - vsyscall
.../ + asm("wrmsr" : /* no output */ + : "d"(0), + "a" ((node << 12) | cpu), "c" (0xc0000103)); /* Store cpu number in limit so that it can be loaded quickly in user space in vgetcpu. @@ -285,8 +290,12 @@ cpu_vsyscall_notifier(struct notifier_bl static void __init map_vsyscall(void) { +#ifndef CONFIG_PARAVIRT extern char __vsyscall_0; unsigned long physaddr_page0 = __pa_symbol(&__vsyscall_0); +#else + unsigned long physaddr_page0 = __pa_symbol(paravirt_ops.vsyscall_page); +#endif /* Note that VSYSCALL_MAPPED_PAGES must agre...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...inline unsigned long long cycles_2_ns(unsigned long long cyc) -{ - return (cyc * cyc2ns_scale) >> CYC2NS_SCALE_FACTOR; -} - static int count2; /* counter for mark_offset_tsc() */ /* Cached *multiplier* to convert TSC counts to microseconds. @@ -305,7 +272,7 @@ time_cpufreq_notifier(struct notifier_bl if (use_tsc) { if (!(freq->flags & CPUFREQ_CONST_LOOPS)) { fast_gettimeoffset_quotient = cpufreq_scale(fast_gettimeoffset_ref, freq->new, ref_freq); - set_cyc2ns_scale(cpu_khz); + set_cyc_scales(cpu_khz); } } #endif @@ -540,6 +507,7 @@ static int __init init_tsc(...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...inline unsigned long long cycles_2_ns(unsigned long long cyc) -{ - return (cyc * cyc2ns_scale) >> CYC2NS_SCALE_FACTOR; -} - static int count2; /* counter for mark_offset_tsc() */ /* Cached *multiplier* to convert TSC counts to microseconds. @@ -305,7 +272,7 @@ time_cpufreq_notifier(struct notifier_bl if (use_tsc) { if (!(freq->flags & CPUFREQ_CONST_LOOPS)) { fast_gettimeoffset_quotient = cpufreq_scale(fast_gettimeoffset_ref, freq->new, ref_freq); - set_cyc2ns_scale(cpu_khz); + set_cyc_scales(cpu_khz); } } #endif @@ -540,6 +507,7 @@ static int __init init_tsc(...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
.../ + asm("wrmsr" : /* no output */ + : "d"(0), + "a" ((node << 12) | cpu), "c" (0xc0000103)); /* Store cpu number in limit so that it can be loaded quickly in user space in vgetcpu. @@ -286,8 +291,12 @@ cpu_vsyscall_notifier(struct notifier_bl static void __init map_vsyscall(void) { +#ifndef CONFIG_PARAVIRT extern char __vsyscall_0; unsigned long physaddr_page0 = __pa_symbol(&__vsyscall_0); +#else + unsigned long physaddr_page0 = __pa_symbol(paravirt_ops.vsyscall_page); +#endif /* Note that VSYSCALL_MAPPED_PAGES must agre...
2007 Apr 18
0
[PATCH] paravirt_ops x86_64 , take 2
.../ + asm("wrmsr" : /* no output */ + : "d"(0), + "a" ((node << 12) | cpu), "c" (0xc0000103)); /* Store cpu number in limit so that it can be loaded quickly in user space in vgetcpu. @@ -286,8 +291,12 @@ cpu_vsyscall_notifier(struct notifier_bl static void __init map_vsyscall(void) { +#ifndef CONFIG_PARAVIRT extern char __vsyscall_0; unsigned long physaddr_page0 = __pa_symbol(&__vsyscall_0); +#else + unsigned long physaddr_page0 = __pa_symbol(paravirt_ops.vsyscall_page); +#endif /* Note that VSYSCALL_MAPPED_PAGES must agre...