From: Ingo Molnar Date: Tue, 24 Feb 2009 20:50:43 +0000 (+0100) Subject: Merge branches 'x86/acpi', 'x86/apic', 'x86/asm', 'x86/cleanups', 'x86/mm', 'x86... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a852cbfaaf8122827602027b1614971cfd832304;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Merge branches 'x86/acpi', 'x86/apic', 'x86/asm', 'x86/cleanups', 'x86/mm', 'x86/signal' and 'x86/urgent'; commit 'v2.6.29-rc6' into x86/core --- a852cbfaaf8122827602027b1614971cfd832304 diff --cc Makefile index 681c1d23b4d4,96628d0b48d2,b280cfcf1efe,96628d0b48d2,96628d0b48d2,96628d0b48d2,df6ce3e80090..27fb890a2bff --- a/Makefile +++ b/Makefile @@@@@@@@ -1,7 -1,7 -1,7 -1,7 -1,7 -1,7 -1,7 +1,7 @@@@@@@@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 29 - EXTRAVERSION = -rc4 ----- EXTRAVERSION = -rc5 ++++++ EXTRAVERSION = -rc6 NAME = Erotic Pickled Herring # *DOCUMENTATION* diff --cc arch/x86/kernel/traps.c index 98c2d055284b,c8c0a7e530be,acb8c0585ab9,2df927b5003f,acb8c0585ab9,acb8c0585ab9,a9e7548e1790..c05430ac1b44 --- a/arch/x86/kernel/traps.c +++ b/arch/x86/kernel/traps.c @@@@@@@@ -59,10 -59,9 -59,9 -59,9 -59,9 -59,9 -59,10 +59,9 @@@@@@@@ #ifdef CONFIG_X86_64 #include #include - -#include #else #include - -----#include + +++++#include #include #include "cpu/mcheck/mce.h" @@@@@@@@ -906,16 -913,20 -913,20 -913,20 -913,20 -913,20 -914,19 +913,20 @@@@@@@@ void math_emulate(struct math_emu_info } #endif /* CONFIG_MATH_EMULATION */ -dotraplinkage void __kprobes do_device_not_available(struct pt_regs regs) +dotraplinkage void __kprobes - do_device_not_available(struct pt_regs *regs, long error) + +do_device_not_available(struct pt_regs *regs, long error_code) { #ifdef CONFIG_X86_32 if (read_cr0() & X86_CR0_EM) { + struct math_emu_info info = { }; + - conditional_sti(®s); + conditional_sti(regs); - math_emulate(0); + - info.regs = ®s; + + info.regs = regs; + math_emulate(&info); } else { math_state_restore(); /* interrupts still off */ - conditional_sti(®s); + conditional_sti(regs); } #else math_state_restore(); diff --cc arch/x86/kernel/vmiclock_32.c index c4c1f9e09402,49b4cd6707f9,a4791ef412d1,b77ad5789af9,9cd28c04952a,9cd28c04952a,e5b088fffa40..33a788d5879c --- a/arch/x86/kernel/vmiclock_32.c +++ b/arch/x86/kernel/vmiclock_32.c @@@@@@@@ -286,7 -286,9 -286,7 -287,8 -287,9 -287,9 -287,9 +286,8 @@@@@@@@ static struct clocksource clocksource_v static cycle_t read_real_cycles(void) { - - return vmi_timer_ops.get_cycle_counter(VMI_CYCLES_REAL); + + cycle_t ret = (cycle_t)vmi_timer_ops.get_cycle_counter(VMI_CYCLES_REAL); - --- return ret >= clocksource_vmi.cycle_last ? - --- ret : clocksource_vmi.cycle_last; +++ +++ return max(ret, clocksource_vmi.cycle_last); } static struct clocksource clocksource_vmi = {