aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-06-01 02:34:37 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2016-06-13 23:58:26 -0400
commit027dfac694fc27ef0273afb810d9b1f9da57d6e1 (patch)
treec248c02b9e5c4bf687639d19fd8f5fdcdfbcf445
parente289086f6530dd85d88967bfceded98bdbcd7f41 (diff)
powerpc: Various typo fixes
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--Documentation/devicetree/bindings/rtc/rtc-opal.txt2
-rw-r--r--arch/powerpc/crypto/aes-spe-regs.h2
-rw-r--r--arch/powerpc/include/asm/book3s/64/mmu-hash.h2
-rw-r--r--arch/powerpc/include/asm/eeh.h2
-rw-r--r--arch/powerpc/include/asm/nohash/32/pte-44x.h2
-rw-r--r--arch/powerpc/include/asm/opal-api.h4
-rw-r--r--arch/powerpc/include/asm/pmac_feature.h2
-rw-r--r--arch/powerpc/include/asm/processor.h2
-rw-r--r--arch/powerpc/include/asm/ps3av.h2
-rw-r--r--arch/powerpc/include/asm/pte-common.h2
-rw-r--r--arch/powerpc/include/asm/smu.h2
-rw-r--r--arch/powerpc/include/asm/tsi108.h2
-rw-r--r--arch/powerpc/kernel/cpu_setup_6xx.S2
-rw-r--r--arch/powerpc/kernel/eeh_driver.c2
-rw-r--r--arch/powerpc/kernel/exceptions-64e.S2
-rw-r--r--arch/powerpc/kernel/pci_64.c2
-rw-r--r--arch/powerpc/kernel/process.c2
-rw-r--r--arch/powerpc/kernel/rtas-proc.c2
-rw-r--r--arch/powerpc/lib/rheap.c2
-rw-r--r--arch/powerpc/mm/hash_native_64.c4
-rw-r--r--arch/powerpc/oprofile/cell/spu_task_sync.c2
-rw-r--r--arch/powerpc/perf/core-book3s.c2
-rw-r--r--arch/powerpc/perf/hv-24x7.c2
-rw-r--r--arch/powerpc/perf/hv-24x7.h2
-rw-r--r--arch/powerpc/platforms/512x/clock-commonclk.c2
-rw-r--r--arch/powerpc/platforms/cell/iommu.c4
-rw-r--r--arch/powerpc/platforms/cell/spider-pic.c2
-rw-r--r--arch/powerpc/platforms/cell/spu_base.c4
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c2
-rw-r--r--arch/powerpc/platforms/cell/spufs/run.c2
-rw-r--r--arch/powerpc/platforms/cell/spufs/sched.c2
-rw-r--r--arch/powerpc/platforms/powermac/low_i2c.c2
-rw-r--r--arch/powerpc/platforms/powernv/pci-ioda.c2
-rw-r--r--arch/powerpc/platforms/pseries/eeh_pseries.c2
-rw-r--r--arch/powerpc/platforms/pseries/io_event_irq.c2
-rw-r--r--arch/powerpc/platforms/pseries/setup.c2
36 files changed, 40 insertions, 40 deletions
diff --git a/Documentation/devicetree/bindings/rtc/rtc-opal.txt b/Documentation/devicetree/bindings/rtc/rtc-opal.txt
index a1734e5cb75b..2340938cd0f5 100644
--- a/Documentation/devicetree/bindings/rtc/rtc-opal.txt
+++ b/Documentation/devicetree/bindings/rtc/rtc-opal.txt
@@ -2,7 +2,7 @@ IBM OPAL real-time clock
2------------------------ 2------------------------
3 3
4Required properties: 4Required properties:
5- comapatible: Should be "ibm,opal-rtc" 5- compatible: Should be "ibm,opal-rtc"
6 6
7Optional properties: 7Optional properties:
8- wakeup-source: Decides if the wakeup is supported or not 8- wakeup-source: Decides if the wakeup is supported or not
diff --git a/arch/powerpc/crypto/aes-spe-regs.h b/arch/powerpc/crypto/aes-spe-regs.h
index 30d217b399c3..2cc3a2caadae 100644
--- a/arch/powerpc/crypto/aes-spe-regs.h
+++ b/arch/powerpc/crypto/aes-spe-regs.h
@@ -18,7 +18,7 @@
18#define rLN r7 /* length of data to be processed */ 18#define rLN r7 /* length of data to be processed */
19#define rIP r8 /* potiner to IV (CBC/CTR/XTS modes) */ 19#define rIP r8 /* potiner to IV (CBC/CTR/XTS modes) */
20#define rKT r9 /* pointer to tweak key (XTS mode) */ 20#define rKT r9 /* pointer to tweak key (XTS mode) */
21#define rT0 r11 /* pointers to en-/decrpytion tables */ 21#define rT0 r11 /* pointers to en-/decryption tables */
22#define rT1 r10 22#define rT1 r10
23#define rD0 r9 /* data */ 23#define rD0 r9 /* data */
24#define rD1 r14 24#define rD1 r14
diff --git a/arch/powerpc/include/asm/book3s/64/mmu-hash.h b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
index 290157e8d5b2..96430922dabb 100644
--- a/arch/powerpc/include/asm/book3s/64/mmu-hash.h
+++ b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
@@ -434,7 +434,7 @@ extern void slb_set_size(u16 size);
434 * function. Used in slb_allocate() and do_stab_bolted. The function 434 * function. Used in slb_allocate() and do_stab_bolted. The function
435 * computed is: (protovsid*VSID_MULTIPLIER) % VSID_MODULUS 435 * computed is: (protovsid*VSID_MULTIPLIER) % VSID_MODULUS
436 * 436 *
437 * rt = register continaing the proto-VSID and into which the 437 * rt = register containing the proto-VSID and into which the
438 * VSID will be stored 438 * VSID will be stored
439 * rx = scratch register (clobbered) 439 * rx = scratch register (clobbered)
440 * 440 *
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index fb9f376ae27b..7d34f3d3ca0e 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -57,7 +57,7 @@ struct pci_dn;
57/* 57/*
58 * The struct is used to trace PE related EEH functionality. 58 * The struct is used to trace PE related EEH functionality.
59 * In theory, there will have one instance of the struct to 59 * In theory, there will have one instance of the struct to
60 * be created against particular PE. In nature, PEs corelate 60 * be created against particular PE. In nature, PEs correlate
61 * to each other. the struct has to reflect that hierarchy in 61 * to each other. the struct has to reflect that hierarchy in
62 * order to easily pick up those affected PEs when one particular 62 * order to easily pick up those affected PEs when one particular
63 * PE has EEH errors. 63 * PE has EEH errors.
diff --git a/arch/powerpc/include/asm/nohash/32/pte-44x.h b/arch/powerpc/include/asm/nohash/32/pte-44x.h
index fdab41c654ef..0656ff81e5b0 100644
--- a/arch/powerpc/include/asm/nohash/32/pte-44x.h
+++ b/arch/powerpc/include/asm/nohash/32/pte-44x.h
@@ -32,7 +32,7 @@
32 * - - - - - - U0 U1 U2 U3 W I M G E - UX UW UR SX SW SR 32 * - - - - - - U0 U1 U2 U3 W I M G E - UX UW UR SX SW SR
33 * 33 *
34 * Newer 440 cores (440x6 as used on AMCC 460EX/460GT) have additional 34 * Newer 440 cores (440x6 as used on AMCC 460EX/460GT) have additional
35 * TLB2 storage attibute fields. Those are: 35 * TLB2 storage attribute fields. Those are:
36 * 36 *
37 * TLB2: 37 * TLB2:
38 * 0...10 11 12 13 14 15 16...31 38 * 0...10 11 12 13 14 15 16...31
diff --git a/arch/powerpc/include/asm/opal-api.h b/arch/powerpc/include/asm/opal-api.h
index 9bb8ddf0be37..70b5cbc0a49c 100644
--- a/arch/powerpc/include/asm/opal-api.h
+++ b/arch/powerpc/include/asm/opal-api.h
@@ -802,7 +802,7 @@ struct opal_sg_entry {
802}; 802};
803 803
804/* 804/*
805 * Candiate image SG list. 805 * Candidate image SG list.
806 * 806 *
807 * length = VER | length 807 * length = VER | length
808 */ 808 */
@@ -852,7 +852,7 @@ struct opal_i2c_request {
852 * with individual elements being 16 bits wide to fetch the system 852 * with individual elements being 16 bits wide to fetch the system
853 * wide EPOW status. Each element in the buffer will contain the 853 * wide EPOW status. Each element in the buffer will contain the
854 * EPOW status in it's bit representation for a particular EPOW sub 854 * EPOW status in it's bit representation for a particular EPOW sub
855 * class as defiend here. So multiple detailed EPOW status bits 855 * class as defined here. So multiple detailed EPOW status bits
856 * specific for any sub class can be represented in a single buffer 856 * specific for any sub class can be represented in a single buffer
857 * element as it's bit representation. 857 * element as it's bit representation.
858 */ 858 */
diff --git a/arch/powerpc/include/asm/pmac_feature.h b/arch/powerpc/include/asm/pmac_feature.h
index 925697968946..e08e829261b6 100644
--- a/arch/powerpc/include/asm/pmac_feature.h
+++ b/arch/powerpc/include/asm/pmac_feature.h
@@ -210,7 +210,7 @@ static inline long pmac_call_feature(int selector, struct device_node* node,
210 210
211/* PMAC_FTR_SOUND_CHIP_ENABLE (struct device_node* node, 0, int value) 211/* PMAC_FTR_SOUND_CHIP_ENABLE (struct device_node* node, 0, int value)
212 * enable/disable the sound chip, whatever it is and provided it can 212 * enable/disable the sound chip, whatever it is and provided it can
213 * acually be controlled 213 * actually be controlled
214 */ 214 */
215#define PMAC_FTR_SOUND_CHIP_ENABLE PMAC_FTR_DEF(9) 215#define PMAC_FTR_SOUND_CHIP_ENABLE PMAC_FTR_DEF(9)
216 216
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h
index 009fab130cd8..c0c27bdbb069 100644
--- a/arch/powerpc/include/asm/processor.h
+++ b/arch/powerpc/include/asm/processor.h
@@ -224,7 +224,7 @@ struct thread_struct {
224 unsigned int align_ctl; /* alignment handling control */ 224 unsigned int align_ctl; /* alignment handling control */
225#ifdef CONFIG_PPC64 225#ifdef CONFIG_PPC64
226 unsigned long start_tb; /* Start purr when proc switched in */ 226 unsigned long start_tb; /* Start purr when proc switched in */
227 unsigned long accum_tb; /* Total accumilated purr for process */ 227 unsigned long accum_tb; /* Total accumulated purr for process */
228#ifdef CONFIG_HAVE_HW_BREAKPOINT 228#ifdef CONFIG_HAVE_HW_BREAKPOINT
229 struct perf_event *ptrace_bps[HBP_NUM]; 229 struct perf_event *ptrace_bps[HBP_NUM];
230 /* 230 /*
diff --git a/arch/powerpc/include/asm/ps3av.h b/arch/powerpc/include/asm/ps3av.h
index 0427b0b53d2d..a1dc784d70e8 100644
--- a/arch/powerpc/include/asm/ps3av.h
+++ b/arch/powerpc/include/asm/ps3av.h
@@ -104,7 +104,7 @@
104#define PS3AV_CMD_AV_INPUTLEN_16 0x02 104#define PS3AV_CMD_AV_INPUTLEN_16 0x02
105#define PS3AV_CMD_AV_INPUTLEN_20 0x0a 105#define PS3AV_CMD_AV_INPUTLEN_20 0x0a
106#define PS3AV_CMD_AV_INPUTLEN_24 0x0b 106#define PS3AV_CMD_AV_INPUTLEN_24 0x0b
107/* alayout */ 107/* av_layout */
108#define PS3AV_CMD_AV_LAYOUT_32 (1 << 0) 108#define PS3AV_CMD_AV_LAYOUT_32 (1 << 0)
109#define PS3AV_CMD_AV_LAYOUT_44 (1 << 1) 109#define PS3AV_CMD_AV_LAYOUT_44 (1 << 1)
110#define PS3AV_CMD_AV_LAYOUT_48 (1 << 2) 110#define PS3AV_CMD_AV_LAYOUT_48 (1 << 2)
diff --git a/arch/powerpc/include/asm/pte-common.h b/arch/powerpc/include/asm/pte-common.h
index 2eeaf80d41b7..4ba26dd259fd 100644
--- a/arch/powerpc/include/asm/pte-common.h
+++ b/arch/powerpc/include/asm/pte-common.h
@@ -96,7 +96,7 @@ static inline bool pte_user(pte_t pte)
96#define PTE_RPN_SHIFT (PAGE_SHIFT) 96#define PTE_RPN_SHIFT (PAGE_SHIFT)
97#endif 97#endif
98 98
99/* The mask convered by the RPN must be a ULL on 32-bit platforms with 99/* The mask covered by the RPN must be a ULL on 32-bit platforms with
100 * 64-bit PTEs 100 * 64-bit PTEs
101 */ 101 */
102#if defined(CONFIG_PPC32) && defined(CONFIG_PTE_64BIT) 102#if defined(CONFIG_PPC32) && defined(CONFIG_PTE_64BIT)
diff --git a/arch/powerpc/include/asm/smu.h b/arch/powerpc/include/asm/smu.h
index f280dd11243f..9dc2de5da35a 100644
--- a/arch/powerpc/include/asm/smu.h
+++ b/arch/powerpc/include/asm/smu.h
@@ -185,7 +185,7 @@
185 * x = processor mask 185 * x = processor mask
186 * y = op. point index 186 * y = op. point index
187 * z = processor freq. step index 187 * z = processor freq. step index
188 * I haven't yet decyphered result codes 188 * I haven't yet deciphered result codes
189 * 189 *
190 */ 190 */
191#define SMU_CMD_POWER_COMMAND 0xaa 191#define SMU_CMD_POWER_COMMAND 0xaa
diff --git a/arch/powerpc/include/asm/tsi108.h b/arch/powerpc/include/asm/tsi108.h
index d531d9e173ef..c2a955bb0daa 100644
--- a/arch/powerpc/include/asm/tsi108.h
+++ b/arch/powerpc/include/asm/tsi108.h
@@ -77,7 +77,7 @@
77 * nodes if your board uses the Broadcom PHYs 77 * nodes if your board uses the Broadcom PHYs
78 */ 78 */
79#define TSI108_PHY_MV88E 0 /* Marvel 88Exxxx PHY */ 79#define TSI108_PHY_MV88E 0 /* Marvel 88Exxxx PHY */
80#define TSI108_PHY_BCM54XX 1 /* Broardcom BCM54xx PHY */ 80#define TSI108_PHY_BCM54XX 1 /* Broadcom BCM54xx PHY */
81 81
82/* Global variables */ 82/* Global variables */
83 83
diff --git a/arch/powerpc/kernel/cpu_setup_6xx.S b/arch/powerpc/kernel/cpu_setup_6xx.S
index f8cd9fba4d35..c5e5a94d9892 100644
--- a/arch/powerpc/kernel/cpu_setup_6xx.S
+++ b/arch/powerpc/kernel/cpu_setup_6xx.S
@@ -156,7 +156,7 @@ setup_7410_workarounds:
156 blr 156 blr
157 157
158/* 740/750/7400/7410 158/* 740/750/7400/7410
159 * Enable Store Gathering (SGE), Address Brodcast (ABE), 159 * Enable Store Gathering (SGE), Address Broadcast (ABE),
160 * Branch History Table (BHTE), Branch Target ICache (BTIC) 160 * Branch History Table (BHTE), Branch Target ICache (BTIC)
161 * Dynamic Power Management (DPM), Speculative (SPD) 161 * Dynamic Power Management (DPM), Speculative (SPD)
162 * Clear Instruction cache throttling (ICTC) 162 * Clear Instruction cache throttling (ICTC)
diff --git a/arch/powerpc/kernel/eeh_driver.c b/arch/powerpc/kernel/eeh_driver.c
index 2714a3b81d24..389b0d3988dc 100644
--- a/arch/powerpc/kernel/eeh_driver.c
+++ b/arch/powerpc/kernel/eeh_driver.c
@@ -139,7 +139,7 @@ static void eeh_enable_irq(struct pci_dev *dev)
139 * into it. 139 * into it.
140 * 140 *
141 * That's just wrong.The warning in the core code is 141 * That's just wrong.The warning in the core code is
142 * there to tell people to fix their assymetries in 142 * there to tell people to fix their asymmetries in
143 * their own code, not by abusing the core information 143 * their own code, not by abusing the core information
144 * to avoid it. 144 * to avoid it.
145 * 145 *
diff --git a/arch/powerpc/kernel/exceptions-64e.S b/arch/powerpc/kernel/exceptions-64e.S
index 488e6314f993..2d3b40fd9bac 100644
--- a/arch/powerpc/kernel/exceptions-64e.S
+++ b/arch/powerpc/kernel/exceptions-64e.S
@@ -453,7 +453,7 @@ exc_##n##_bad_stack: \
453 sth r1,PACA_TRAP_SAVE(r13); /* store trap */ \ 453 sth r1,PACA_TRAP_SAVE(r13); /* store trap */ \
454 b bad_stack_book3e; /* bad stack error */ 454 b bad_stack_book3e; /* bad stack error */
455 455
456/* WARNING: If you change the layout of this stub, make sure you chcek 456/* WARNING: If you change the layout of this stub, make sure you check
457 * the debug exception handler which handles single stepping 457 * the debug exception handler which handles single stepping
458 * into exceptions from userspace, and the MM code in 458 * into exceptions from userspace, and the MM code in
459 * arch/powerpc/mm/tlb_nohash.c which patches the branch here 459 * arch/powerpc/mm/tlb_nohash.c which patches the branch here
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c
index 3759df52bd67..f71b79a8992b 100644
--- a/arch/powerpc/kernel/pci_64.c
+++ b/arch/powerpc/kernel/pci_64.c
@@ -82,7 +82,7 @@ int pcibios_unmap_io_space(struct pci_bus *bus)
82 82
83 /* If this is not a PHB, we only flush the hash table over 83 /* If this is not a PHB, we only flush the hash table over
84 * the area mapped by this bridge. We don't play with the PTE 84 * the area mapped by this bridge. We don't play with the PTE
85 * mappings since we might have to deal with sub-page alignemnts 85 * mappings since we might have to deal with sub-page alignments
86 * so flushing the hash table is the only sane way to make sure 86 * so flushing the hash table is the only sane way to make sure
87 * that no hash entries are covering that removed bridge area 87 * that no hash entries are covering that removed bridge area
88 * while still allowing other busses overlapping those pages 88 * while still allowing other busses overlapping those pages
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c
index a2dd3b1276ff..c5c3ae2ef3c1 100644
--- a/arch/powerpc/kernel/process.c
+++ b/arch/powerpc/kernel/process.c
@@ -802,7 +802,7 @@ static void tm_reclaim_thread(struct thread_struct *thr,
802 * this state. 802 * this state.
803 * We do this using the current MSR, rather tracking it in 803 * We do this using the current MSR, rather tracking it in
804 * some specific thread_struct bit, as it has the additional 804 * some specific thread_struct bit, as it has the additional
805 * benifit of checking for a potential TM bad thing exception. 805 * benefit of checking for a potential TM bad thing exception.
806 */ 806 */
807 if (!MSR_TM_SUSPENDED(mfmsr())) 807 if (!MSR_TM_SUSPENDED(mfmsr()))
808 return; 808 return;
diff --git a/arch/powerpc/kernel/rtas-proc.c b/arch/powerpc/kernel/rtas-proc.c
index fb2fb3ea85e5..c82eed97bd22 100644
--- a/arch/powerpc/kernel/rtas-proc.c
+++ b/arch/powerpc/kernel/rtas-proc.c
@@ -698,7 +698,7 @@ static void check_location(struct seq_file *m, const char *c)
698/* 698/*
699 * Format: 699 * Format:
700 * ${LETTER}${NUMBER}[[-/]${LETTER}${NUMBER} [ ... ] ] 700 * ${LETTER}${NUMBER}[[-/]${LETTER}${NUMBER} [ ... ] ]
701 * the '.' may be an abbrevation 701 * the '.' may be an abbreviation
702 */ 702 */
703static void check_location_string(struct seq_file *m, const char *c) 703static void check_location_string(struct seq_file *m, const char *c)
704{ 704{
diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c
index 69abf844c2c3..94058c21a482 100644
--- a/arch/powerpc/lib/rheap.c
+++ b/arch/powerpc/lib/rheap.c
@@ -325,7 +325,7 @@ void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks,
325} 325}
326EXPORT_SYMBOL_GPL(rh_init); 326EXPORT_SYMBOL_GPL(rh_init);
327 327
328/* Attach a free memory region, coalesces regions if adjuscent */ 328/* Attach a free memory region, coalesces regions if adjacent */
329int rh_attach_region(rh_info_t * info, unsigned long start, int size) 329int rh_attach_region(rh_info_t * info, unsigned long start, int size)
330{ 330{
331 rh_block_t *blk; 331 rh_block_t *blk;
diff --git a/arch/powerpc/mm/hash_native_64.c b/arch/powerpc/mm/hash_native_64.c
index 40e05e7f43de..dc57de118cf4 100644
--- a/arch/powerpc/mm/hash_native_64.c
+++ b/arch/powerpc/mm/hash_native_64.c
@@ -55,7 +55,7 @@ static inline void __tlbie(unsigned long vpn, int psize, int apsize, int ssize)
55 * We need 14 to 65 bits of va for a tlibe of 4K page 55 * We need 14 to 65 bits of va for a tlibe of 4K page
56 * With vpn we ignore the lower VPN_SHIFT bits already. 56 * With vpn we ignore the lower VPN_SHIFT bits already.
57 * And top two bits are already ignored because we can 57 * And top two bits are already ignored because we can
58 * only accomadate 76 bits in a 64 bit vpn with a VPN_SHIFT 58 * only accomodate 76 bits in a 64 bit vpn with a VPN_SHIFT
59 * of 12. 59 * of 12.
60 */ 60 */
61 va = vpn << VPN_SHIFT; 61 va = vpn << VPN_SHIFT;
@@ -605,7 +605,7 @@ static void hpte_decode(struct hash_pte *hpte, unsigned long slot,
605 * crashdump and all bets are off anyway. 605 * crashdump and all bets are off anyway.
606 * 606 *
607 * TODO: add batching support when enabled. remember, no dynamic memory here, 607 * TODO: add batching support when enabled. remember, no dynamic memory here,
608 * athough there is the control page available... 608 * although there is the control page available...
609 */ 609 */
610static void native_hpte_clear(void) 610static void native_hpte_clear(void)
611{ 611{
diff --git a/arch/powerpc/oprofile/cell/spu_task_sync.c b/arch/powerpc/oprofile/cell/spu_task_sync.c
index ed7b0977072a..ef2142ff7dbd 100644
--- a/arch/powerpc/oprofile/cell/spu_task_sync.c
+++ b/arch/powerpc/oprofile/cell/spu_task_sync.c
@@ -51,7 +51,7 @@ static void spu_buff_add(unsigned long int value, int spu)
51 * That way we can tell the difference between the 51 * That way we can tell the difference between the
52 * buffer being full versus empty. 52 * buffer being full versus empty.
53 * 53 *
54 * ASSUPTION: the buffer_lock is held when this function 54 * ASSUMPTION: the buffer_lock is held when this function
55 * is called to lock the buffer, head and tail. 55 * is called to lock the buffer, head and tail.
56 */ 56 */
57 int full = 1; 57 int full = 1;
diff --git a/arch/powerpc/perf/core-book3s.c b/arch/powerpc/perf/core-book3s.c
index 97a1d40d8696..47086080a71f 100644
--- a/arch/powerpc/perf/core-book3s.c
+++ b/arch/powerpc/perf/core-book3s.c
@@ -992,7 +992,7 @@ static u64 check_and_compute_delta(u64 prev, u64 val)
992 * than the previous value it will cause the delta and the counter to 992 * than the previous value it will cause the delta and the counter to
993 * have bogus values unless we rolled a counter over. If a coutner is 993 * have bogus values unless we rolled a counter over. If a coutner is
994 * rolled back, it will be smaller, but within 256, which is the maximum 994 * rolled back, it will be smaller, but within 256, which is the maximum
995 * number of events to rollback at once. If we dectect a rollback 995 * number of events to rollback at once. If we detect a rollback
996 * return 0. This can lead to a small lack of precision in the 996 * return 0. This can lead to a small lack of precision in the
997 * counters. 997 * counters.
998 */ 998 */
diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c
index 2da41b78cb6d..7b2ca16b1eb4 100644
--- a/arch/powerpc/perf/hv-24x7.c
+++ b/arch/powerpc/perf/hv-24x7.c
@@ -1298,7 +1298,7 @@ static void h_24x7_event_read(struct perf_event *event)
1298 __this_cpu_write(hv_24x7_txn_err, ret); 1298 __this_cpu_write(hv_24x7_txn_err, ret);
1299 } else { 1299 } else {
1300 /* 1300 /*
1301 * Assoicate the event with the HCALL request index, 1301 * Associate the event with the HCALL request index,
1302 * so ->commit_txn() can quickly find/update count. 1302 * so ->commit_txn() can quickly find/update count.
1303 */ 1303 */
1304 i = request_buffer->num_requests - 1; 1304 i = request_buffer->num_requests - 1;
diff --git a/arch/powerpc/perf/hv-24x7.h b/arch/powerpc/perf/hv-24x7.h
index 791455e7f5cf..634ef4082cdc 100644
--- a/arch/powerpc/perf/hv-24x7.h
+++ b/arch/powerpc/perf/hv-24x7.h
@@ -66,7 +66,7 @@ struct hv_24x7_result_element {
66 /* -1 if @performance_domain does not refer to a virtual processor */ 66 /* -1 if @performance_domain does not refer to a virtual processor */
67 __be32 lpar_cfg_instance_id; 67 __be32 lpar_cfg_instance_id;
68 68
69 /* size = @result_element_data_size of cointaining result. */ 69 /* size = @result_element_data_size of containing result. */
70 __u64 element_data[1]; 70 __u64 element_data[1];
71} __packed; 71} __packed;
72 72
diff --git a/arch/powerpc/platforms/512x/clock-commonclk.c b/arch/powerpc/platforms/512x/clock-commonclk.c
index 6081fbd75330..add5a5374fa0 100644
--- a/arch/powerpc/platforms/512x/clock-commonclk.c
+++ b/arch/powerpc/platforms/512x/clock-commonclk.c
@@ -719,7 +719,7 @@ static void mpc512x_clk_setup_clock_tree(struct device_node *np, int busfreq)
719 * most one of a mux, div, and gate each into one 'struct clk' 719 * most one of a mux, div, and gate each into one 'struct clk'
720 * item 720 * item
721 * - PSC/MSCAN/SPDIF clock generation OTOH already is very 721 * - PSC/MSCAN/SPDIF clock generation OTOH already is very
722 * specific and cannot get mapped to componsites (at least not 722 * specific and cannot get mapped to composites (at least not
723 * a single one, maybe two of them, but then some of these 723 * a single one, maybe two of them, but then some of these
724 * intermediate clock signals get referenced elsewhere (e.g. 724 * intermediate clock signals get referenced elsewhere (e.g.
725 * in the clock frequency measurement, CFM) and thus need 725 * in the clock frequency measurement, CFM) and thus need
diff --git a/arch/powerpc/platforms/cell/iommu.c b/arch/powerpc/platforms/cell/iommu.c
index 14a582b21274..9027d7c48507 100644
--- a/arch/powerpc/platforms/cell/iommu.c
+++ b/arch/powerpc/platforms/cell/iommu.c
@@ -178,7 +178,7 @@ static int tce_build_cell(struct iommu_table *tbl, long index, long npages,
178 * default for now.*/ 178 * default for now.*/
179#ifdef CELL_IOMMU_STRICT_PROTECTION 179#ifdef CELL_IOMMU_STRICT_PROTECTION
180 /* to avoid referencing a global, we use a trick here to setup the 180 /* to avoid referencing a global, we use a trick here to setup the
181 * protection bit. "prot" is setup to be 3 fields of 4 bits apprended 181 * protection bit. "prot" is setup to be 3 fields of 4 bits appended
182 * together for each of the 3 supported direction values. It is then 182 * together for each of the 3 supported direction values. It is then
183 * shifted left so that the fields matching the desired direction 183 * shifted left so that the fields matching the desired direction
184 * lands on the appropriate bits, and other bits are masked out. 184 * lands on the appropriate bits, and other bits are masked out.
@@ -338,7 +338,7 @@ static unsigned long *cell_iommu_alloc_ptab(struct cbe_iommu *iommu,
338 start_seg = base >> IO_SEGMENT_SHIFT; 338 start_seg = base >> IO_SEGMENT_SHIFT;
339 segments = size >> IO_SEGMENT_SHIFT; 339 segments = size >> IO_SEGMENT_SHIFT;
340 pages_per_segment = 1ull << IO_PAGENO_BITS(page_shift); 340 pages_per_segment = 1ull << IO_PAGENO_BITS(page_shift);
341 /* PTEs for each segment must start on a 4K bounday */ 341 /* PTEs for each segment must start on a 4K boundary */
342 pages_per_segment = max(pages_per_segment, 342 pages_per_segment = max(pages_per_segment,
343 (1 << 12) / sizeof(unsigned long)); 343 (1 << 12) / sizeof(unsigned long));
344 344
diff --git a/arch/powerpc/platforms/cell/spider-pic.c b/arch/powerpc/platforms/cell/spider-pic.c
index 54ee5743cb72..d06dcac66fcb 100644
--- a/arch/powerpc/platforms/cell/spider-pic.c
+++ b/arch/powerpc/platforms/cell/spider-pic.c
@@ -217,7 +217,7 @@ static void spider_irq_cascade(struct irq_desc *desc)
217 chip->irq_eoi(&desc->irq_data); 217 chip->irq_eoi(&desc->irq_data);
218} 218}
219 219
220/* For hooking up the cascace we have a problem. Our device-tree is 220/* For hooking up the cascade we have a problem. Our device-tree is
221 * crap and we don't know on which BE iic interrupt we are hooked on at 221 * crap and we don't know on which BE iic interrupt we are hooked on at
222 * least not the "standard" way. We can reconstitute it based on two 222 * least not the "standard" way. We can reconstitute it based on two
223 * informations though: which BE node we are connected to and whether 223 * informations though: which BE node we are connected to and whether
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
index 3cbe38fad609..bb4a8e07c229 100644
--- a/arch/powerpc/platforms/cell/spu_base.c
+++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -69,7 +69,7 @@ static DEFINE_SPINLOCK(spu_lock);
69 * spu_full_list_lock and spu_full_list_mutex held, while iterating 69 * spu_full_list_lock and spu_full_list_mutex held, while iterating
70 * through it requires either of these locks. 70 * through it requires either of these locks.
71 * 71 *
72 * In addition spu_full_list_lock protects all assignmens to 72 * In addition spu_full_list_lock protects all assignments to
73 * spu->mm. 73 * spu->mm.
74 */ 74 */
75static LIST_HEAD(spu_full_list); 75static LIST_HEAD(spu_full_list);
@@ -253,7 +253,7 @@ static inline int __slb_present(struct copro_slb *slbs, int nr_slbs,
253 * Setup the SPU kernel SLBs, in preparation for a context save/restore. We 253 * Setup the SPU kernel SLBs, in preparation for a context save/restore. We
254 * need to map both the context save area, and the save/restore code. 254 * need to map both the context save area, and the save/restore code.
255 * 255 *
256 * Because the lscsa and code may cross segment boundaires, we check to see 256 * Because the lscsa and code may cross segment boundaries, we check to see
257 * if mappings are required for the start and end of each range. We currently 257 * if mappings are required for the start and end of each range. We currently
258 * assume that the mappings are smaller that one segment - if not, something 258 * assume that the mappings are smaller that one segment - if not, something
259 * is seriously wrong. 259 * is seriously wrong.
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c
index 2936a0044c04..06254467e4dd 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -866,7 +866,7 @@ void spufs_wbox_callback(struct spu *spu)
866 * - end of the mapped area 866 * - end of the mapped area
867 * 867 *
868 * If the file is opened without O_NONBLOCK, we wait here until 868 * If the file is opened without O_NONBLOCK, we wait here until
869 * space is availabyl, but return when we have been able to 869 * space is available, but return when we have been able to
870 * write something. 870 * write something.
871 */ 871 */
872static ssize_t spufs_wbox_write(struct file *file, const char __user *buf, 872static ssize_t spufs_wbox_write(struct file *file, const char __user *buf,
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c
index 9f79004e6d6f..cfacbee24d7b 100644
--- a/arch/powerpc/platforms/cell/spufs/run.c
+++ b/arch/powerpc/platforms/cell/spufs/run.c
@@ -435,7 +435,7 @@ long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event)
435 435
436 /* Note: we don't need to force_sig SIGTRAP on single-step 436 /* Note: we don't need to force_sig SIGTRAP on single-step
437 * since we have TIF_SINGLESTEP set, thus the kernel will do 437 * since we have TIF_SINGLESTEP set, thus the kernel will do
438 * it upon return from the syscall anyawy 438 * it upon return from the syscall anyway.
439 */ 439 */
440 if (unlikely(status & SPU_STATUS_SINGLE_STEP)) 440 if (unlikely(status & SPU_STATUS_SINGLE_STEP))
441 ret = -ERESTARTSYS; 441 ret = -ERESTARTSYS;
diff --git a/arch/powerpc/platforms/cell/spufs/sched.c b/arch/powerpc/platforms/cell/spufs/sched.c
index 998f632e7cce..460f5f31d5cb 100644
--- a/arch/powerpc/platforms/cell/spufs/sched.c
+++ b/arch/powerpc/platforms/cell/spufs/sched.c
@@ -622,7 +622,7 @@ static struct spu *spu_get_idle(struct spu_context *ctx)
622 622
623/** 623/**
624 * find_victim - find a lower priority context to preempt 624 * find_victim - find a lower priority context to preempt
625 * @ctx: canidate context for running 625 * @ctx: candidate context for running
626 * 626 *
627 * Returns the freed physical spu to run the new context on. 627 * Returns the freed physical spu to run the new context on.
628 */ 628 */
diff --git a/arch/powerpc/platforms/powermac/low_i2c.c b/arch/powerpc/platforms/powermac/low_i2c.c
index 7553b6a77c64..6d6f277477aa 100644
--- a/arch/powerpc/platforms/powermac/low_i2c.c
+++ b/arch/powerpc/platforms/powermac/low_i2c.c
@@ -15,7 +15,7 @@
15 * This file thus provides a simple low level unified i2c interface for 15 * This file thus provides a simple low level unified i2c interface for
16 * powermac that covers the various types of i2c busses used in Apple machines. 16 * powermac that covers the various types of i2c busses used in Apple machines.
17 * For now, keywest, PMU and SMU, though we could add Cuda, or other bit 17 * For now, keywest, PMU and SMU, though we could add Cuda, or other bit
18 * banging busses found on older chipstes in earlier machines if we ever need 18 * banging busses found on older chipsets in earlier machines if we ever need
19 * one of them. 19 * one of them.
20 * 20 *
21 * The drivers in this file are synchronous/blocking. In addition, the 21 * The drivers in this file are synchronous/blocking. In addition, the
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
index 3a5ea8236db8..1fc53e015d29 100644
--- a/arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/arch/powerpc/platforms/powernv/pci-ioda.c
@@ -197,7 +197,7 @@ static int pnv_ioda2_init_m64(struct pnv_phb *phb)
197 197
198 /* 198 /*
199 * Strip off the segment used by the reserved PE, which is 199 * Strip off the segment used by the reserved PE, which is
200 * expected to be 0 or last one of PE capabicity. 200 * expected to be 0 or last one of PE capability.
201 */ 201 */
202 r = &phb->hose->mem_resources[1]; 202 r = &phb->hose->mem_resources[1];
203 if (phb->ioda.reserved_pe_idx == 0) 203 if (phb->ioda.reserved_pe_idx == 0)
diff --git a/arch/powerpc/platforms/pseries/eeh_pseries.c b/arch/powerpc/platforms/pseries/eeh_pseries.c
index 3998e0f9a03b..1c428f06b14c 100644
--- a/arch/powerpc/platforms/pseries/eeh_pseries.c
+++ b/arch/powerpc/platforms/pseries/eeh_pseries.c
@@ -2,7 +2,7 @@
2 * The file intends to implement the platform dependent EEH operations on pseries. 2 * The file intends to implement the platform dependent EEH operations on pseries.
3 * Actually, the pseries platform is built based on RTAS heavily. That means the 3 * Actually, the pseries platform is built based on RTAS heavily. That means the
4 * pseries platform dependent EEH operations will be built on RTAS calls. The functions 4 * pseries platform dependent EEH operations will be built on RTAS calls. The functions
5 * are devired from arch/powerpc/platforms/pseries/eeh.c and necessary cleanup has 5 * are derived from arch/powerpc/platforms/pseries/eeh.c and necessary cleanup has
6 * been done. 6 * been done.
7 * 7 *
8 * Copyright Benjamin Herrenschmidt & Gavin Shan, IBM Corporation 2011. 8 * Copyright Benjamin Herrenschmidt & Gavin Shan, IBM Corporation 2011.
diff --git a/arch/powerpc/platforms/pseries/io_event_irq.c b/arch/powerpc/platforms/pseries/io_event_irq.c
index 0240c4ff878a..f053bda64ee7 100644
--- a/arch/powerpc/platforms/pseries/io_event_irq.c
+++ b/arch/powerpc/platforms/pseries/io_event_irq.c
@@ -113,7 +113,7 @@ static struct pseries_io_event * ioei_find_event(struct rtas_error_log *elog)
113 * - The owner of an event is determined by combinations of scope, 113 * - The owner of an event is determined by combinations of scope,
114 * event type, and sub-type. There is no easy way to pre-sort clients 114 * event type, and sub-type. There is no easy way to pre-sort clients
115 * by scope or event type alone. For example, Torrent ISR route change 115 * by scope or event type alone. For example, Torrent ISR route change
116 * event is reported with scope 0x00 (Not Applicatable) rather than 116 * event is reported with scope 0x00 (Not Applicable) rather than
117 * 0x3B (Torrent-hub). It is better to let the clients to identify 117 * 0x3B (Torrent-hub). It is better to let the clients to identify
118 * who owns the event. 118 * who owns the event.
119 */ 119 */
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index 9883bc7ea007..9a79c2753a22 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -367,7 +367,7 @@ static void pseries_lpar_idle(void)
367{ 367{
368 /* 368 /*
369 * Default handler to go into low thread priority and possibly 369 * Default handler to go into low thread priority and possibly
370 * low power mode by cedeing processor to hypervisor 370 * low power mode by ceding processor to hypervisor
371 */ 371 */
372 372
373 /* Indicate to hypervisor that we are idle. */ 373 /* Indicate to hypervisor that we are idle. */