Loading arch/x86/include/asm/x86_init.h +0 −2 Original line number Diff line number Diff line Loading @@ -156,7 +156,6 @@ struct x86_cpuinit_ops { /** * struct x86_platform_ops - platform specific runtime functions * @calibrate_tsc: calibrate TSC * @wallclock_init: init the wallclock device * @get_wallclock: get time from HW clock like RTC etc. * @set_wallclock: set time back to HW clock * @is_untracked_pat_range exclude from PAT logic Loading @@ -167,7 +166,6 @@ struct x86_cpuinit_ops { */ struct x86_platform_ops { unsigned long (*calibrate_tsc)(void); void (*wallclock_init)(void); unsigned long (*get_wallclock)(void); int (*set_wallclock)(unsigned long nowtime); void (*iommu_shutdown)(void); Loading arch/x86/kernel/apic/io_apic.c +5 −4 Original line number Diff line number Diff line Loading @@ -2293,6 +2293,7 @@ ioapic_set_affinity(struct irq_data *data, const struct cpumask *mask, /* Only the high 8 bits are valid. */ dest = SET_APIC_LOGICAL_ID(dest); __target_IO_APIC_irq(irq, dest, data->chip_data); ret = IRQ_SET_MASK_OK_NOCOPY; } raw_spin_unlock_irqrestore(&ioapic_lock, flags); return ret; Loading Loading @@ -3118,7 +3119,7 @@ msi_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force) __write_msi_msg(data->msi_desc, &msg); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif /* CONFIG_SMP */ Loading Loading @@ -3240,7 +3241,7 @@ dmar_msi_set_affinity(struct irq_data *data, const struct cpumask *mask, dmar_msi_write(irq, &msg); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif /* CONFIG_SMP */ Loading Loading @@ -3293,7 +3294,7 @@ static int hpet_msi_set_affinity(struct irq_data *data, hpet_msi_write(data->handler_data, &msg); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif /* CONFIG_SMP */ Loading Loading @@ -3366,7 +3367,7 @@ ht_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force) return -1; target_ht_irq(data->irq, dest, cfg->vector); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif Loading arch/x86/kernel/early_printk.c +6 −6 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ static __init void early_serial_init(char *s) unsigned char c; unsigned divisor; unsigned baud = DEFAULT_BAUD; char *e; ssize_t ret; if (*s == ',') ++s; Loading @@ -127,14 +127,14 @@ static __init void early_serial_init(char *s) if (*s) { unsigned port; if (!strncmp(s, "0x", 2)) { early_serial_base = simple_strtoul(s, &e, 16); ret = kstrtoint(s, 16, &early_serial_base); } else { static const int __initconst bases[] = { 0x3f8, 0x2f8 }; if (!strncmp(s, "ttyS", 4)) s += 4; port = simple_strtoul(s, &e, 10); if (port > 1 || s == e) ret = kstrtouint(s, 10, &port); if (ret || port > 1) port = 0; early_serial_base = bases[port]; } Loading @@ -149,8 +149,8 @@ static __init void early_serial_init(char *s) outb(0x3, early_serial_base + MCR); /* DTR + RTS */ if (*s) { baud = simple_strtoul(s, &e, 0); if (baud == 0 || s == e) ret = kstrtouint(s, 0, &baud); if (ret || baud == 0) baud = DEFAULT_BAUD; } Loading arch/x86/kernel/setup.c +0 −2 Original line number Diff line number Diff line Loading @@ -1031,8 +1031,6 @@ void __init setup_arch(char **cmdline_p) x86_init.timers.wallclock_init(); x86_platform.wallclock_init(); mcheck_init(); arch_init_ideal_nops(); Loading arch/x86/kernel/x86_init.c +0 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ void __init x86_init_uint_noop(unsigned int unused) { } void __init x86_init_pgd_noop(pgd_t *unused) { } int __init iommu_init_noop(void) { return 0; } void iommu_shutdown_noop(void) { } void wallclock_init_noop(void) { } /* * The platform setup functions are preset with the default functions Loading Loading @@ -101,7 +100,6 @@ static int default_i8042_detect(void) { return 1; }; struct x86_platform_ops x86_platform = { .calibrate_tsc = native_calibrate_tsc, .wallclock_init = wallclock_init_noop, .get_wallclock = mach_get_cmos_time, .set_wallclock = mach_set_rtc_mmss, .iommu_shutdown = iommu_shutdown_noop, Loading Loading
arch/x86/include/asm/x86_init.h +0 −2 Original line number Diff line number Diff line Loading @@ -156,7 +156,6 @@ struct x86_cpuinit_ops { /** * struct x86_platform_ops - platform specific runtime functions * @calibrate_tsc: calibrate TSC * @wallclock_init: init the wallclock device * @get_wallclock: get time from HW clock like RTC etc. * @set_wallclock: set time back to HW clock * @is_untracked_pat_range exclude from PAT logic Loading @@ -167,7 +166,6 @@ struct x86_cpuinit_ops { */ struct x86_platform_ops { unsigned long (*calibrate_tsc)(void); void (*wallclock_init)(void); unsigned long (*get_wallclock)(void); int (*set_wallclock)(unsigned long nowtime); void (*iommu_shutdown)(void); Loading
arch/x86/kernel/apic/io_apic.c +5 −4 Original line number Diff line number Diff line Loading @@ -2293,6 +2293,7 @@ ioapic_set_affinity(struct irq_data *data, const struct cpumask *mask, /* Only the high 8 bits are valid. */ dest = SET_APIC_LOGICAL_ID(dest); __target_IO_APIC_irq(irq, dest, data->chip_data); ret = IRQ_SET_MASK_OK_NOCOPY; } raw_spin_unlock_irqrestore(&ioapic_lock, flags); return ret; Loading Loading @@ -3118,7 +3119,7 @@ msi_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force) __write_msi_msg(data->msi_desc, &msg); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif /* CONFIG_SMP */ Loading Loading @@ -3240,7 +3241,7 @@ dmar_msi_set_affinity(struct irq_data *data, const struct cpumask *mask, dmar_msi_write(irq, &msg); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif /* CONFIG_SMP */ Loading Loading @@ -3293,7 +3294,7 @@ static int hpet_msi_set_affinity(struct irq_data *data, hpet_msi_write(data->handler_data, &msg); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif /* CONFIG_SMP */ Loading Loading @@ -3366,7 +3367,7 @@ ht_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force) return -1; target_ht_irq(data->irq, dest, cfg->vector); return 0; return IRQ_SET_MASK_OK_NOCOPY; } #endif Loading
arch/x86/kernel/early_printk.c +6 −6 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ static __init void early_serial_init(char *s) unsigned char c; unsigned divisor; unsigned baud = DEFAULT_BAUD; char *e; ssize_t ret; if (*s == ',') ++s; Loading @@ -127,14 +127,14 @@ static __init void early_serial_init(char *s) if (*s) { unsigned port; if (!strncmp(s, "0x", 2)) { early_serial_base = simple_strtoul(s, &e, 16); ret = kstrtoint(s, 16, &early_serial_base); } else { static const int __initconst bases[] = { 0x3f8, 0x2f8 }; if (!strncmp(s, "ttyS", 4)) s += 4; port = simple_strtoul(s, &e, 10); if (port > 1 || s == e) ret = kstrtouint(s, 10, &port); if (ret || port > 1) port = 0; early_serial_base = bases[port]; } Loading @@ -149,8 +149,8 @@ static __init void early_serial_init(char *s) outb(0x3, early_serial_base + MCR); /* DTR + RTS */ if (*s) { baud = simple_strtoul(s, &e, 0); if (baud == 0 || s == e) ret = kstrtouint(s, 0, &baud); if (ret || baud == 0) baud = DEFAULT_BAUD; } Loading
arch/x86/kernel/setup.c +0 −2 Original line number Diff line number Diff line Loading @@ -1031,8 +1031,6 @@ void __init setup_arch(char **cmdline_p) x86_init.timers.wallclock_init(); x86_platform.wallclock_init(); mcheck_init(); arch_init_ideal_nops(); Loading
arch/x86/kernel/x86_init.c +0 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ void __init x86_init_uint_noop(unsigned int unused) { } void __init x86_init_pgd_noop(pgd_t *unused) { } int __init iommu_init_noop(void) { return 0; } void iommu_shutdown_noop(void) { } void wallclock_init_noop(void) { } /* * The platform setup functions are preset with the default functions Loading Loading @@ -101,7 +100,6 @@ static int default_i8042_detect(void) { return 1; }; struct x86_platform_ops x86_platform = { .calibrate_tsc = native_calibrate_tsc, .wallclock_init = wallclock_init_noop, .get_wallclock = mach_get_cmos_time, .set_wallclock = mach_set_rtc_mmss, .iommu_shutdown = iommu_shutdown_noop, Loading