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

MIPS: Fix misspellings in comments.

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: trivial@kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12617/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Adam Buchbinder and committed by
Ralf Baechle
92a76f6d 091bc3a4

+52 -52
+2 -2
arch/mips/alchemy/common/dbdma.c
··· 261 261 au1x_dma_chan_t *cp; 262 262 263 263 /* 264 - * We do the intialization on the first channel allocation. 264 + * We do the initialization on the first channel allocation. 265 265 * We have to wait because of the interrupt handler initialization 266 266 * which can't be done successfully during board set up. 267 267 */ ··· 964 964 dp->dscr_source1 = dscr->dscr_source1; 965 965 dp->dscr_cmd1 = dscr->dscr_cmd1; 966 966 nbytes = dscr->dscr_cmd1; 967 - /* Allow the caller to specifiy if an interrupt is generated */ 967 + /* Allow the caller to specify if an interrupt is generated */ 968 968 dp->dscr_cmd0 &= ~DSCR_CMD0_IE; 969 969 dp->dscr_cmd0 |= dscr->dscr_cmd0 | DSCR_CMD0_V; 970 970 ctp->chan_ptr->ddma_dbell = 0;
+7 -7
arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c
··· 68 68 gmx_rx_int_en.s.pause_drp = 1; 69 69 /* Skipping gmx_rx_int_en.s.reserved_16_18 */ 70 70 /*gmx_rx_int_en.s.ifgerr = 1; */ 71 - /*gmx_rx_int_en.s.coldet = 1; // Collsion detect */ 71 + /*gmx_rx_int_en.s.coldet = 1; // Collision detect */ 72 72 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */ 73 73 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */ 74 74 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */ ··· 89 89 /*gmx_rx_int_en.s.phy_spd = 1; */ 90 90 /*gmx_rx_int_en.s.phy_link = 1; */ 91 91 /*gmx_rx_int_en.s.ifgerr = 1; */ 92 - /*gmx_rx_int_en.s.coldet = 1; // Collsion detect */ 92 + /*gmx_rx_int_en.s.coldet = 1; // Collision detect */ 93 93 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */ 94 94 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */ 95 95 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */ ··· 112 112 /*gmx_rx_int_en.s.phy_spd = 1; */ 113 113 /*gmx_rx_int_en.s.phy_link = 1; */ 114 114 /*gmx_rx_int_en.s.ifgerr = 1; */ 115 - /*gmx_rx_int_en.s.coldet = 1; // Collsion detect */ 115 + /*gmx_rx_int_en.s.coldet = 1; // Collision detect */ 116 116 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */ 117 117 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */ 118 118 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */ ··· 134 134 /*gmx_rx_int_en.s.phy_spd = 1; */ 135 135 /*gmx_rx_int_en.s.phy_link = 1; */ 136 136 /*gmx_rx_int_en.s.ifgerr = 1; */ 137 - /*gmx_rx_int_en.s.coldet = 1; // Collsion detect */ 137 + /*gmx_rx_int_en.s.coldet = 1; // Collision detect */ 138 138 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */ 139 139 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */ 140 140 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */ ··· 156 156 /*gmx_rx_int_en.s.phy_spd = 1; */ 157 157 /*gmx_rx_int_en.s.phy_link = 1; */ 158 158 /*gmx_rx_int_en.s.ifgerr = 1; */ 159 - /*gmx_rx_int_en.s.coldet = 1; // Collsion detect */ 159 + /*gmx_rx_int_en.s.coldet = 1; // Collision detect */ 160 160 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */ 161 161 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */ 162 162 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */ ··· 179 179 /*gmx_rx_int_en.s.phy_spd = 1; */ 180 180 /*gmx_rx_int_en.s.phy_link = 1; */ 181 181 /*gmx_rx_int_en.s.ifgerr = 1; */ 182 - /*gmx_rx_int_en.s.coldet = 1; // Collsion detect */ 182 + /*gmx_rx_int_en.s.coldet = 1; // Collision detect */ 183 183 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */ 184 184 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */ 185 185 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */ ··· 209 209 gmx_rx_int_en.s.pause_drp = 1; 210 210 /* Skipping gmx_rx_int_en.s.reserved_16_18 */ 211 211 /*gmx_rx_int_en.s.ifgerr = 1; */ 212 - /*gmx_rx_int_en.s.coldet = 1; // Collsion detect */ 212 + /*gmx_rx_int_en.s.coldet = 1; // Collision detect */ 213 213 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */ 214 214 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */ 215 215 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
+1 -1
arch/mips/cavium-octeon/executive/cvmx-pko.c
··· 189 189 /* 190 190 * Set the size of the PKO command buffers to an odd number of 191 191 * 64bit words. This allows the normal two word send to stay 192 - * aligned and never span a comamnd word buffer. 192 + * aligned and never span a command word buffer. 193 193 */ 194 194 config.u64 = 0; 195 195 config.s.pool = CVMX_FPA_OUTPUT_BUFFER_POOL;
+1 -1
arch/mips/cavium-octeon/smp.c
··· 331 331 } 332 332 333 333 if (!(avail_coremask & (1 << coreid))) { 334 - /* core not available, assume, that catched by simple-executive */ 334 + /* core not available, assume, that caught by simple-executive */ 335 335 cvmx_write_csr(CVMX_CIU_PP_RST, 1 << coreid); 336 336 cvmx_write_csr(CVMX_CIU_PP_RST, 0); 337 337 }
+1 -1
arch/mips/dec/int-handler.S
··· 5 5 * Written by Ralf Baechle and Andreas Busse, modified for DECstation 6 6 * support by Paul Antoine and Harald Koerfgen. 7 7 * 8 - * completly rewritten: 8 + * completely rewritten: 9 9 * Copyright (C) 1998 Harald Koerfgen 10 10 * 11 11 * Rewritten extensively for controller-driven IRQ support
+1 -1
arch/mips/fw/arc/memory.c
··· 9 9 * PROM library functions for acquiring/using memory descriptors given to us 10 10 * from the ARCS firmware. This is only used when CONFIG_ARC_MEMORY is set 11 11 * because on some machines like SGI IP27 the ARC memory configuration data 12 - * completly bogus and alternate easier to use mechanisms are available. 12 + * completely bogus and alternate easier to use mechanisms are available. 13 13 */ 14 14 #include <linux/init.h> 15 15 #include <linux/kernel.h>
+1 -1
arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h
··· 141 141 .endm 142 142 143 143 /* 144 - * Do SMP slave processor setup necessary before we can savely execute C code. 144 + * Do SMP slave processor setup necessary before we can safely execute C code. 145 145 */ 146 146 .macro smp_slave_setup 147 147 .endm
+1 -1
arch/mips/include/asm/mach-generic/kernel-entry-init.h
··· 16 16 .endm 17 17 18 18 /* 19 - * Do SMP slave processor setup necessary before we can savely execute C code. 19 + * Do SMP slave processor setup necessary before we can safely execute C code. 20 20 */ 21 21 .macro smp_slave_setup 22 22 .endm
+1 -1
arch/mips/include/asm/mach-ip27/irq.h
··· 11 11 #define __ASM_MACH_IP27_IRQ_H 12 12 13 13 /* 14 - * A hardwired interrupt number is completly stupid for this system - a 14 + * A hardwired interrupt number is completely stupid for this system - a 15 15 * large configuration might have thousands if not tenthousands of 16 16 * interrupts. 17 17 */
+1 -1
arch/mips/include/asm/mach-ip27/kernel-entry-init.h
··· 81 81 .endm 82 82 83 83 /* 84 - * Do SMP slave processor setup necessary before we can savely execute C code. 84 + * Do SMP slave processor setup necessary before we can safely execute C code. 85 85 */ 86 86 .macro smp_slave_setup 87 87 GET_NASID_ASM t1
+1 -1
arch/mips/include/asm/mach-jz4740/gpio.h
··· 27 27 28 28 /* 29 29 Usually a driver for a SoC component has to request several gpio pins and 30 - configure them as funcion pins. 30 + configure them as function pins. 31 31 jz_gpio_bulk_request can be used to ease this process. 32 32 Usually one would do something like: 33 33
+1 -1
arch/mips/include/asm/mips-cm.h
··· 28 28 * This function returns the physical base address of the Coherence Manager 29 29 * global control block, or 0 if no Coherence Manager is present. It provides 30 30 * a default implementation which reads the CMGCRBase register where available, 31 - * and may be overriden by platforms which determine this address in a 31 + * and may be overridden by platforms which determine this address in a 32 32 * different way by defining a function with the same prototype except for the 33 33 * name mips_cm_phys_base (without underscores). 34 34 */
+1 -1
arch/mips/include/asm/octeon/cvmx-config.h
··· 33 33 /* Packet buffers */ 34 34 #define CVMX_FPA_PACKET_POOL (0) 35 35 #define CVMX_FPA_PACKET_POOL_SIZE CVMX_FPA_POOL_0_SIZE 36 - /* Work queue entrys */ 36 + /* Work queue entries */ 37 37 #define CVMX_FPA_WQE_POOL (1) 38 38 #define CVMX_FPA_WQE_POOL_SIZE CVMX_FPA_POOL_1_SIZE 39 39 /* PKO queue command buffers */
+1 -1
arch/mips/include/asm/octeon/cvmx.h
··· 189 189 static inline void *cvmx_phys_to_ptr(uint64_t physical_address) 190 190 { 191 191 if (sizeof(void *) == 8) { 192 - /* Just set the top bit, avoiding any TLB uglyness */ 192 + /* Just set the top bit, avoiding any TLB ugliness */ 193 193 return CASTPTR(void, 194 194 CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, 195 195 physical_address));
+9 -9
arch/mips/include/asm/pci/bridge.h
··· 269 269 union { 270 270 u32 cmd_word; 271 271 struct { 272 - u32 didn:4, /* Destination ID */ 273 - sidn:4, /* Source ID */ 274 - pactyp:4, /* Packet type */ 275 - tnum:5, /* Trans Number */ 276 - coh:1, /* Coh Transacti */ 277 - ds:2, /* Data size */ 278 - gbr:1, /* GBR enable */ 279 - vbpm:1, /* VBPM message */ 272 + u32 didn:4, /* Destination ID */ 273 + sidn:4, /* Source ID */ 274 + pactyp:4, /* Packet type */ 275 + tnum:5, /* Trans Number */ 276 + coh:1, /* Coh Transaction */ 277 + ds:2, /* Data size */ 278 + gbr:1, /* GBR enable */ 279 + vbpm:1, /* VBPM message */ 280 280 error:1, /* Error occurred */ 281 - barr:1, /* Barrier op */ 281 + barr:1, /* Barrier op */ 282 282 rsvd:8; 283 283 } berr_st; 284 284 } berr_un;
+1 -1
arch/mips/include/asm/sgi/hpc3.h
··· 147 147 #define HPC3_EPCFG_P1 0x000f /* Cycles to spend in P1 state for PIO */ 148 148 #define HPC3_EPCFG_P2 0x00f0 /* Cycles to spend in P2 state for PIO */ 149 149 #define HPC3_EPCFG_P3 0x0f00 /* Cycles to spend in P3 state for PIO */ 150 - #define HPC3_EPCFG_TST 0x1000 /* Diagnistic ram test feature bit */ 150 + #define HPC3_EPCFG_TST 0x1000 /* Diagnostic ram test feature bit */ 151 151 152 152 u32 _unused2[0x1000/4 - 8]; /* padding */ 153 153
+2 -2
arch/mips/include/asm/sgiarcs.h
··· 144 144 struct linux_vdirent { 145 145 ULONG namelen; 146 146 unsigned char attr; 147 - char fname[32]; /* XXX imperical, should be a define */ 147 + char fname[32]; /* XXX empirical, should be a define */ 148 148 }; 149 149 150 150 /* Other stuff for files. */ ··· 179 179 enum linux_devtypes dtype; 180 180 unsigned long namelen; 181 181 unsigned char attr; 182 - char name[32]; /* XXX imperical, should be define */ 182 + char name[32]; /* XXX empirical, should be define */ 183 183 }; 184 184 185 185 /* This describes the vector containing function pointers to the ARC
+1 -1
arch/mips/include/asm/sn/ioc3.h
··· 355 355 #define SSCR_PAUSE_STATE 0x40000000 /* sets when PAUSE takes effect */ 356 356 #define SSCR_RESET 0x80000000 /* reset DMA channels */ 357 357 358 - /* all producer/comsumer pointers are the same bitfield */ 358 + /* all producer/consumer pointers are the same bitfield */ 359 359 #define PROD_CONS_PTR_4K 0x00000ff8 /* for 4K buffers */ 360 360 #define PROD_CONS_PTR_1K 0x000003f8 /* for 1K buffers */ 361 361 #define PROD_CONS_PTR_OFF 3
+1 -1
arch/mips/include/asm/sn/sn0/hubio.h
··· 628 628 /* 629 629 * Values for field imsgtype 630 630 */ 631 - #define IIO_ICRB_IMSGT_XTALK 0 /* Incoming Meessage from Xtalk */ 631 + #define IIO_ICRB_IMSGT_XTALK 0 /* Incoming Message from Xtalk */ 632 632 #define IIO_ICRB_IMSGT_BTE 1 /* Incoming message from BTE */ 633 633 #define IIO_ICRB_IMSGT_SN0NET 2 /* Incoming message from SN0 net */ 634 634 #define IIO_ICRB_IMSGT_CRB 3 /* Incoming message from CRB ??? */
+1 -1
arch/mips/include/asm/uaccess.h
··· 95 95 } 96 96 97 97 /* 98 - * Is a address valid? This does a straighforward calculation rather 98 + * Is a address valid? This does a straightforward calculation rather 99 99 * than tests. 100 100 * 101 101 * Address valid if:
+1 -1
arch/mips/kernel/mips-cm.c
··· 24 24 "0x04", "cpc", "0x06", "0x07" 25 25 }; 26 26 27 - /* CM3 Tag ECC transation type */ 27 + /* CM3 Tag ECC transaction type */ 28 28 static char *cm3_tr[16] = { 29 29 [0x0] = "ReqNoData", 30 30 [0x1] = "0x1",
+1 -1
arch/mips/kernel/perf_event_mipsxx.c
··· 530 530 531 531 /* 532 532 * MIPS performance counters can be per-TC. The control registers can 533 - * not be directly accessed accross CPUs. Hence if we want to do global 533 + * not be directly accessed across CPUs. Hence if we want to do global 534 534 * control, we need cross CPU calls. on_each_cpu() can help us, but we 535 535 * can not make sure this function is called with interrupts enabled. So 536 536 * here we pause local counters and then grab a rwlock and leave the
+1 -1
arch/mips/kernel/pm-cps.c
··· 472 472 /* 473 473 * Disable all but self interventions. The load from COHCTL is defined 474 474 * by the interAptiv & proAptiv SUMs as ensuring that the operation 475 - * resulting from the preceeding store is complete. 475 + * resulting from the preceding store is complete. 476 476 */ 477 477 uasm_i_addiu(&p, t0, zero, 1 << cpu_data[cpu].core); 478 478 uasm_i_sw(&p, t0, 0, r_pcohctl);
+1 -1
arch/mips/kernel/process.c
··· 615 615 * allows us to only worry about whether an FP mode switch is in 616 616 * progress when FP is first used in a tasks time slice. Pretty much all 617 617 * of the mode switch overhead can thus be confined to cases where mode 618 - * switches are actually occuring. That is, to here. However for the 618 + * switches are actually occurring. That is, to here. However for the 619 619 * thread performing the mode switch it may take a while... 620 620 */ 621 621 if (num_online_cpus() > 1) {
+1 -1
arch/mips/kernel/traps.c
··· 2214 2214 2215 2215 /* 2216 2216 * Copy the generic exception handlers to their final destination. 2217 - * This will be overriden later as suitable for a particular 2217 + * This will be overridden later as suitable for a particular 2218 2218 * configuration. 2219 2219 */ 2220 2220 set_handler(0x180, &except_vec3_generic, 0x80);
+1 -1
arch/mips/kvm/tlb.c
··· 632 632 633 633 kvm_debug("%s: vcpu %p, cpu: %d\n", __func__, vcpu, cpu); 634 634 635 - /* Alocate new kernel and user ASIDs if needed */ 635 + /* Allocate new kernel and user ASIDs if needed */ 636 636 637 637 local_irq_save(flags); 638 638
+1 -1
arch/mips/kvm/trap_emul.c
··· 500 500 kvm_write_c0_guest_config7(cop0, (MIPS_CONF7_WII) | (1 << 10)); 501 501 502 502 /* 503 - * Setup IntCtl defaults, compatibilty mode for timer interrupts (HW5) 503 + * Setup IntCtl defaults, compatibility mode for timer interrupts (HW5) 504 504 */ 505 505 kvm_write_c0_guest_intctl(cop0, 0xFC000000); 506 506
+3 -3
arch/mips/math-emu/ieee754dp.c
··· 97 97 { 98 98 assert(xm); /* we don't gen exact zeros (probably should) */ 99 99 100 - assert((xm >> (DP_FBITS + 1 + 3)) == 0); /* no execess */ 100 + assert((xm >> (DP_FBITS + 1 + 3)) == 0); /* no excess */ 101 101 assert(xm & (DP_HIDDEN_BIT << 3)); 102 102 103 103 if (xe < DP_EMIN) { ··· 165 165 /* strip grs bits */ 166 166 xm >>= 3; 167 167 168 - assert((xm >> (DP_FBITS + 1)) == 0); /* no execess */ 168 + assert((xm >> (DP_FBITS + 1)) == 0); /* no excess */ 169 169 assert(xe >= DP_EMIN); 170 170 171 171 if (xe > DP_EMAX) { ··· 198 198 ieee754_setcx(IEEE754_UNDERFLOW); 199 199 return builddp(sn, DP_EMIN - 1 + DP_EBIAS, xm); 200 200 } else { 201 - assert((xm >> (DP_FBITS + 1)) == 0); /* no execess */ 201 + assert((xm >> (DP_FBITS + 1)) == 0); /* no excess */ 202 202 assert(xm & DP_HIDDEN_BIT); 203 203 204 204 return builddp(sn, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT);
+3 -3
arch/mips/math-emu/ieee754sp.c
··· 97 97 { 98 98 assert(xm); /* we don't gen exact zeros (probably should) */ 99 99 100 - assert((xm >> (SP_FBITS + 1 + 3)) == 0); /* no execess */ 100 + assert((xm >> (SP_FBITS + 1 + 3)) == 0); /* no excess */ 101 101 assert(xm & (SP_HIDDEN_BIT << 3)); 102 102 103 103 if (xe < SP_EMIN) { ··· 163 163 /* strip grs bits */ 164 164 xm >>= 3; 165 165 166 - assert((xm >> (SP_FBITS + 1)) == 0); /* no execess */ 166 + assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ 167 167 assert(xe >= SP_EMIN); 168 168 169 169 if (xe > SP_EMAX) { ··· 196 196 ieee754_setcx(IEEE754_UNDERFLOW); 197 197 return buildsp(sn, SP_EMIN - 1 + SP_EBIAS, xm); 198 198 } else { 199 - assert((xm >> (SP_FBITS + 1)) == 0); /* no execess */ 199 + assert((xm >> (SP_FBITS + 1)) == 0); /* no excess */ 200 200 assert(xm & SP_HIDDEN_BIT); 201 201 202 202 return buildsp(sn, xe + SP_EBIAS, xm & ~SP_HIDDEN_BIT);
+1 -1
arch/mips/mm/sc-ip22.c
··· 158 158 return 1; 159 159 } 160 160 161 - /* XXX Check with wje if the Indy caches can differenciate between 161 + /* XXX Check with wje if the Indy caches can differentiate between 162 162 writeback + invalidate and just invalidate. */ 163 163 static struct bcache_ops indy_sc_ops = { 164 164 .bc_enable = indy_sc_enable,
+1 -1
arch/mips/mm/tlbex.c
··· 12 12 * Copyright (C) 2011 MIPS Technologies, Inc. 13 13 * 14 14 * ... and the days got worse and worse and now you see 15 - * I've gone completly out of my mind. 15 + * I've gone completely out of my mind. 16 16 * 17 17 * They're coming to take me a away haha 18 18 * they're coming to take me a away hoho hihi haha
+1 -1
arch/mips/sgi-ip27/ip27-memory.c
··· 7 7 * Copyright (C) 2000 by Silicon Graphics, Inc. 8 8 * Copyright (C) 2004 by Christoph Hellwig 9 9 * 10 - * On SGI IP27 the ARC memory configuration data is completly bogus but 10 + * On SGI IP27 the ARC memory configuration data is completely bogus but 11 11 * alternate easier to use mechanisms are available. 12 12 */ 13 13 #include <linux/init.h>