Skip to content

Commit 4d1d097

Browse files
Martin Molnarsuryasaimadhu
authored andcommitted
x86: Fix a handful of typos
Fix a couple of typos in code comments. [ bp: While at it: s/IRQ's/IRQs/. ] Signed-off-by: Martin Molnar <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent bb6d3fb commit 4d1d097

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

arch/x86/kernel/irqinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void __init init_IRQ(void)
8484
* On cpu 0, Assign ISA_IRQ_VECTOR(irq) to IRQ 0..15.
8585
* If these IRQ's are handled by legacy interrupt-controllers like PIC,
8686
* then this configuration will likely be static after the boot. If
87-
* these IRQ's are handled by more mordern controllers like IO-APIC,
87+
* these IRQs are handled by more modern controllers like IO-APIC,
8888
* then this vector space can be freed and re-used dynamically as the
8989
* irq's migrate etc.
9090
*/

arch/x86/kernel/nmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,9 @@ static void default_do_nmi(struct pt_regs *regs)
403403
* a 'real' unknown NMI. For example, while processing
404404
* a perf NMI another perf NMI comes in along with a
405405
* 'real' unknown NMI. These two NMIs get combined into
406-
* one (as descibed above). When the next NMI gets
406+
* one (as described above). When the next NMI gets
407407
* processed, it will be flagged by perf as handled, but
408-
* noone will know that there was a 'real' unknown NMI sent
408+
* no one will know that there was a 'real' unknown NMI sent
409409
* also. As a result it gets swallowed. Or if the first
410410
* perf NMI returns two events handled then the second
411411
* NMI will get eaten by the logic below, again losing a

arch/x86/kernel/reboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ static void emergency_vmx_disable_all(void)
531531

532532
/*
533533
* We need to disable VMX on all CPUs before rebooting, otherwise
534-
* we risk hanging up the machine, because the CPU ignore INIT
534+
* we risk hanging up the machine, because the CPU ignores INIT
535535
* signals when VMX is enabled.
536536
*
537537
* We can't take any locks and we may be on an inconsistent

arch/x86/kernel/smpboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ early_param("possible_cpus", _setup_possible_cpus);
14341434
/*
14351435
* cpu_possible_mask should be static, it cannot change as cpu's
14361436
* are onlined, or offlined. The reason is per-cpu data-structures
1437-
* are allocated by some modules at init time, and dont expect to
1437+
* are allocated by some modules at init time, and don't expect to
14381438
* do this dynamically on cpu arrival/departure.
14391439
* cpu_present_mask on the other hand can change dynamically.
14401440
* In case when cpu_hotplug is not compiled, then we resort to current

arch/x86/kernel/tsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ static unsigned long pit_calibrate_tsc(u32 latch, unsigned long ms, int loopmin)
477477
* transition from one expected value to another with a fairly
478478
* high accuracy, and we didn't miss any events. We can thus
479479
* use the TSC value at the transitions to calculate a pretty
480-
* good value for the TSC frequencty.
480+
* good value for the TSC frequency.
481481
*/
482482
static inline int pit_verify_msb(unsigned char val)
483483
{

arch/x86/kernel/tsc_sync.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ static cycles_t check_tsc_warp(unsigned int timeout)
295295
* But as the TSC is per-logical CPU and can potentially be modified wrongly
296296
* by the bios, TSC sync test for smaller duration should be able
297297
* to catch such errors. Also this will catch the condition where all the
298-
* cores in the socket doesn't get reset at the same time.
298+
* cores in the socket don't get reset at the same time.
299299
*/
300300
static inline unsigned int loop_timeout(int cpu)
301301
{

0 commit comments

Comments
 (0)