diff options
Diffstat (limited to 'arch/x86')
| -rw-r--r-- | arch/x86/kernel/apic/x2apic_uv_x.c | 1 | ||||
| -rw-r--r-- | arch/x86/kernel/cpu/mtrr/main.c | 2 | ||||
| -rw-r--r-- | arch/x86/kernel/entry_32.S | 8 | ||||
| -rw-r--r-- | arch/x86/platform/mrst/mrst.c | 4 | ||||
| -rw-r--r-- | arch/x86/platform/olpc/olpc.c | 4 | ||||
| -rw-r--r-- | arch/x86/vdso/vdso32/sysenter.S | 2 | 
6 files changed, 8 insertions, 13 deletions
diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index adc66c3a1fe..34b18594e72 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c @@ -207,7 +207,6 @@ static int __cpuinit uv_wakeup_secondary(int phys_apicid, unsigned long start_ri  	    ((start_rip << UVH_IPI_INT_VECTOR_SHFT) >> 12) |  	    APIC_DM_INIT;  	uv_write_global_mmr64(pnode, UVH_IPI_INT, val); -	mdelay(10);  	val = (1UL << UVH_IPI_INT_SEND_SHFT) |  	    (phys_apicid << UVH_IPI_INT_APIC_ID_SHFT) | diff --git a/arch/x86/kernel/cpu/mtrr/main.c b/arch/x86/kernel/cpu/mtrr/main.c index 08119a37e53..6b96110bb0c 100644 --- a/arch/x86/kernel/cpu/mtrr/main.c +++ b/arch/x86/kernel/cpu/mtrr/main.c @@ -149,7 +149,6 @@ struct set_mtrr_data {   */  static int mtrr_rendezvous_handler(void *info)  { -#ifdef CONFIG_SMP  	struct set_mtrr_data *data = info;  	/* @@ -171,7 +170,6 @@ static int mtrr_rendezvous_handler(void *info)  	} else if (mtrr_aps_delayed_init || !cpu_online(smp_processor_id())) {  		mtrr_if->set_all();  	} -#endif  	return 0;  } diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 5c1a9197491..f3f6f534400 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S @@ -54,6 +54,7 @@  #include <asm/ftrace.h>  #include <asm/irq_vectors.h>  #include <asm/cpufeature.h> +#include <asm/alternative-asm.h>  /* Avoid __ASSEMBLER__'ifying <linux/audit.h> just for this.  */  #include <linux/elf-em.h> @@ -873,12 +874,7 @@ ENTRY(simd_coprocessor_error)  661:	pushl_cfi $do_general_protection  662:  .section .altinstructions,"a" -	.balign 4 -	.long 661b -	.long 663f -	.word X86_FEATURE_XMM -	.byte 662b-661b -	.byte 664f-663f +	altinstruction_entry 661b, 663f, X86_FEATURE_XMM, 662b-661b, 664f-663f  .previous  .section .altinstr_replacement,"ax"  663:	pushl $do_simd_coprocessor_error diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c index 7000e74b308..58425adc22c 100644 --- a/arch/x86/platform/mrst/mrst.c +++ b/arch/x86/platform/mrst/mrst.c @@ -689,7 +689,9 @@ static int __init sfi_parse_devs(struct sfi_table_header *table)  			irq_attr.trigger = 1;  			irq_attr.polarity = 1;  			io_apic_set_pci_routing(NULL, pentry->irq, &irq_attr); -		} +		} else +			pentry->irq = 0; /* No irq */ +  		switch (pentry->type) {  		case SFI_DEV_TYPE_IPC:  			/* ID as IRQ is a hack that will go away */ diff --git a/arch/x86/platform/olpc/olpc.c b/arch/x86/platform/olpc/olpc.c index 8b9940e78e2..7cce722667b 100644 --- a/arch/x86/platform/olpc/olpc.c +++ b/arch/x86/platform/olpc/olpc.c @@ -161,13 +161,13 @@ restart:  	if (inbuf && inlen) {  		/* write data to EC */  		for (i = 0; i < inlen; i++) { +			pr_devel("olpc-ec:  sending cmd arg 0x%x\n", inbuf[i]); +			outb(inbuf[i], 0x68);  			if (wait_on_ibf(0x6c, 0)) {  				printk(KERN_ERR "olpc-ec:  timeout waiting for"  						" EC accept data!\n");  				goto err;  			} -			pr_devel("olpc-ec:  sending cmd arg 0x%x\n", inbuf[i]); -			outb(inbuf[i], 0x68);  		}  	}  	if (outbuf && outlen) { diff --git a/arch/x86/vdso/vdso32/sysenter.S b/arch/x86/vdso/vdso32/sysenter.S index e2800affa75..e354bceee0e 100644 --- a/arch/x86/vdso/vdso32/sysenter.S +++ b/arch/x86/vdso/vdso32/sysenter.S @@ -43,7 +43,7 @@ __kernel_vsyscall:  	.space 7,0x90  	/* 14: System call restart point is here! (SYSENTER_RETURN-2) */ -	jmp .Lenter_kernel +	int $0x80  	/* 16: System call normal return point is here! */  VDSO32_SYSENTER_RETURN:	/* Symbol used by sysenter.c via vdso32-syms.h */  	pop %ebp  |