diff options
author | Justin P. Mattock <justinmattock@gmail.com> | 2011-11-28 23:31:00 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-12-02 08:57:31 -0500 |
commit | 42b2aa86c6670347a2a07e6d7af0e0ecc8fdbff9 (patch) | |
tree | 6f8fb2a1efb3e84bf281658befe06dc6a7fb026b /arch | |
parent | a13b032776379fa6e2bfccf798969ca51e5fb052 (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')
-rw-r--r-- | arch/arm/plat-omap/include/plat/serial.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/io.h | 2 | ||||
-rw-r--r-- | arch/powerpc/include/asm/keylargo.h | 2 | ||||
-rw-r--r-- | arch/powerpc/mm/numa.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/smp_64.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h index 1ab9fd6abe6d..ac44bde5d36d 100644 --- a/arch/arm/plat-omap/include/plat/serial.h +++ b/arch/arm/plat-omap/include/plat/serial.h | |||
@@ -2,7 +2,7 @@ | |||
2 | * arch/arm/plat-omap/include/mach/serial.h | 2 | * arch/arm/plat-omap/include/mach/serial.h |
3 | * | 3 | * |
4 | * Copyright (C) 2009 Texas Instruments | 4 | * Copyright (C) 2009 Texas Instruments |
5 | * Addded OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com> | 5 | * Added OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com> |
6 | * | 6 | * |
7 | * This program is distributed in the hope that it will be useful, | 7 | * This program is distributed in the hope that it will be useful, |
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
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)) |
diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c index 75607724d290..3b1bd7c50164 100644 --- a/arch/sparc/kernel/smp_64.c +++ b/arch/sparc/kernel/smp_64.c | |||
@@ -840,7 +840,7 @@ static void tsb_sync(void *info) | |||
840 | struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id()]; | 840 | struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id()]; |
841 | struct mm_struct *mm = info; | 841 | struct mm_struct *mm = info; |
842 | 842 | ||
843 | /* It is not valid to test "currrent->active_mm == mm" here. | 843 | /* It is not valid to test "current->active_mm == mm" here. |
844 | * | 844 | * |
845 | * The value of "current" is not changed atomically with | 845 | * The value of "current" is not changed atomically with |
846 | * switch_mm(). But that's OK, we just need to check the | 846 | * switch_mm(). But that's OK, we just need to check the |