Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: Fix misspellings in comments

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: trivial@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Adam Buchbinder and committed by
Ingo Molnar
6a6256f9 1b74dde7

+52 -52
+1 -1
arch/x86/entry/vdso/vclock_gettime.c
··· 178 178 179 179 /* 180 180 * GCC likes to generate cmov here, but this branch is extremely 181 - * predictable (it's just a funciton of time and the likely is 181 + * predictable (it's just a function of time and the likely is 182 182 * very likely) and there's a data dependence, so force GCC 183 183 * to generate a branch instead. I don't barrier() because 184 184 * we don't actually need a barrier, and if this function
+1 -1
arch/x86/include/asm/ftrace.h
··· 52 52 * this screws up the trace output when tracing a ia32 task. 53 53 * Instead of reporting bogus syscalls, just do not trace them. 54 54 * 55 - * If the user realy wants these, then they should use the 55 + * If the user really wants these, then they should use the 56 56 * raw syscall tracepoints with filtering. 57 57 */ 58 58 #define ARCH_TRACE_IGNORE_COMPAT_SYSCALLS 1
+1 -1
arch/x86/include/asm/rwsem.h
··· 25 25 * This should be totally fair - if anything is waiting, a process that wants a 26 26 * lock will go to the back of the queue. When the currently active lock is 27 27 * released, if there's a writer at the front of the queue, then that and only 28 - * that will be woken up; if there's a bunch of consequtive readers at the 28 + * that will be woken up; if there's a bunch of consecutive readers at the 29 29 * front, then they'll all be woken up, but no other readers will be. 30 30 */ 31 31
+2 -2
arch/x86/kernel/acpi/boot.c
··· 956 956 957 957 /* 958 958 * Note that the LAPIC address is obtained from the MADT (32-bit value) 959 - * and (optionally) overriden by a LAPIC_ADDR_OVR entry (64-bit value). 959 + * and (optionally) overridden by a LAPIC_ADDR_OVR entry (64-bit value). 960 960 */ 961 961 962 962 count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_APIC_OVERRIDE, ··· 984 984 985 985 /* 986 986 * Note that the LAPIC address is obtained from the MADT (32-bit value) 987 - * and (optionally) overriden by a LAPIC_ADDR_OVR entry (64-bit value). 987 + * and (optionally) overridden by a LAPIC_ADDR_OVR entry (64-bit value). 988 988 */ 989 989 990 990 count = acpi_table_parse_madt(ACPI_MADT_TYPE_LOCAL_APIC_OVERRIDE,
+1 -1
arch/x86/kernel/apic/apic.c
··· 1611 1611 legacy_pic->mask_all(); 1612 1612 mask_ioapic_entries(); 1613 1613 1614 - /* If irq_remapping_prepare() succeded, try to enable it */ 1614 + /* If irq_remapping_prepare() succeeded, try to enable it */ 1615 1615 if (ir_stat >= 0) 1616 1616 ir_stat = try_to_enable_IR(); 1617 1617 /* ir_stat contains the remap mode or an error code */
+1 -1
arch/x86/kernel/apic/x2apic_uv_x.c
··· 860 860 */ 861 861 void uv_cpu_init(void) 862 862 { 863 - /* CPU 0 initilization will be done via uv_system_init. */ 863 + /* CPU 0 initialization will be done via uv_system_init. */ 864 864 if (!uv_blade_info) 865 865 return; 866 866
+1 -1
arch/x86/kernel/apm_32.c
··· 1088 1088 * @device: identity of device 1089 1089 * @enable: on/off 1090 1090 * 1091 - * Activate or deactive power management on either a specific device 1091 + * Activate or deactivate power management on either a specific device 1092 1092 * or the entire system (%APM_DEVICE_ALL). 1093 1093 */ 1094 1094
+1 -1
arch/x86/kernel/cpu/amd.c
··· 82 82 #ifdef CONFIG_X86_32 83 83 /* 84 84 * General Systems BIOSen alias the cpu frequency registers 85 - * of the Elan at 0x000df000. Unfortuantly, one of the Linux 85 + * of the Elan at 0x000df000. Unfortunately, one of the Linux 86 86 * drivers subsequently pokes it, and changes the CPU speed. 87 87 * Workaround : Remove the unneeded alias. 88 88 */
+2 -2
arch/x86/kernel/cpu/common.c
··· 884 884 if (this_cpu->c_identify) 885 885 this_cpu->c_identify(c); 886 886 887 - /* Clear/Set all flags overriden by options, after probe */ 887 + /* Clear/Set all flags overridden by options, after probe */ 888 888 for (i = 0; i < NCAPINTS; i++) { 889 889 c->x86_capability[i] &= ~cpu_caps_cleared[i]; 890 890 c->x86_capability[i] |= cpu_caps_set[i]; ··· 943 943 x86_init_cache_qos(c); 944 944 945 945 /* 946 - * Clear/Set all flags overriden by options, need do it 946 + * Clear/Set all flags overridden by options, need do it 947 947 * before following smp all cpus cap AND. 948 948 */ 949 949 for (i = 0; i < NCAPINTS; i++) {
+1 -1
arch/x86/kernel/cpu/mtrr/generic.c
··· 42 42 * "BIOS and Kernel Developer's Guide for the AMD Athlon 64 and AMD 43 43 * Opteron Processors" (26094 Rev. 3.30 February 2006), section 44 44 * "13.2.1.2 SYSCFG Register": "The MtrrFixDramModEn bit should be set 45 - * to 1 during BIOS initalization of the fixed MTRRs, then cleared to 45 + * to 1 during BIOS initialization of the fixed MTRRs, then cleared to 46 46 * 0 for operation." 47 47 */ 48 48 static inline void k8_check_syscfg_dram_mod_en(void)
+1 -1
arch/x86/kernel/cpu/perf_event.h
··· 272 272 * events to select for counter rescheduling. 273 273 * 274 274 * Care must be taken as the rescheduling algorithm is O(n!) which 275 - * will increase scheduling cycles for an over-commited system 275 + * will increase scheduling cycles for an over-committed system 276 276 * dramatically. The number of such EVENT_CONSTRAINT_OVERLAP() macros 277 277 * and its counter masks must be kept at a minimum. 278 278 */
+1 -1
arch/x86/kernel/cpu/perf_event_intel_lbr.c
··· 649 649 650 650 /* 651 651 * return the type of control flow change at address "from" 652 - * intruction is not necessarily a branch (in case of interrupt). 652 + * instruction is not necessarily a branch (in case of interrupt). 653 653 * 654 654 * The branch type returned also includes the priv level of the 655 655 * target of the control flow change (X86_BR_USER, X86_BR_KERNEL).
+1 -1
arch/x86/kernel/early_printk.c
··· 287 287 } 288 288 289 289 /* 290 - * Lastly, initalize the hardware 290 + * Lastly, initialize the hardware 291 291 */ 292 292 if (*s) { 293 293 if (strcmp(s, "nocfg") == 0)
+1 -1
arch/x86/kernel/fpu/regset.c
··· 8 8 /* 9 9 * The xstateregs_active() routine is the same as the regset_fpregs_active() routine, 10 10 * as the "regset->n" for the xstate regset will be updated based on the feature 11 - * capabilites supported by the xsave. 11 + * capabilities supported by the xsave. 12 12 */ 13 13 int regset_fpregs_active(struct task_struct *target, const struct user_regset *regset) 14 14 {
+1 -1
arch/x86/kernel/kexec-bzimage64.c
··· 271 271 int ret = -ENOEXEC; 272 272 struct setup_header *header; 273 273 274 - /* kernel should be atleast two sectors long */ 274 + /* kernel should be at least two sectors long */ 275 275 if (len < 2 * 512) { 276 276 pr_err("File is too short to be a bzImage\n"); 277 277 return ret;
+2 -2
arch/x86/kernel/kgdb.c
··· 609 609 }; 610 610 611 611 /** 612 - * kgdb_arch_init - Perform any architecture specific initalization. 612 + * kgdb_arch_init - Perform any architecture specific initialization. 613 613 * 614 - * This function will handle the initalization of any architecture 614 + * This function will handle the initialization of any architecture 615 615 * specific callbacks. 616 616 */ 617 617 int kgdb_arch_init(void)
+1 -1
arch/x86/kernel/kvmclock.c
··· 226 226 * registered memory location. If the guest happens to shutdown, this memory 227 227 * won't be valid. In cases like kexec, in which you install a new kernel, this 228 228 * means a random memory location will be kept being written. So before any 229 - * kind of shutdown from our side, we unregister the clock by writting anything 229 + * kind of shutdown from our side, we unregister the clock by writing anything 230 230 * that does not have the 'enable' bit set in the msr 231 231 */ 232 232 #ifdef CONFIG_KEXEC_CORE
+1 -1
arch/x86/kernel/tsc.c
··· 876 876 local_irq_save(flags); 877 877 878 878 /* 879 - * We're comming out of suspend, there's no concurrency yet; don't 879 + * We're coming out of suspend, there's no concurrency yet; don't 880 880 * bother being nice about the RCU stuff, just write to both 881 881 * data fields. 882 882 */
+2 -2
arch/x86/kvm/mmu.c
··· 478 478 static bool spte_has_volatile_bits(u64 spte) 479 479 { 480 480 /* 481 - * Always atomicly update spte if it can be updated 481 + * Always atomically update spte if it can be updated 482 482 * out of mmu-lock, it can ensure dirty bit is not lost, 483 483 * also, it can help us to get a stable is_writable_pte() 484 484 * to ensure tlb flush is not missed. ··· 549 549 550 550 /* 551 551 * For the spte updated out of mmu-lock is safe, since 552 - * we always atomicly update it, see the comments in 552 + * we always atomically update it, see the comments in 553 553 * spte_has_volatile_bits(). 554 554 */ 555 555 if (spte_is_locklessly_modifiable(old_spte) &&
+2 -2
arch/x86/kvm/vmx.c
··· 5475 5475 return kvm_set_cr4(vcpu, val); 5476 5476 } 5477 5477 5478 - /* called to set cr0 as approriate for clts instruction exit. */ 5478 + /* called to set cr0 as appropriate for clts instruction exit. */ 5479 5479 static void handle_clts(struct kvm_vcpu *vcpu) 5480 5480 { 5481 5481 if (is_guest_mode(vcpu)) { ··· 7223 7223 /* The value to write might be 32 or 64 bits, depending on L1's long 7224 7224 * mode, and eventually we need to write that into a field of several 7225 7225 * possible lengths. The code below first zero-extends the value to 64 7226 - * bit (field_value), and then copies only the approriate number of 7226 + * bit (field_value), and then copies only the appropriate number of 7227 7227 * bits into the vmcs12 field. 7228 7228 */ 7229 7229 u64 field_value = 0;
+1 -1
arch/x86/kvm/x86.c
··· 1562 1562 1563 1563 /* 1564 1564 * GCC likes to generate cmov here, but this branch is extremely 1565 - * predictable (it's just a funciton of time and the likely is 1565 + * predictable (it's just a function of time and the likely is 1566 1566 * very likely) and there's a data dependence, so force GCC 1567 1567 * to generate a branch instead. I don't barrier() because 1568 1568 * we don't actually need a barrier, and if this function
+1 -1
arch/x86/lib/memset_64.S
··· 9 9 /* 10 10 * ISO C memset - set a memory block to a byte value. This function uses fast 11 11 * string to get better performance than the original function. The code is 12 - * simpler and shorter than the orignal function as well. 12 + * simpler and shorter than the original function as well. 13 13 * 14 14 * rdi destination 15 15 * rsi value (char)
+2 -2
arch/x86/mm/mpx.c
··· 728 728 729 729 /* 730 730 * This covers 32-bit emulation as well as 32-bit kernels 731 - * running on 64-bit harware. 731 + * running on 64-bit hardware. 732 732 */ 733 733 if (!is_64bit_mm(mm)) 734 734 return (4ULL * GB) / MPX_BD_NR_ENTRIES_32; 735 735 736 736 /* 737 737 * 'x86_virt_bits' returns what the hardware is capable 738 - * of, and returns the full >32-bit adddress space when 738 + * of, and returns the full >32-bit address space when 739 739 * running 32-bit kernels on 64-bit hardware. 740 740 */ 741 741 virt_space = (1ULL << boot_cpu_data.x86_virt_bits);
+1 -1
arch/x86/mm/pat.c
··· 149 149 PAT_WT = 4, /* Write Through */ 150 150 PAT_WP = 5, /* Write Protected */ 151 151 PAT_WB = 6, /* Write Back (default) */ 152 - PAT_UC_MINUS = 7, /* UC, but can be overriden by MTRR */ 152 + PAT_UC_MINUS = 7, /* UC, but can be overridden by MTRR */ 153 153 }; 154 154 155 155 #define CM(c) (_PAGE_CACHE_MODE_ ## c)
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_bma023.c
··· 1 1 /* 2 - * platform_bma023.c: bma023 platform data initilization file 2 + * platform_bma023.c: bma023 platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 *
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_emc1403.c
··· 1 1 /* 2 - * platform_emc1403.c: emc1403 platform data initilization file 2 + * platform_emc1403.c: emc1403 platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_gpio_keys.c
··· 1 1 /* 2 - * platform_gpio_keys.c: gpio_keys platform data initilization file 2 + * platform_gpio_keys.c: gpio_keys platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_lis331.c
··· 1 1 /* 2 - * platform_lis331.c: lis331 platform data initilization file 2 + * platform_lis331.c: lis331 platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_max7315.c
··· 1 1 /* 2 - * platform_max7315.c: max7315 platform data initilization file 2 + * platform_max7315.c: max7315 platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_mpu3050.c
··· 1 1 /* 2 - * platform_mpu3050.c: mpu3050 platform data initilization file 2 + * platform_mpu3050.c: mpu3050 platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_msic.c
··· 1 1 /* 2 - * platform_msic.c: MSIC platform data initilization file 2 + * platform_msic.c: MSIC platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_msic_audio.c
··· 1 1 /* 2 - * platform_msic_audio.c: MSIC audio platform data initilization file 2 + * platform_msic_audio.c: MSIC audio platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_msic_battery.c
··· 1 1 /* 2 - * platform_msic_battery.c: MSIC battery platform data initilization file 2 + * platform_msic_battery.c: MSIC battery platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_msic_gpio.c
··· 1 1 /* 2 - * platform_msic_gpio.c: MSIC GPIO platform data initilization file 2 + * platform_msic_gpio.c: MSIC GPIO platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_msic_ocd.c
··· 1 1 /* 2 - * platform_msic_ocd.c: MSIC OCD platform data initilization file 2 + * platform_msic_ocd.c: MSIC OCD platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_msic_power_btn.c
··· 1 1 /* 2 - * platform_msic_power_btn.c: MSIC power btn platform data initilization file 2 + * platform_msic_power_btn.c: MSIC power btn platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_msic_thermal.c
··· 1 1 /* 2 - * platform_msic_thermal.c: msic_thermal platform data initilization file 2 + * platform_msic_thermal.c: msic_thermal platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_pmic_gpio.c
··· 1 1 /* 2 - * platform_pmic_gpio.c: PMIC GPIO platform data initilization file 2 + * platform_pmic_gpio.c: PMIC GPIO platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_tc35876x.c
··· 1 1 /* 2 - * platform_tc35876x.c: tc35876x platform data initilization file 2 + * platform_tc35876x.c: tc35876x platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/platform/intel-mid/device_libs/platform_tca6416.c
··· 1 1 /* 2 - * platform_tca6416.c: tca6416 platform data initilization file 2 + * platform_tca6416.c: tca6416 platform data initialization file 3 3 * 4 4 * (C) Copyright 2013 Intel Corporation 5 5 * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com>
+1 -1
arch/x86/purgatory/stack.S
··· 8 8 */ 9 9 10 10 /* A stack for the loaded kernel. 11 - * Seperate and in the data section so it can be prepopulated. 11 + * Separate and in the data section so it can be prepopulated. 12 12 */ 13 13 .data 14 14 .balign 4096
+4 -4
arch/x86/xen/mmu.c
··· 1256 1256 xen_cleanhighmap(addr, addr + size); 1257 1257 xen_start_info->pt_base = (unsigned long)__va(__pa(xen_start_info->pt_base)); 1258 1258 #ifdef DEBUG 1259 - /* This is superflous and is not neccessary, but you know what 1259 + /* This is superfluous and is not necessary, but you know what 1260 1260 * lets do it. The MODULES_VADDR -> MODULES_END should be clear of 1261 1261 * anything at this stage. */ 1262 1262 xen_cleanhighmap(MODULES_VADDR, roundup(MODULES_VADDR, PUD_SIZE) - 1); ··· 1474 1474 /* 1475 1475 * At the start of the day - when Xen launches a guest, it has already 1476 1476 * built pagetables for the guest. We diligently look over them 1477 - * in xen_setup_kernel_pagetable and graft as appropiate them in the 1477 + * in xen_setup_kernel_pagetable and graft as appropriate them in the 1478 1478 * init_level4_pgt and its friends. Then when we are happy we load 1479 1479 * the new init_level4_pgt - and continue on. 1480 1480 * ··· 2792 2792 struct remap_data *rmd = data; 2793 2793 pte_t pte = pte_mkspecial(mfn_pte(*rmd->mfn, rmd->prot)); 2794 2794 2795 - /* If we have a contigious range, just update the mfn itself, 2795 + /* If we have a contiguous range, just update the mfn itself, 2796 2796 else update pointer to be "next mfn". */ 2797 2797 if (rmd->contiguous) 2798 2798 (*rmd->mfn)++; ··· 2833 2833 2834 2834 rmd.mfn = gfn; 2835 2835 rmd.prot = prot; 2836 - /* We use the err_ptr to indicate if there we are doing a contigious 2836 + /* We use the err_ptr to indicate if there we are doing a contiguous 2837 2837 * mapping or a discontigious mapping. */ 2838 2838 rmd.contiguous = !err_ptr; 2839 2839
+1 -1
arch/x86/xen/xen-head.S
··· 26 26 (1 << XENFEAT_auto_translated_physmap) | \ 27 27 (1 << XENFEAT_supervisor_mode_kernel) | \ 28 28 (1 << XENFEAT_hvm_callback_vector)) 29 - /* The XENFEAT_writable_page_tables is not stricly neccessary as we set that 29 + /* The XENFEAT_writable_page_tables is not stricly necessary as we set that 30 30 * up regardless whether this CONFIG option is enabled or not, but it 31 31 * clarifies what the right flags need to be. 32 32 */