aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-11-28 23:31:00 -0500
committerJiri Kosina <jkosina@suse.cz>2011-12-02 08:57:31 -0500
commit42b2aa86c6670347a2a07e6d7af0e0ecc8fdbff9 (patch)
tree6f8fb2a1efb3e84bf281658befe06dc6a7fb026b /arch/powerpc
parenta13b032776379fa6e2bfccf798969ca51e5fb052 (diff)
treewide: Fix typos in various parts of the kernel, and fix some comments.
The below patch fixes some typos in various parts of the kernel, as well as fixes some comments. Please let me know if I missed anything, and I will try to get it changed and resent. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Acked-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/io.h2
-rw-r--r--arch/powerpc/include/asm/keylargo.h2
-rw-r--r--arch/powerpc/mm/numa.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h
index 45698d55cd6a..a3855b81eada 100644
--- a/arch/powerpc/include/asm/io.h
+++ b/arch/powerpc/include/asm/io.h
@@ -394,7 +394,7 @@ __do_out_asm(_rec_outl, "stwbrx")
394#endif /* CONFIG_PPC32 */ 394#endif /* CONFIG_PPC32 */
395 395
396/* The "__do_*" operations below provide the actual "base" implementation 396/* The "__do_*" operations below provide the actual "base" implementation
397 * for each of the defined acccessor. Some of them use the out_* functions 397 * for each of the defined accessors. Some of them use the out_* functions
398 * directly, some of them still use EEH, though we might change that in the 398 * directly, some of them still use EEH, though we might change that in the
399 * future. Those macros below provide the necessary argument swapping and 399 * future. Those macros below provide the necessary argument swapping and
400 * handling of the IO base for PIO. 400 * handling of the IO base for PIO.
diff --git a/arch/powerpc/include/asm/keylargo.h b/arch/powerpc/include/asm/keylargo.h
index d8520ef121f9..fc195d0b3c34 100644
--- a/arch/powerpc/include/asm/keylargo.h
+++ b/arch/powerpc/include/asm/keylargo.h
@@ -51,7 +51,7 @@
51 51
52#define KL_GPIO_SOUND_POWER (KEYLARGO_GPIO_0+0x05) 52#define KL_GPIO_SOUND_POWER (KEYLARGO_GPIO_0+0x05)
53 53
54/* Hrm... this one is only to be used on Pismo. It seeem to also 54/* Hrm... this one is only to be used on Pismo. It seems to also
55 * control the timebase enable on other machines. Still to be 55 * control the timebase enable on other machines. Still to be
56 * experimented... --BenH. 56 * experimented... --BenH.
57 */ 57 */
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index b22a83a91cb8..ae0a611f5741 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -521,7 +521,7 @@ static int of_get_assoc_arrays(struct device_node *memory,
521 aa->n_arrays = *prop++; 521 aa->n_arrays = *prop++;
522 aa->array_sz = *prop++; 522 aa->array_sz = *prop++;
523 523
524 /* Now that we know the number of arrrays and size of each array, 524 /* Now that we know the number of arrays and size of each array,
525 * revalidate the size of the property read in. 525 * revalidate the size of the property read in.
526 */ 526 */
527 if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int)) 527 if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int))