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

powerpc: Fix misspellings in comments.

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Adam Buchbinder and committed by
Michael Ellerman
446957ba 95442c64

+56 -56
+1 -1
arch/powerpc/boot/rs6000.h
··· 239 239 #define DEFAULT_DATA_SECTION_ALIGNMENT 4 240 240 #define DEFAULT_BSS_SECTION_ALIGNMENT 4 241 241 #define DEFAULT_TEXT_SECTION_ALIGNMENT 4 242 - /* For new sections we havn't heard of before */ 242 + /* For new sections we haven't heard of before */ 243 243 #define DEFAULT_SECTION_ALIGNMENT 4
+1 -1
arch/powerpc/boot/treeboot-akebono.c
··· 38 38 39 39 BSS_STACK(4096); 40 40 41 - #define SPRN_PIR 0x11E /* Processor Indentification Register */ 41 + #define SPRN_PIR 0x11E /* Processor Identification Register */ 42 42 #define USERDATA_LEN 256 /* Length of userdata passed in by PIBS */ 43 43 #define MAX_RANKS 0x4 44 44 #define DDR3_MR0CF 0x80010011U
+1 -1
arch/powerpc/boot/treeboot-currituck.c
··· 80 80 } 81 81 } 82 82 83 - #define SPRN_PIR 0x11E /* Processor Indentification Register */ 83 + #define SPRN_PIR 0x11E /* Processor Identification Register */ 84 84 void platform_init(void) 85 85 { 86 86 unsigned long end_of_ram, avail_ram;
+1 -1
arch/powerpc/boot/treeboot-iss4xx.c
··· 59 59 return (void *)ibm4xx_memstart; 60 60 } 61 61 62 - #define SPRN_PIR 0x11E /* Processor Indentification Register */ 62 + #define SPRN_PIR 0x11E /* Processor Identification Register */ 63 63 void platform_init(void) 64 64 { 65 65 unsigned long end_of_ram = 0x08000000;
+2 -2
arch/powerpc/crypto/aes-spe-core.S
··· 61 61 * via bl/blr. It expects that caller has pre-xored input data with first 62 62 * 4 words of encryption key into rD0-rD3. Pointer/counter registers must 63 63 * have also been set up before (rT0, rKP, CTR). Output is stored in rD0-rD3 64 - * and rW0-rW3 and caller must execute a final xor on the ouput registers. 64 + * and rW0-rW3 and caller must execute a final xor on the output registers. 65 65 * All working registers rD0-rD3 & rW0-rW7 are overwritten during processing. 66 66 * 67 67 */ ··· 209 209 * via bl/blr. It expects that caller has pre-xored input data with first 210 210 * 4 words of encryption key into rD0-rD3. Pointer/counter registers must 211 211 * have also been set up before (rT0, rKP, CTR). Output is stored in rD0-rD3 212 - * and rW0-rW3 and caller must execute a final xor on the ouput registers. 212 + * and rW0-rW3 and caller must execute a final xor on the output registers. 213 213 * All working registers rD0-rD3 & rW0-rW7 are overwritten during processing. 214 214 * 215 215 */
+1 -1
arch/powerpc/crypto/aes-spe-glue.c
··· 32 32 * 16 byte block block or 25 cycles per byte. Thus 768 bytes of input data 33 33 * will need an estimated maximum of 20,000 cycles. Headroom for cache misses 34 34 * included. Even with the low end model clocked at 667 MHz this equals to a 35 - * critical time window of less than 30us. The value has been choosen to 35 + * critical time window of less than 30us. The value has been chosen to 36 36 * process a 512 byte disk block in one or a large 1400 bytes IPsec network 37 37 * packet in two runs. 38 38 *
+1 -1
arch/powerpc/include/asm/hydra.h
··· 89 89 #define HYDRA_INT_EXT2 13 /* PCI IRQX */ 90 90 #define HYDRA_INT_EXT3 14 /* PCI IRQY */ 91 91 #define HYDRA_INT_EXT4 15 /* PCI IRQZ */ 92 - #define HYDRA_INT_EXT5 16 /* IDE Primay/Secondary */ 92 + #define HYDRA_INT_EXT5 16 /* IDE Primary/Secondary */ 93 93 #define HYDRA_INT_EXT6 17 /* IDE Secondary */ 94 94 #define HYDRA_INT_EXT7 18 /* Power Off Request */ 95 95 #define HYDRA_INT_SPARE 19
+1 -1
arch/powerpc/include/asm/io.h
··· 300 300 * When CONFIG_PPC_INDIRECT_MMIO is set, the platform can provide hooks 301 301 * on all MMIOs. (Note that this is all 64 bits only for now) 302 302 * 303 - * To help platforms who may need to differenciate MMIO addresses in 303 + * To help platforms who may need to differentiate MMIO addresses in 304 304 * their hooks, a bitfield is reserved for use by the platform near the 305 305 * top of MMIO addresses (not PIO, those have to cope the hard way). 306 306 *
+2 -2
arch/powerpc/include/asm/machdep.h
··· 174 174 platform, called once per cpu. */ 175 175 void (*enable_pmcs)(void); 176 176 177 - /* Set DABR for this platform, leave empty for default implemenation */ 177 + /* Set DABR for this platform, leave empty for default implementation */ 178 178 int (*set_dabr)(unsigned long dabr, 179 179 unsigned long dabrx); 180 180 181 - /* Set DAWR for this platform, leave empty for default implemenation */ 181 + /* Set DAWR for this platform, leave empty for default implementation */ 182 182 int (*set_dawr)(unsigned long dawr, 183 183 unsigned long dawrx); 184 184
+1 -1
arch/powerpc/include/asm/module.h
··· 19 19 * Thanks to Paul M for explaining this. 20 20 * 21 21 * PPC can only do rel jumps += 32MB, and often the kernel and other 22 - * modules are furthur away than this. So, we jump to a table of 22 + * modules are further away than this. So, we jump to a table of 23 23 * trampolines attached to the module (the Procedure Linkage Table) 24 24 * whenever that happens. 25 25 */
+1 -1
arch/powerpc/include/asm/pmac_feature.h
··· 46 46 47 47 /* PowerSurge are the first generation of PCI Pmacs. This include 48 48 * all of the Grand-Central based machines. We currently don't 49 - * differenciate most of them. 49 + * differentiate most of them. 50 50 */ 51 51 #define PMAC_TYPE_PSURGE 0x10 /* PowerSurge */ 52 52 #define PMAC_TYPE_ANS 0x11 /* Apple Network Server */
+4 -4
arch/powerpc/include/asm/reg.h
··· 376 376 #define SPRN_TSCR 0x399 /* Thread Switch Control Register */ 377 377 378 378 #define SPRN_DEC 0x016 /* Decrement Register */ 379 - #define SPRN_DER 0x095 /* Debug Enable Regsiter */ 379 + #define SPRN_DER 0x095 /* Debug Enable Register */ 380 380 #define DER_RSTE 0x40000000 /* Reset Interrupt */ 381 381 #define DER_CHSTPE 0x20000000 /* Check Stop */ 382 382 #define DER_MCIE 0x10000000 /* Machine Check Interrupt */ ··· 401 401 #define SPRN_DPDES 0x0B0 /* Directed Priv. Doorbell Exc. State */ 402 402 #define SPRN_EAR 0x11A /* External Address Register */ 403 403 #define SPRN_HASH1 0x3D2 /* Primary Hash Address Register */ 404 - #define SPRN_HASH2 0x3D3 /* Secondary Hash Address Resgister */ 404 + #define SPRN_HASH2 0x3D3 /* Secondary Hash Address Register */ 405 405 #define SPRN_HID0 0x3F0 /* Hardware Implementation Register 0 */ 406 406 #define HID0_HDICE_SH (63 - 23) /* 970 HDEC interrupt enable */ 407 407 #define HID0_EMCP (1<<31) /* Enable Machine Check pin */ ··· 514 514 #define ICTRL_EICP 0x00000100 /* enable icache par. check */ 515 515 #define SPRN_IMISS 0x3D4 /* Instruction TLB Miss Register */ 516 516 #define SPRN_IMMR 0x27E /* Internal Memory Map Register */ 517 - #define SPRN_L2CR 0x3F9 /* Level 2 Cache Control Regsiter */ 517 + #define SPRN_L2CR 0x3F9 /* Level 2 Cache Control Register */ 518 518 #define SPRN_L2CR2 0x3f8 519 519 #define L2CR_L2E 0x80000000 /* L2 enable */ 520 520 #define L2CR_L2PE 0x40000000 /* L2 parity enable */ ··· 549 549 #define L2CR_L2DO_745x 0x00010000 /* L2 data only (745x) */ 550 550 #define L2CR_L2REP_745x 0x00001000 /* L2 repl. algorithm (745x) */ 551 551 #define L2CR_L2HWF_745x 0x00000800 /* L2 hardware flush (745x) */ 552 - #define SPRN_L3CR 0x3FA /* Level 3 Cache Control Regsiter */ 552 + #define SPRN_L3CR 0x3FA /* Level 3 Cache Control Register */ 553 553 #define L3CR_L3E 0x80000000 /* L3 enable */ 554 554 #define L3CR_L3PE 0x40000000 /* L3 data parity enable */ 555 555 #define L3CR_L3APE 0x20000000 /* L3 addr parity enable */
+1 -1
arch/powerpc/include/asm/reg_booke.h
··· 681 681 #define SPRN_CDBCR 0x3D7 /* Cache Debug Control Register */ 682 682 #define SPRN_TBHI 0x3DC /* Time Base High */ 683 683 #define SPRN_TBLO 0x3DD /* Time Base Low */ 684 - #define SPRN_DBCR 0x3F2 /* Debug Control Regsiter */ 684 + #define SPRN_DBCR 0x3F2 /* Debug Control Register */ 685 685 #define SPRN_PBL1 0x3FC /* Protection Bound Lower 1 */ 686 686 #define SPRN_PBL2 0x3FE /* Protection Bound Lower 2 */ 687 687 #define SPRN_PBU1 0x3FD /* Protection Bound Upper 1 */
+1 -1
arch/powerpc/include/asm/smu.h
··· 154 154 * 155 155 * The Darwin I2C driver is less subtle though. On any non-success status 156 156 * from the response command, it waits 5ms and tries again up to 20 times, 157 - * it doesn't differenciate between fatal errors or "busy" status. 157 + * it doesn't differentiate between fatal errors or "busy" status. 158 158 * 159 159 * This driver provides an asynchronous paramblock based i2c command 160 160 * interface to be used either directly by low level code or by a higher
+1 -1
arch/powerpc/include/asm/uninorth.h
··· 132 132 133 133 /* This one _might_ return the CPU number of the CPU reading it; 134 134 * the bootROM decides whether to boot or to sleep/spinloop depending 135 - * on this register beeing 0 or not 135 + * on this register being 0 or not 136 136 */ 137 137 #define UNI_N_CPU_NUMBER 0x0050 138 138
+1 -1
arch/powerpc/include/asm/xics.h
··· 1 1 /* 2 - * Common definitions accross all variants of ICP and ICS interrupt 2 + * Common definitions across all variants of ICP and ICS interrupt 3 3 * controllers. 4 4 */ 5 5
+2 -2
arch/powerpc/include/uapi/asm/epapr_hcalls.h
··· 78 78 #define EV_SUCCESS 0 79 79 #define EV_EPERM 1 /* Operation not permitted */ 80 80 #define EV_ENOENT 2 /* Entry Not Found */ 81 - #define EV_EIO 3 /* I/O error occured */ 81 + #define EV_EIO 3 /* I/O error occurred */ 82 82 #define EV_EAGAIN 4 /* The operation had insufficient 83 83 * resources to complete and should be 84 84 * retried ··· 89 89 #define EV_ENODEV 7 /* No such device */ 90 90 #define EV_EINVAL 8 /* An argument supplied to the hcall 91 91 was out of range or invalid */ 92 - #define EV_INTERNAL 9 /* An internal error occured */ 92 + #define EV_INTERNAL 9 /* An internal error occurred */ 93 93 #define EV_CONFIG 10 /* A configuration error was detected */ 94 94 #define EV_INVALID_STATE 11 /* The object is in an invalid state */ 95 95 #define EV_UNIMPLEMENTED 12 /* Unimplemented hypercall */
+1 -1
arch/powerpc/kernel/head_44x.S
··· 806 806 _GLOBAL(init_cpu_state) 807 807 mflr r22 808 808 #ifdef CONFIG_PPC_47x 809 - /* We use the PVR to differenciate 44x cores from 476 */ 809 + /* We use the PVR to differentiate 44x cores from 476 */ 810 810 mfspr r3,SPRN_PVR 811 811 srwi r3,r3,16 812 812 cmplwi cr0,r3,PVR_476FPE@h
+2 -2
arch/powerpc/kernel/signal.c
··· 1 1 /* 2 2 * Common signal handling code for both 32 and 64 bits 3 3 * 4 - * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Coproration 4 + * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Corporation 5 5 * Extracted from signal_32.c and signal_64.c 6 6 * 7 7 * This file is subject to the terms and conditions of the GNU General ··· 178 178 * need to use the stack pointer from the checkpointed state, rather 179 179 * than the speculated state. This ensures that the signal context 180 180 * (written tm suspended) will be written below the stack required for 181 - * the rollback. The transaction is aborted becuase of the treclaim, 181 + * the rollback. The transaction is aborted because of the treclaim, 182 182 * so any memory written between the tbegin and the signal will be 183 183 * rolled back anyway. 184 184 *
+1 -1
arch/powerpc/kernel/signal.h
··· 1 1 /* 2 - * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Coproration 2 + * Copyright (c) 2007 Benjamin Herrenschmidt, IBM Corporation 3 3 * Extracted from signal_32.c and signal_64.c 4 4 * 5 5 * This file is subject to the terms and conditions of the GNU General
+1 -1
arch/powerpc/kernel/traps.c
··· 1402 1402 * is a read DSCR attempt through a mfspr instruction, we 1403 1403 * just emulate the instruction instead. This code path will 1404 1404 * always emulate all the mfspr instructions till the user 1405 - * has attempted atleast one mtspr instruction. This way it 1405 + * has attempted at least one mtspr instruction. This way it 1406 1406 * preserves the same behaviour when the user is accessing 1407 1407 * the DSCR through privilege level only SPR number (0x11) 1408 1408 * which is emulated through illegal instruction exception.
+1 -1
arch/powerpc/kvm/book3s_xics.c
··· 432 432 * the whole masked_pending business which is about not 433 433 * losing interrupts that occur while masked. 434 434 * 435 - * I don't differenciate normal deliveries and resends, this 435 + * I don't differentiate normal deliveries and resends, this 436 436 * implementation will differ from PAPR and not lose such 437 437 * interrupts. 438 438 */
+1 -1
arch/powerpc/kvm/booke.c
··· 992 992 kvmppc_restart_interrupt(vcpu, exit_nr); 993 993 994 994 /* 995 - * get last instruction before beeing preempted 995 + * get last instruction before being preempted 996 996 * TODO: for e6500 check also BOOKE_INTERRUPT_LRAT_ERROR & ESR_DATA 997 997 */ 998 998 switch (exit_nr) {
+1 -1
arch/powerpc/kvm/e500mc.c
··· 182 182 r = 0; 183 183 #ifdef CONFIG_ALTIVEC 184 184 /* 185 - * Since guests have the priviledge to enable AltiVec, we need AltiVec 185 + * Since guests have the privilege to enable AltiVec, we need AltiVec 186 186 * support in the host to save/restore their context. 187 187 * Don't use CPU_FTR_ALTIVEC to identify cores with AltiVec unit 188 188 * because it's cleared in the absence of CONFIG_ALTIVEC!
+1 -1
arch/powerpc/mm/tlb_low_64e.S
··· 895 895 BEGIN_MMU_FTR_SECTION 896 896 virt_page_table_tlb_miss_done: 897 897 898 - /* We have overriden MAS2:EPN but currently our primary TLB miss 898 + /* We have overridden MAS2:EPN but currently our primary TLB miss 899 899 * handler will always restore it so that should not be an issue, 900 900 * if we ever optimize the primary handler to not write MAS2 on 901 901 * some cases, we'll have to restore MAS2:EPN here based on the
+2 -2
arch/powerpc/mm/tlb_nohash_low.S
··· 108 108 blr 109 109 2: 110 110 #ifdef CONFIG_PPC_47x 111 - oris r7,r6,0x8000 /* specify way explicitely */ 111 + oris r7,r6,0x8000 /* specify way explicitly */ 112 112 clrrwi r4,r3,12 /* get an EPN for the hashing with V = 0 */ 113 113 ori r4,r4,PPC47x_TLBE_SIZE 114 114 tlbwe r4,r7,0 /* write it */ ··· 149 149 li r3,-1 /* Current set */ 150 150 lis r10,tlb_47x_boltmap@h 151 151 ori r10,r10,tlb_47x_boltmap@l 152 - lis r7,0x8000 /* Specify way explicitely */ 152 + lis r7,0x8000 /* Specify way explicitly */ 153 153 154 154 b 9f /* For each set */ 155 155
+2 -2
arch/powerpc/oprofile/op_model_cell.c
··· 208 208 209 209 /* 210 210 * The debug bus is being set to the passthru disable state. 211 - * However, the FW still expects atleast one legal signal routing 211 + * However, the FW still expects at least one legal signal routing 212 212 * entry or it will return an error on the arguments. If we don't 213 213 * supply a valid entry, we must ignore all return values. Ignoring 214 214 * all return values means we might miss an error we should be ··· 1008 1008 * 1009 1009 * To avoid the time to compute the LFSR, a lookup table is used. The 24 bit 1010 1010 * LFSR sequence is broken into four ranges. The spacing of the precomputed 1011 - * values is adjusted in each range so the error between the user specifed 1011 + * values is adjusted in each range so the error between the user specified 1012 1012 * number (N) of events between samples and the actual number of events based 1013 1013 * on the precomputed value will be les then about 6.2%. Note, if the user 1014 1014 * specifies N < 2^16, the LFSR value that is 2^16 from the end will be used.
+1 -1
arch/powerpc/perf/hv-24x7.h
··· 80 80 __u8 results_complete; 81 81 __be16 num_elements_returned; 82 82 83 - /* This is a copy of @data_size from the coresponding hv_24x7_request */ 83 + /* This is a copy of @data_size from the corresponding hv_24x7_request */ 84 84 __be16 result_element_data_size; 85 85 __u8 reserved[0x2]; 86 86
+1 -1
arch/powerpc/perf/power8-pmu.c
··· 415 415 pmc_inuse |= 1 << pmc; 416 416 } 417 417 418 - /* In continous sampling mode, update SDAR on TLB miss */ 418 + /* In continuous sampling mode, update SDAR on TLB miss */ 419 419 mmcra = MMCRA_SDAR_MODE_TLB; 420 420 mmcr1 = mmcr2 = 0; 421 421
+1 -1
arch/powerpc/platforms/52xx/mpc52xx_pci.c
··· 319 319 320 320 tmp = in_be32(&pci_regs->gscr); 321 321 #if 0 322 - /* Reset the exteral bus ( internal PCI controller is NOT resetted ) */ 322 + /* Reset the exteral bus ( internal PCI controller is NOT reset ) */ 323 323 /* Not necessary and can be a bad thing if for example the bootloader 324 324 is displaying a splash screen or ... Just left here for 325 325 documentation purpose if anyone need it */
+1 -1
arch/powerpc/platforms/85xx/mpc85xx_cds.c
··· 99 99 pci_read_config_byte(dev, 0x47, &tmp); 100 100 101 101 /* 102 - * At this point, the harware reset should have triggered. 102 + * At this point, the hardware reset should have triggered. 103 103 * However, if it doesn't work for some mysterious reason, 104 104 * just fall through to the default reset below. 105 105 */
+1 -1
arch/powerpc/platforms/powermac/cache.S
··· 23 23 * when going to sleep, when doing a PMU based cpufreq transition, 24 24 * or when "offlining" a CPU on SMP machines. This code is over 25 25 * paranoid, but I've had enough issues with various CPU revs and 26 - * bugs that I decided it was worth beeing over cautious 26 + * bugs that I decided it was worth being over cautious 27 27 */ 28 28 29 29 _GLOBAL(flush_disable_caches)
+3 -3
arch/powerpc/platforms/powermac/feature.c
··· 198 198 if (htw) { 199 199 /* Side effect: this will also power up the 200 200 * modem, but it's too messy to figure out on which 201 - * ports this controls the tranceiver and on which 201 + * ports this controls the transceiver and on which 202 202 * it controls the modem 203 203 */ 204 204 if (trans) ··· 463 463 unsigned long flags; 464 464 465 465 /* B&W G3 and Yikes don't support that properly (the 466 - * sound appear to never come back after beeing shut down). 466 + * sound appear to never come back after being shut down). 467 467 */ 468 468 if (pmac_mb.model_id == PMAC_TYPE_YOSEMITE || 469 469 pmac_mb.model_id == PMAC_TYPE_YIKES) ··· 2770 2770 * but I'm not too sure it was audited for side-effects on other 2771 2771 * ohare based machines... 2772 2772 * Since I still have difficulties figuring the right way to 2773 - * differenciate them all and since that hack was there for a long 2773 + * differentiate them all and since that hack was there for a long 2774 2774 * time, I'll keep it around 2775 2775 */ 2776 2776 if (macio_chips[0].type == macio_ohare) {
+3 -3
arch/powerpc/platforms/powernv/idle.c
··· 35 35 int rc; 36 36 37 37 /* 38 - * hid0, hid1, hid4, hid5, hmeer and lpcr values are symmetric accross 38 + * hid0, hid1, hid4, hid5, hmeer and lpcr values are symmetric across 39 39 * all cpus at boot. Get these reg values of current cpu and use the 40 - * same accross all cpus. 40 + * same across all cpus. 41 41 */ 42 42 uint64_t lpcr_val = mfspr(SPRN_LPCR) & ~(u64)LPCR_PECE1; 43 43 uint64_t hid0_val = mfspr(SPRN_HID0); ··· 185 185 * fastsleep workaround needs to be left in 'applied' state on all 186 186 * the cores. Do this by- 187 187 * 1. Patching out the call to 'undo' workaround in fastsleep exit path 188 - * 2. Sending ipi to all the cores which have atleast one online thread 188 + * 2. Sending ipi to all the cores which have at least one online thread 189 189 * 3. Patching out the call to 'apply' workaround in fastsleep entry 190 190 * path 191 191 * There is no need to send ipi to cores which have all threads
+1 -1
arch/powerpc/platforms/powernv/npu-dma.c
··· 278 278 279 279 /* 280 280 * Enable/disable bypass mode on the NPU. The NPU only supports one 281 - * window per link, so bypass needs to be explicity enabled or 281 + * window per link, so bypass needs to be explicitly enabled or 282 282 * disabled. Unlike for a PHB3 bypass and non-bypass modes can't be 283 283 * active at the same time. 284 284 */
+1 -1
arch/powerpc/platforms/ps3/interrupt.c
··· 78 78 /** 79 79 * struct ps3_private - a per cpu data structure 80 80 * @bmp: ps3_bmp structure 81 - * @bmp_lock: Syncronize access to bmp. 81 + * @bmp_lock: Synchronize access to bmp. 82 82 * @ipi_debug_brk_mask: Mask for debug break IPIs 83 83 * @ppe_id: HV logical_ppe_id 84 84 * @thread_id: HV thread_id
+1 -1
arch/powerpc/platforms/pseries/hvconsole.c
··· 31 31 #include <asm/plpar_wrappers.h> 32 32 33 33 /** 34 - * hvc_get_chars - retrieve characters from firmware for denoted vterm adatper 34 + * hvc_get_chars - retrieve characters from firmware for denoted vterm adapter 35 35 * @vtermno: The vtermno or unit_address of the adapter from which to fetch the 36 36 * data. 37 37 * @buf: The character buffer into which to put the character data fetched from
+1 -1
arch/powerpc/platforms/pseries/setup.c
··· 515 515 516 516 fwnmi_init(); 517 517 518 - /* By default, only probe PCI (can be overriden by rtas_pci) */ 518 + /* By default, only probe PCI (can be overridden by rtas_pci) */ 519 519 pci_add_flags(PCI_PROBE_ONLY); 520 520 521 521 /* Find and initialize PCI host bridges */
+1 -1
arch/powerpc/sysdev/fsl_pci.c
··· 575 575 if (early_find_capability(hose, 0, 0, PCI_CAP_ID_EXP)) { 576 576 /* use fsl_indirect_read_config for PCIe */ 577 577 hose->ops = &fsl_indirect_pcie_ops; 578 - /* For PCIE read HEADER_TYPE to identify controler mode */ 578 + /* For PCIE read HEADER_TYPE to identify controller mode */ 579 579 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); 580 580 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) 581 581 goto no_bridge;
+1 -1
arch/powerpc/sysdev/fsl_rmu.c
··· 570 570 out_be32(&pw->pw_regs->pwsr, 571 571 (RIO_IPWSR_TE | RIO_IPWSR_QFI | RIO_IPWSR_PWD)); 572 572 573 - /* Configure port write contoller for snooping enable all reporting, 573 + /* Configure port write controller for snooping enable all reporting, 574 574 clear queue full */ 575 575 out_be32(&pw->pw_regs->pwmr, 576 576 RIO_IPWMR_SEN | RIO_IPWMR_QFIE | RIO_IPWMR_EIE | RIO_IPWMR_CQ);
+1 -1
arch/powerpc/sysdev/i8259.c
··· 238 238 /* init master interrupt controller */ 239 239 outb(0x11, 0x20); /* Start init sequence */ 240 240 outb(0x00, 0x21); /* Vector base */ 241 - outb(0x04, 0x21); /* edge tiggered, Cascade (slave) on IRQ2 */ 241 + outb(0x04, 0x21); /* edge triggered, Cascade (slave) on IRQ2 */ 242 242 outb(0x01, 0x21); /* Select 8086 mode */ 243 243 244 244 /* init slave interrupt controller */
+2 -2
arch/powerpc/sysdev/mpic.c
··· 2 2 * arch/powerpc/kernel/mpic.c 3 3 * 4 4 * Driver for interrupt controllers following the OpenPIC standard, the 5 - * common implementation beeing IBM's MPIC. This driver also can deal 5 + * common implementation being IBM's MPIC. This driver also can deal 6 6 * with various broken implementations of this HW. 7 7 * 8 8 * Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp. ··· 1657 1657 } 1658 1658 } 1659 1659 1660 - /* FSL mpic error interrupt intialization */ 1660 + /* FSL mpic error interrupt initialization */ 1661 1661 if (mpic->flags & MPIC_FSL_HAS_EIMR) 1662 1662 mpic_err_int_init(mpic, MPIC_FSL_ERR_INT); 1663 1663 }