arch/x86: Remove unecessary semicolons
Found by http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Cc: avi@redhat.com Cc: mtosatti@redhat.com Cc: a.p.zijlstra@chello.nl Cc: rusty@rustcorp.com.au Cc: masami.hiramatsu.pt@hitachi.com Cc: suresh.b.siddha@intel.com Cc: joerg.roedel@amd.com Cc: agordeev@redhat.com Cc: yinghai@kernel.org Cc: bhelgaas@google.com Cc: liuj97@gmail.com Link: http://lkml.kernel.org/r/1347986174-30287-7-git-send-email-peter.senna@gmail.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
committed by
Ingo Molnar
parent
81a15f2ee5
commit
4b8073e467
@@ -317,7 +317,7 @@ static void alternatives_smp_lock(const s32 *start, const s32 *end,
|
|||||||
/* turn DS segment override prefix into lock prefix */
|
/* turn DS segment override prefix into lock prefix */
|
||||||
if (*ptr == 0x3e)
|
if (*ptr == 0x3e)
|
||||||
text_poke(ptr, ((unsigned char []){0xf0}), 1);
|
text_poke(ptr, ((unsigned char []){0xf0}), 1);
|
||||||
};
|
}
|
||||||
mutex_unlock(&text_mutex);
|
mutex_unlock(&text_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -338,7 +338,7 @@ static void alternatives_smp_unlock(const s32 *start, const s32 *end,
|
|||||||
/* turn lock prefix into DS segment override prefix */
|
/* turn lock prefix into DS segment override prefix */
|
||||||
if (*ptr == 0xf0)
|
if (*ptr == 0xf0)
|
||||||
text_poke(ptr, ((unsigned char []){0x3E}), 1);
|
text_poke(ptr, ((unsigned char []){0x3E}), 1);
|
||||||
};
|
}
|
||||||
mutex_unlock(&text_mutex);
|
mutex_unlock(&text_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1934,7 +1934,7 @@ void smp_error_interrupt(struct pt_regs *regs)
|
|||||||
apic_printk(APIC_DEBUG, KERN_CONT " : %s", error_interrupt_reason[i]);
|
apic_printk(APIC_DEBUG, KERN_CONT " : %s", error_interrupt_reason[i]);
|
||||||
i++;
|
i++;
|
||||||
v1 >>= 1;
|
v1 >>= 1;
|
||||||
};
|
}
|
||||||
|
|
||||||
apic_printk(APIC_DEBUG, KERN_CONT "\n");
|
apic_printk(APIC_DEBUG, KERN_CONT "\n");
|
||||||
|
|
||||||
|
@@ -4543,7 +4543,7 @@ static int handle_cr(struct kvm_vcpu *vcpu)
|
|||||||
vcpu->run->exit_reason = KVM_EXIT_SET_TPR;
|
vcpu->run->exit_reason = KVM_EXIT_SET_TPR;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
break;
|
break;
|
||||||
case 2: /* clts */
|
case 2: /* clts */
|
||||||
handle_clts(vcpu);
|
handle_clts(vcpu);
|
||||||
|
@@ -585,7 +585,7 @@ static int __init pci_parse_mcfg(struct acpi_table_header *header)
|
|||||||
while (i >= sizeof(struct acpi_mcfg_allocation)) {
|
while (i >= sizeof(struct acpi_mcfg_allocation)) {
|
||||||
entries++;
|
entries++;
|
||||||
i -= sizeof(struct acpi_mcfg_allocation);
|
i -= sizeof(struct acpi_mcfg_allocation);
|
||||||
};
|
}
|
||||||
if (entries == 0) {
|
if (entries == 0) {
|
||||||
pr_err(PREFIX "MMCONFIG has no entries\n");
|
pr_err(PREFIX "MMCONFIG has no entries\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
Reference in New Issue
Block a user