diff options
Diffstat (limited to 'arch')
44 files changed, 59 insertions, 59 deletions
diff --git a/arch/arm/boot/bootp/init.S b/arch/arm/boot/bootp/init.S index df7bc7068d0f..8b0de41c3dcb 100644 --- a/arch/arm/boot/bootp/init.S +++ b/arch/arm/boot/bootp/init.S | |||
@@ -49,7 +49,7 @@ _start: add lr, pc, #-0x8 @ lr = current load addr | |||
49 | /* | 49 | /* |
50 | * find the end of the tag list, and then add an INITRD tag on the end. | 50 | * find the end of the tag list, and then add an INITRD tag on the end. |
51 | * If there is already an INITRD tag, then we ignore it; the last INITRD | 51 | * If there is already an INITRD tag, then we ignore it; the last INITRD |
52 | * tag takes precidence. | 52 | * tag takes precedence. |
53 | */ | 53 | */ |
54 | taglist: ldr r10, [r9, #0] @ tag length | 54 | taglist: ldr r10, [r9, #0] @ tag length |
55 | teq r10, #0 @ last tag (zero length)? | 55 | teq r10, #0 @ last tag (zero length)? |
diff --git a/arch/arm/common/clkdev.c b/arch/arm/common/clkdev.c index 446b696196e3..6416d5b5020d 100644 --- a/arch/arm/common/clkdev.c +++ b/arch/arm/common/clkdev.c | |||
@@ -32,7 +32,7 @@ static DEFINE_MUTEX(clocks_mutex); | |||
32 | * If an entry has a device ID, it must match | 32 | * If an entry has a device ID, it must match |
33 | * If an entry has a connection ID, it must match | 33 | * If an entry has a connection ID, it must match |
34 | * Then we take the most specific entry - with the following | 34 | * Then we take the most specific entry - with the following |
35 | * order of precidence: dev+con > dev only > con only. | 35 | * order of precedence: dev+con > dev only > con only. |
36 | */ | 36 | */ |
37 | static struct clk *clk_find(const char *dev_id, const char *con_id) | 37 | static struct clk *clk_find(const char *dev_id, const char *con_id) |
38 | { | 38 | { |
diff --git a/arch/arm/mach-at91/include/mach/at91_mci.h b/arch/arm/mach-at91/include/mach/at91_mci.h index 550d503a1bca..57f8ee154943 100644 --- a/arch/arm/mach-at91/include/mach/at91_mci.h +++ b/arch/arm/mach-at91/include/mach/at91_mci.h | |||
@@ -77,7 +77,7 @@ | |||
77 | 77 | ||
78 | #define AT91_MCI_BLKR 0x18 /* Block Register */ | 78 | #define AT91_MCI_BLKR 0x18 /* Block Register */ |
79 | #define AT91_MCI_BLKR_BCNT(n) ((0xffff & (n)) << 0) /* Block count */ | 79 | #define AT91_MCI_BLKR_BCNT(n) ((0xffff & (n)) << 0) /* Block count */ |
80 | #define AT91_MCI_BLKR_BLKLEN(n) ((0xffff & (n)) << 16) /* Block lenght */ | 80 | #define AT91_MCI_BLKR_BLKLEN(n) ((0xffff & (n)) << 16) /* Block length */ |
81 | 81 | ||
82 | #define AT91_MCI_RSPR(n) (0x20 + ((n) * 4)) /* Response Registers 0-3 */ | 82 | #define AT91_MCI_RSPR(n) (0x20 + ((n) * 4)) /* Response Registers 0-3 */ |
83 | #define AT91_MCR_RDR 0x30 /* Receive Data Register */ | 83 | #define AT91_MCR_RDR 0x30 /* Receive Data Register */ |
diff --git a/arch/arm/mach-davinci/include/mach/i2c.h b/arch/arm/mach-davinci/include/mach/i2c.h index 39fdceac8414..2312d197dfb7 100644 --- a/arch/arm/mach-davinci/include/mach/i2c.h +++ b/arch/arm/mach-davinci/include/mach/i2c.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * DaVinci I2C controller platfrom_device info | 2 | * DaVinci I2C controller platform_device info |
3 | * | 3 | * |
4 | * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com> | 4 | * Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com> |
5 | * | 5 | * |
diff --git a/arch/arm/mach-ep93xx/micro9.c b/arch/arm/mach-ep93xx/micro9.c index f3757a1c5a10..c33360e82868 100644 --- a/arch/arm/mach-ep93xx/micro9.c +++ b/arch/arm/mach-ep93xx/micro9.c | |||
@@ -28,7 +28,7 @@ | |||
28 | * | 28 | * |
29 | * Micro9-High has up to 64MB of 32-bit flash on CS1 | 29 | * Micro9-High has up to 64MB of 32-bit flash on CS1 |
30 | * Micro9-Mid has up to 64MB of either 32-bit or 16-bit flash on CS1 | 30 | * Micro9-Mid has up to 64MB of either 32-bit or 16-bit flash on CS1 |
31 | * Micro9-Lite uses a seperate MTD map driver for flash support | 31 | * Micro9-Lite uses a separate MTD map driver for flash support |
32 | * Micro9-Slim has up to 64MB of either 32-bit or 16-bit flash on CS1 | 32 | * Micro9-Slim has up to 64MB of either 32-bit or 16-bit flash on CS1 |
33 | *************************************************************************/ | 33 | *************************************************************************/ |
34 | static struct physmap_flash_data micro9_flash_data; | 34 | static struct physmap_flash_data micro9_flash_data; |
diff --git a/arch/arm/mach-nomadik/board-nhk8815.c b/arch/arm/mach-nomadik/board-nhk8815.c index 9438bf6613a3..ab3712c86d2b 100644 --- a/arch/arm/mach-nomadik/board-nhk8815.c +++ b/arch/arm/mach-nomadik/board-nhk8815.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #define SRC_CR_INIT_MASK 0x00007fff | 38 | #define SRC_CR_INIT_MASK 0x00007fff |
39 | #define SRC_CR_INIT_VAL 0x2aaa8000 | 39 | #define SRC_CR_INIT_VAL 0x2aaa8000 |
40 | 40 | ||
41 | /* These adresses span 16MB, so use three individual pages */ | 41 | /* These addresses span 16MB, so use three individual pages */ |
42 | static struct resource nhk8815_nand_resources[] = { | 42 | static struct resource nhk8815_nand_resources[] = { |
43 | { | 43 | { |
44 | .name = "nand_addr", | 44 | .name = "nand_addr", |
diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c index 4386d2b4a785..4386d2b4a785 100755..100644 --- a/arch/arm/mach-omap2/board-3630sdp.c +++ b/arch/arm/mach-omap2/board-3630sdp.c | |||
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c index ca95d8d64136..ca95d8d64136 100755..100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c | |||
diff --git a/arch/arm/mach-s3c2410/include/mach/spi-gpio.h b/arch/arm/mach-s3c2410/include/mach/spi-gpio.h index 980a099e209c..dcef2287cb38 100644 --- a/arch/arm/mach-s3c2410/include/mach/spi-gpio.h +++ b/arch/arm/mach-s3c2410/include/mach/spi-gpio.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * Copyright (c) 2006 Simtec Electronics | 3 | * Copyright (c) 2006 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 5 | * |
6 | * S3C2410 - SPI Controller platfrom_device info | 6 | * S3C2410 - SPI Controller platform_device info |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License version 2 as | 9 | * it under the terms of the GNU General Public License version 2 as |
diff --git a/arch/arm/mach-s5pc100/setup-sdhci.c b/arch/arm/mach-s5pc100/setup-sdhci.c index 4385986a3da0..ea7ff19adb95 100644 --- a/arch/arm/mach-s5pc100/setup-sdhci.c +++ b/arch/arm/mach-s5pc100/setup-sdhci.c | |||
@@ -28,8 +28,8 @@ | |||
28 | char *s5pc100_hsmmc_clksrcs[4] = { | 28 | char *s5pc100_hsmmc_clksrcs[4] = { |
29 | [0] = "hsmmc", | 29 | [0] = "hsmmc", |
30 | [1] = "hsmmc", | 30 | [1] = "hsmmc", |
31 | /* [2] = "mmc_bus", not yet succesfuuly used yet */ | 31 | /* [2] = "mmc_bus", not yet successfully used yet */ |
32 | /* [3] = "48m", - note not succesfully used yet */ | 32 | /* [3] = "48m", - note not successfully used yet */ |
33 | }; | 33 | }; |
34 | 34 | ||
35 | 35 | ||
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 01b50313914c..5f34eb674d68 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -358,7 +358,7 @@ static struct resource ave_resources[] = { | |||
358 | /* | 358 | /* |
359 | * The AVE3e requires two regions of 256MB that it considers | 359 | * The AVE3e requires two regions of 256MB that it considers |
360 | * "invisible". The hardware will not be able to access these | 360 | * "invisible". The hardware will not be able to access these |
361 | * adresses, so they should never point to system RAM. | 361 | * addresses, so they should never point to system RAM. |
362 | */ | 362 | */ |
363 | { | 363 | { |
364 | .name = "AVE3e Reserved 0", | 364 | .name = "AVE3e Reserved 0", |
@@ -1596,7 +1596,7 @@ static void __init u300_init_check_chip(void) | |||
1596 | /* | 1596 | /* |
1597 | * Some devices and their resources require reserved physical memory from | 1597 | * Some devices and their resources require reserved physical memory from |
1598 | * the end of the available RAM. This function traverses the list of devices | 1598 | * the end of the available RAM. This function traverses the list of devices |
1599 | * and assigns actual adresses to these. | 1599 | * and assigns actual addresses to these. |
1600 | */ | 1600 | */ |
1601 | static void __init u300_assign_physmem(void) | 1601 | static void __init u300_assign_physmem(void) |
1602 | { | 1602 | { |
diff --git a/arch/arm/mach-u300/include/mach/debug-macro.S b/arch/arm/mach-u300/include/mach/debug-macro.S index ca4a028c2661..92c12420256f 100644 --- a/arch/arm/mach-u300/include/mach/debug-macro.S +++ b/arch/arm/mach-u300/include/mach/debug-macro.S | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <mach/hardware.h> | 11 | #include <mach/hardware.h> |
12 | 12 | ||
13 | .macro addruart, rx, tmp | 13 | .macro addruart, rx, tmp |
14 | /* If we move the adress using MMU, use this. */ | 14 | /* If we move the address using MMU, use this. */ |
15 | mrc p15, 0, \rx, c1, c0 | 15 | mrc p15, 0, \rx, c1, c0 |
16 | tst \rx, #1 @ MMU enabled? | 16 | tst \rx, #1 @ MMU enabled? |
17 | ldreq \rx, = U300_SLOW_PER_PHYS_BASE @ MMU off, physical address | 17 | ldreq \rx, = U300_SLOW_PER_PHYS_BASE @ MMU off, physical address |
diff --git a/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h b/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h index 652e2bbdaa20..dda19da037ad 100644 --- a/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h +++ b/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h | |||
@@ -78,7 +78,7 @@ extern int s3c_gpio_setcfg_s3c24xx_a(struct s3c_gpio_chip *chip, | |||
78 | * others = Special functions (dependant on bank) | 78 | * others = Special functions (dependant on bank) |
79 | * | 79 | * |
80 | * Note, since the code to deal with the case where there are two control | 80 | * Note, since the code to deal with the case where there are two control |
81 | * registers instead of one, we do not have a seperate set of functions for | 81 | * registers instead of one, we do not have a separate set of functions for |
82 | * each case. | 82 | * each case. |
83 | */ | 83 | */ |
84 | extern int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip, | 84 | extern int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip, |
diff --git a/arch/arm/plat-s3c/include/plat/nand.h b/arch/arm/plat-s3c/include/plat/nand.h index 226147b7e026..b64115fa93a4 100644 --- a/arch/arm/plat-s3c/include/plat/nand.h +++ b/arch/arm/plat-s3c/include/plat/nand.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * Copyright (c) 2004 Simtec Electronics | 3 | * Copyright (c) 2004 Simtec Electronics |
4 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
5 | * | 5 | * |
6 | * S3C2410 - NAND device controller platfrom_device info | 6 | * S3C2410 - NAND device controller platform_device info |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License version 2 as | 9 | * it under the terms of the GNU General Public License version 2 as |
diff --git a/arch/arm/plat-s3c/include/plat/regs-usb-hsotg-phy.h b/arch/arm/plat-s3c/include/plat/regs-usb-hsotg-phy.h index 36a85f5000c8..a111ad871833 100644 --- a/arch/arm/plat-s3c/include/plat/regs-usb-hsotg-phy.h +++ b/arch/arm/plat-s3c/include/plat/regs-usb-hsotg-phy.h | |||
@@ -12,7 +12,7 @@ | |||
12 | * published by the Free Software Foundation. | 12 | * published by the Free Software Foundation. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | /* Note, this is a seperate header file as some of the clock framework | 15 | /* Note, this is a separate header file as some of the clock framework |
16 | * needs to touch this if the clk_48m is used as the USB OHCI or other | 16 | * needs to touch this if the clk_48m is used as the USB OHCI or other |
17 | * peripheral source. | 17 | * peripheral source. |
18 | */ | 18 | */ |
diff --git a/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h b/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h index 33d421d78bad..d623235ae961 100644 --- a/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h +++ b/arch/arm/plat-s3c24xx/include/plat/cpu-freq-core.h | |||
@@ -135,7 +135,7 @@ struct s3c_cpufreq_config { | |||
135 | * @locktime_m: The lock-time in uS for the MPLL. | 135 | * @locktime_m: The lock-time in uS for the MPLL. |
136 | * @locktime_u: The lock-time in uS for the UPLL. | 136 | * @locktime_u: The lock-time in uS for the UPLL. |
137 | * @locttime_bits: The number of bits each LOCKTIME field. | 137 | * @locttime_bits: The number of bits each LOCKTIME field. |
138 | * @need_pll: Set if this driver needs to change the PLL values to acheive | 138 | * @need_pll: Set if this driver needs to change the PLL values to achieve |
139 | * any frequency changes. This is really only need by devices like the | 139 | * any frequency changes. This is really only need by devices like the |
140 | * S3C2410 where there is no or limited divider between the PLL and the | 140 | * S3C2410 where there is no or limited divider between the PLL and the |
141 | * ARMCLK. | 141 | * ARMCLK. |
diff --git a/arch/blackfin/include/asm/nand.h b/arch/blackfin/include/asm/nand.h index 3ae8b569edfc..3a1e79dfc8d9 100644 --- a/arch/blackfin/include/asm/nand.h +++ b/arch/blackfin/include/asm/nand.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * BF5XX - NAND flash controller platfrom_device info | 2 | * BF5XX - NAND flash controller platform_device info |
3 | * | 3 | * |
4 | * Copyright 2007-2008 Analog Devices, Inc. | 4 | * Copyright 2007-2008 Analog Devices, Inc. |
5 | * | 5 | * |
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | /* struct bf5xx_nand_platform | 9 | /* struct bf5xx_nand_platform |
10 | * | 10 | * |
11 | * define a interface between platfrom board specific code and | 11 | * define a interface between platform board specific code and |
12 | * bf54x NFC driver. | 12 | * bf54x NFC driver. |
13 | * | 13 | * |
14 | * nr_partitions = number of partitions pointed to be partitoons (or zero) | 14 | * nr_partitions = number of partitions pointed to be partitoons (or zero) |
diff --git a/arch/cris/arch-v10/lib/old_checksum.c b/arch/cris/arch-v10/lib/old_checksum.c index 1734b467efa6..8f79163f1394 100644 --- a/arch/cris/arch-v10/lib/old_checksum.c +++ b/arch/cris/arch-v10/lib/old_checksum.c | |||
@@ -77,7 +77,7 @@ __wsum csum_partial(const void *p, int len, __wsum __sum) | |||
77 | sum += *buff++; | 77 | sum += *buff++; |
78 | 78 | ||
79 | if (endMarker > buff) | 79 | if (endMarker > buff) |
80 | sum += *(const u8 *)buff; /* add extra byte seperately */ | 80 | sum += *(const u8 *)buff; /* add extra byte separately */ |
81 | 81 | ||
82 | BITOFF; | 82 | BITOFF; |
83 | return (__force __wsum)sum; | 83 | return (__force __wsum)sum; |
diff --git a/arch/cris/arch-v32/mm/tlb.c b/arch/cris/arch-v32/mm/tlb.c index 6779bcb28ab0..c030d020660a 100644 --- a/arch/cris/arch-v32/mm/tlb.c +++ b/arch/cris/arch-v32/mm/tlb.c | |||
@@ -189,7 +189,7 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next, | |||
189 | spin_unlock(&mmu_context_lock); | 189 | spin_unlock(&mmu_context_lock); |
190 | 190 | ||
191 | /* | 191 | /* |
192 | * Remember the pgd for the fault handlers. Keep a seperate | 192 | * Remember the pgd for the fault handlers. Keep a separate |
193 | * copy of it because current and active_mm might be invalid | 193 | * copy of it because current and active_mm might be invalid |
194 | * at points where * there's still a need to derefer the pgd. | 194 | * at points where * there's still a need to derefer the pgd. |
195 | */ | 195 | */ |
diff --git a/arch/h8300/include/asm/io.h b/arch/h8300/include/asm/io.h index 33e842f3284b..c1a8df22080f 100644 --- a/arch/h8300/include/asm/io.h +++ b/arch/h8300/include/asm/io.h | |||
@@ -25,7 +25,7 @@ | |||
25 | * memory location directly. | 25 | * memory location directly. |
26 | */ | 26 | */ |
27 | /* ++roman: The assignments to temp. vars avoid that gcc sometimes generates | 27 | /* ++roman: The assignments to temp. vars avoid that gcc sometimes generates |
28 | * two accesses to memory, which may be undesireable for some devices. | 28 | * two accesses to memory, which may be undesirable for some devices. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | /* | 31 | /* |
diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index e456f062f241..d00dfc180021 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c | |||
@@ -241,7 +241,7 @@ static void __cpuinit sn_check_for_wars(void) | |||
241 | * Note: This stuff is duped here because Altix requires the PCDP to | 241 | * Note: This stuff is duped here because Altix requires the PCDP to |
242 | * locate a usable VGA device due to lack of proper ACPI support. Structures | 242 | * locate a usable VGA device due to lack of proper ACPI support. Structures |
243 | * could be used from drivers/firmware/pcdp.h, but it was decided that moving | 243 | * could be used from drivers/firmware/pcdp.h, but it was decided that moving |
244 | * this file to a more public location just for Altix use was undesireable. | 244 | * this file to a more public location just for Altix use was undesirable. |
245 | */ | 245 | */ |
246 | 246 | ||
247 | struct hcdp_uart_desc { | 247 | struct hcdp_uart_desc { |
diff --git a/arch/m68k/atari/atakeyb.c b/arch/m68k/atari/atakeyb.c index 4add96d13b19..5890897d28bf 100644 --- a/arch/m68k/atari/atakeyb.c +++ b/arch/m68k/atari/atakeyb.c | |||
@@ -121,7 +121,7 @@ KEYBOARD_STATE kb_state; | |||
121 | * bytes have been lost and in which state of the packet structure we are now. | 121 | * bytes have been lost and in which state of the packet structure we are now. |
122 | * This usually causes keyboards bytes to be interpreted as mouse movements | 122 | * This usually causes keyboards bytes to be interpreted as mouse movements |
123 | * and vice versa, which is very annoying. It seems better to throw away some | 123 | * and vice versa, which is very annoying. It seems better to throw away some |
124 | * bytes (that are usually mouse bytes) than to misinterpret them. Therefor I | 124 | * bytes (that are usually mouse bytes) than to misinterpret them. Therefore I |
125 | * introduced the RESYNC state for IKBD data. In this state, the bytes up to | 125 | * introduced the RESYNC state for IKBD data. In this state, the bytes up to |
126 | * one that really looks like a key event (0x04..0xf2) or the start of a mouse | 126 | * one that really looks like a key event (0x04..0xf2) or the start of a mouse |
127 | * packet (0xf8..0xfb) are thrown away, but at most 2 bytes. This at least | 127 | * packet (0xf8..0xfb) are thrown away, but at most 2 bytes. This at least |
diff --git a/arch/m68k/include/asm/fbio.h b/arch/m68k/include/asm/fbio.h index b9215a0907d3..0a21da87f7d6 100644 --- a/arch/m68k/include/asm/fbio.h +++ b/arch/m68k/include/asm/fbio.h | |||
@@ -173,7 +173,7 @@ struct mdi_cfginfo { | |||
173 | int mdi_ncluts; /* Number of implemented CLUTs in this MDI */ | 173 | int mdi_ncluts; /* Number of implemented CLUTs in this MDI */ |
174 | int mdi_type; /* FBTYPE name */ | 174 | int mdi_type; /* FBTYPE name */ |
175 | int mdi_height; /* height */ | 175 | int mdi_height; /* height */ |
176 | int mdi_width; /* widht */ | 176 | int mdi_width; /* width */ |
177 | int mdi_size; /* available ram */ | 177 | int mdi_size; /* available ram */ |
178 | int mdi_mode; /* 8bpp, 16bpp or 32bpp */ | 178 | int mdi_mode; /* 8bpp, 16bpp or 32bpp */ |
179 | int mdi_pixfreq; /* pixel clock (from PROM) */ | 179 | int mdi_pixfreq; /* pixel clock (from PROM) */ |
diff --git a/arch/m68k/include/asm/io_no.h b/arch/m68k/include/asm/io_no.h index 359065d5a9f2..6e2413e518cb 100644 --- a/arch/m68k/include/asm/io_no.h +++ b/arch/m68k/include/asm/io_no.h | |||
@@ -16,7 +16,7 @@ | |||
16 | * memory location directly. | 16 | * memory location directly. |
17 | */ | 17 | */ |
18 | /* ++roman: The assignments to temp. vars avoid that gcc sometimes generates | 18 | /* ++roman: The assignments to temp. vars avoid that gcc sometimes generates |
19 | * two accesses to memory, which may be undesireable for some devices. | 19 | * two accesses to memory, which may be undesirable for some devices. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | /* | 22 | /* |
diff --git a/arch/powerpc/boot/dts/kmeter1.dts b/arch/powerpc/boot/dts/kmeter1.dts index 65b8b4f27efe..d8b5d12fb663 100644 --- a/arch/powerpc/boot/dts/kmeter1.dts +++ b/arch/powerpc/boot/dts/kmeter1.dts | |||
@@ -490,7 +490,7 @@ | |||
490 | compatible = "cfi-flash"; | 490 | compatible = "cfi-flash"; |
491 | /* | 491 | /* |
492 | * The Intel P30 chip has 2 non-identical chips on | 492 | * The Intel P30 chip has 2 non-identical chips on |
493 | * one die, so we need to define 2 seperate regions | 493 | * one die, so we need to define 2 separate regions |
494 | * that are scanned by physmap_of independantly. | 494 | * that are scanned by physmap_of independantly. |
495 | */ | 495 | */ |
496 | reg = <0 0x00000000 0x02000000 | 496 | reg = <0 0x00000000 0x02000000 |
diff --git a/arch/powerpc/kernel/legacy_serial.c b/arch/powerpc/kernel/legacy_serial.c index 9ddfaef1a184..035ada5443ee 100644 --- a/arch/powerpc/kernel/legacy_serial.c +++ b/arch/powerpc/kernel/legacy_serial.c | |||
@@ -469,7 +469,7 @@ static int __init serial_dev_init(void) | |||
469 | return -ENODEV; | 469 | return -ENODEV; |
470 | 470 | ||
471 | /* | 471 | /* |
472 | * Before we register the platfrom serial devices, we need | 472 | * Before we register the platform serial devices, we need |
473 | * to fixup their interrupts and their IO ports. | 473 | * to fixup their interrupts and their IO ports. |
474 | */ | 474 | */ |
475 | DBG("Fixing serial ports interrupts and IO ports ...\n"); | 475 | DBG("Fixing serial ports interrupts and IO ports ...\n"); |
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c index 4ec900af332f..b1dbd9ee87cc 100644 --- a/arch/powerpc/mm/init_32.c +++ b/arch/powerpc/mm/init_32.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include "mmu_decl.h" | 47 | #include "mmu_decl.h" |
48 | 48 | ||
49 | #if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL) | 49 | #if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL) |
50 | /* The ammount of lowmem must be within 0xF0000000 - KERNELBASE. */ | 50 | /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */ |
51 | #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - PAGE_OFFSET)) | 51 | #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - PAGE_OFFSET)) |
52 | #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_START_KERNEL" | 52 | #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_START_KERNEL" |
53 | #endif | 53 | #endif |
diff --git a/arch/s390/crypto/sha_common.c b/arch/s390/crypto/sha_common.c index 7903ec47e6b9..f42dbabc0d30 100644 --- a/arch/s390/crypto/sha_common.c +++ b/arch/s390/crypto/sha_common.c | |||
@@ -79,7 +79,7 @@ int s390_sha_final(struct shash_desc *desc, u8 *out) | |||
79 | memset(ctx->buf + index, 0x00, end - index - 8); | 79 | memset(ctx->buf + index, 0x00, end - index - 8); |
80 | 80 | ||
81 | /* | 81 | /* |
82 | * Append message length. Well, SHA-512 wants a 128 bit lenght value, | 82 | * Append message length. Well, SHA-512 wants a 128 bit length value, |
83 | * nevertheless we use u64, should be enough for now... | 83 | * nevertheless we use u64, should be enough for now... |
84 | */ | 84 | */ |
85 | bits = ctx->count * 8; | 85 | bits = ctx->count * 8; |
diff --git a/arch/s390/include/asm/cio.h b/arch/s390/include/asm/cio.h index e85679af54dd..e34347d567a6 100644 --- a/arch/s390/include/asm/cio.h +++ b/arch/s390/include/asm/cio.h | |||
@@ -20,7 +20,7 @@ | |||
20 | /** | 20 | /** |
21 | * struct ccw1 - channel command word | 21 | * struct ccw1 - channel command word |
22 | * @cmd_code: command code | 22 | * @cmd_code: command code |
23 | * @flags: flags, like IDA adressing, etc. | 23 | * @flags: flags, like IDA addressing, etc. |
24 | * @count: byte count | 24 | * @count: byte count |
25 | * @cda: data address | 25 | * @cda: data address |
26 | * | 26 | * |
diff --git a/arch/s390/kernel/sclp.S b/arch/s390/kernel/sclp.S index 27af3bf3a009..2e82fdd89320 100644 --- a/arch/s390/kernel/sclp.S +++ b/arch/s390/kernel/sclp.S | |||
@@ -235,7 +235,7 @@ _sclp_print: | |||
235 | lh %r9,0(%r8) # update sccb length | 235 | lh %r9,0(%r8) # update sccb length |
236 | ar %r9,%r6 | 236 | ar %r9,%r6 |
237 | sth %r9,0(%r8) | 237 | sth %r9,0(%r8) |
238 | ar %r7,%r6 # update current mto adress | 238 | ar %r7,%r6 # update current mto address |
239 | ltr %r0,%r0 # more characters? | 239 | ltr %r0,%r0 # more characters? |
240 | jnz .LinitmtoS4 | 240 | jnz .LinitmtoS4 |
241 | l %r2,.LwritedataS4-.LbaseS4(%r13)# write data | 241 | l %r2,.LwritedataS4-.LbaseS4(%r13)# write data |
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c index 83da5debeedf..e9fa1bfed53e 100644 --- a/arch/sh/kernel/cpu/clock.c +++ b/arch/sh/kernel/cpu/clock.c | |||
@@ -404,7 +404,7 @@ EXPORT_SYMBOL_GPL(clk_round_rate); | |||
404 | * If an entry has a device ID, it must match | 404 | * If an entry has a device ID, it must match |
405 | * If an entry has a connection ID, it must match | 405 | * If an entry has a connection ID, it must match |
406 | * Then we take the most specific entry - with the following | 406 | * Then we take the most specific entry - with the following |
407 | * order of precidence: dev+con > dev only > con only. | 407 | * order of precedence: dev+con > dev only > con only. |
408 | */ | 408 | */ |
409 | static struct clk *clk_find(const char *dev_id, const char *con_id) | 409 | static struct clk *clk_find(const char *dev_id, const char *con_id) |
410 | { | 410 | { |
diff --git a/arch/sparc/include/asm/fbio.h b/arch/sparc/include/asm/fbio.h index b9215a0907d3..0a21da87f7d6 100644 --- a/arch/sparc/include/asm/fbio.h +++ b/arch/sparc/include/asm/fbio.h | |||
@@ -173,7 +173,7 @@ struct mdi_cfginfo { | |||
173 | int mdi_ncluts; /* Number of implemented CLUTs in this MDI */ | 173 | int mdi_ncluts; /* Number of implemented CLUTs in this MDI */ |
174 | int mdi_type; /* FBTYPE name */ | 174 | int mdi_type; /* FBTYPE name */ |
175 | int mdi_height; /* height */ | 175 | int mdi_height; /* height */ |
176 | int mdi_width; /* widht */ | 176 | int mdi_width; /* width */ |
177 | int mdi_size; /* available ram */ | 177 | int mdi_size; /* available ram */ |
178 | int mdi_mode; /* 8bpp, 16bpp or 32bpp */ | 178 | int mdi_mode; /* 8bpp, 16bpp or 32bpp */ |
179 | int mdi_pixfreq; /* pixel clock (from PROM) */ | 179 | int mdi_pixfreq; /* pixel clock (from PROM) */ |
diff --git a/arch/sparc/kernel/perf_event.c b/arch/sparc/kernel/perf_event.c index 9f2b2bac8b2b..b867ab3353b4 100644 --- a/arch/sparc/kernel/perf_event.c +++ b/arch/sparc/kernel/perf_event.c | |||
@@ -1353,7 +1353,7 @@ static void perf_callchain_user_32(struct pt_regs *regs, | |||
1353 | } | 1353 | } |
1354 | 1354 | ||
1355 | /* Like powerpc we can't get PMU interrupts within the PMU handler, | 1355 | /* Like powerpc we can't get PMU interrupts within the PMU handler, |
1356 | * so no need for seperate NMI and IRQ chains as on x86. | 1356 | * so no need for separate NMI and IRQ chains as on x86. |
1357 | */ | 1357 | */ |
1358 | static DEFINE_PER_CPU(struct perf_callchain_entry, callchain); | 1358 | static DEFINE_PER_CPU(struct perf_callchain_entry, callchain); |
1359 | 1359 | ||
diff --git a/arch/x86/crypto/twofish-i586-asm_32.S b/arch/x86/crypto/twofish-i586-asm_32.S index 39b98ed2c1b9..575331cb2a8a 100644 --- a/arch/x86/crypto/twofish-i586-asm_32.S +++ b/arch/x86/crypto/twofish-i586-asm_32.S | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include <asm/asm-offsets.h> | 23 | #include <asm/asm-offsets.h> |
24 | 24 | ||
25 | /* return adress at 0 */ | 25 | /* return address at 0 */ |
26 | 26 | ||
27 | #define in_blk 12 /* input byte array address parameter*/ | 27 | #define in_blk 12 /* input byte array address parameter*/ |
28 | #define out_blk 8 /* output byte array address parameter*/ | 28 | #define out_blk 8 /* output byte array address parameter*/ |
@@ -230,8 +230,8 @@ twofish_enc_blk: | |||
230 | push %edi | 230 | push %edi |
231 | 231 | ||
232 | mov tfm + 16(%esp), %ebp /* abuse the base pointer: set new base bointer to the crypto tfm */ | 232 | mov tfm + 16(%esp), %ebp /* abuse the base pointer: set new base bointer to the crypto tfm */ |
233 | add $crypto_tfm_ctx_offset, %ebp /* ctx adress */ | 233 | add $crypto_tfm_ctx_offset, %ebp /* ctx address */ |
234 | mov in_blk+16(%esp),%edi /* input adress in edi */ | 234 | mov in_blk+16(%esp),%edi /* input address in edi */ |
235 | 235 | ||
236 | mov (%edi), %eax | 236 | mov (%edi), %eax |
237 | mov b_offset(%edi), %ebx | 237 | mov b_offset(%edi), %ebx |
@@ -286,8 +286,8 @@ twofish_dec_blk: | |||
286 | 286 | ||
287 | 287 | ||
288 | mov tfm + 16(%esp), %ebp /* abuse the base pointer: set new base bointer to the crypto tfm */ | 288 | mov tfm + 16(%esp), %ebp /* abuse the base pointer: set new base bointer to the crypto tfm */ |
289 | add $crypto_tfm_ctx_offset, %ebp /* ctx adress */ | 289 | add $crypto_tfm_ctx_offset, %ebp /* ctx address */ |
290 | mov in_blk+16(%esp),%edi /* input adress in edi */ | 290 | mov in_blk+16(%esp),%edi /* input address in edi */ |
291 | 291 | ||
292 | mov (%edi), %eax | 292 | mov (%edi), %eax |
293 | mov b_offset(%edi), %ebx | 293 | mov b_offset(%edi), %ebx |
diff --git a/arch/x86/crypto/twofish-x86_64-asm_64.S b/arch/x86/crypto/twofish-x86_64-asm_64.S index 35974a586615..573aa102542e 100644 --- a/arch/x86/crypto/twofish-x86_64-asm_64.S +++ b/arch/x86/crypto/twofish-x86_64-asm_64.S | |||
@@ -221,11 +221,11 @@ | |||
221 | twofish_enc_blk: | 221 | twofish_enc_blk: |
222 | pushq R1 | 222 | pushq R1 |
223 | 223 | ||
224 | /* %rdi contains the crypto tfm adress */ | 224 | /* %rdi contains the crypto tfm address */ |
225 | /* %rsi contains the output adress */ | 225 | /* %rsi contains the output address */ |
226 | /* %rdx contains the input adress */ | 226 | /* %rdx contains the input address */ |
227 | add $crypto_tfm_ctx_offset, %rdi /* set ctx adress */ | 227 | add $crypto_tfm_ctx_offset, %rdi /* set ctx address */ |
228 | /* ctx adress is moved to free one non-rex register | 228 | /* ctx address is moved to free one non-rex register |
229 | as target for the 8bit high operations */ | 229 | as target for the 8bit high operations */ |
230 | mov %rdi, %r11 | 230 | mov %rdi, %r11 |
231 | 231 | ||
@@ -274,11 +274,11 @@ twofish_enc_blk: | |||
274 | twofish_dec_blk: | 274 | twofish_dec_blk: |
275 | pushq R1 | 275 | pushq R1 |
276 | 276 | ||
277 | /* %rdi contains the crypto tfm adress */ | 277 | /* %rdi contains the crypto tfm address */ |
278 | /* %rsi contains the output adress */ | 278 | /* %rsi contains the output address */ |
279 | /* %rdx contains the input adress */ | 279 | /* %rdx contains the input address */ |
280 | add $crypto_tfm_ctx_offset, %rdi /* set ctx adress */ | 280 | add $crypto_tfm_ctx_offset, %rdi /* set ctx address */ |
281 | /* ctx adress is moved to free one non-rex register | 281 | /* ctx address is moved to free one non-rex register |
282 | as target for the 8bit high operations */ | 282 | as target for the 8bit high operations */ |
283 | mov %rdi, %r11 | 283 | mov %rdi, %r11 |
284 | 284 | ||
diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index e3c3d820c325..09d3b17ce0c2 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c | |||
@@ -223,7 +223,7 @@ struct apic apic_flat = { | |||
223 | }; | 223 | }; |
224 | 224 | ||
225 | /* | 225 | /* |
226 | * Physflat mode is used when there are more than 8 CPUs on a AMD system. | 226 | * Physflat mode is used when there are more than 8 CPUs on a system. |
227 | * We cannot use logical delivery in this case because the mask | 227 | * We cannot use logical delivery in this case because the mask |
228 | * overflows, so use physical mode. | 228 | * overflows, so use physical mode. |
229 | */ | 229 | */ |
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 2d8b5035371c..3d1e6f16b7a6 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S | |||
@@ -27,7 +27,7 @@ | |||
27 | #define GET_CR2_INTO_RCX movq %cr2, %rcx | 27 | #define GET_CR2_INTO_RCX movq %cr2, %rcx |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | /* we are not able to switch in one step to the final KERNEL ADRESS SPACE | 30 | /* we are not able to switch in one step to the final KERNEL ADDRESS SPACE |
31 | * because we need identity-mapped pages. | 31 | * because we need identity-mapped pages. |
32 | * | 32 | * |
33 | */ | 33 | */ |
diff --git a/arch/x86/kernel/pci-calgary_64.c b/arch/x86/kernel/pci-calgary_64.c index 2bbde6078143..fb99f7edb341 100644 --- a/arch/x86/kernel/pci-calgary_64.c +++ b/arch/x86/kernel/pci-calgary_64.c | |||
@@ -1309,7 +1309,7 @@ static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl) | |||
1309 | /* | 1309 | /* |
1310 | * get_tce_space_from_tar(): | 1310 | * get_tce_space_from_tar(): |
1311 | * Function for kdump case. Get the tce tables from first kernel | 1311 | * Function for kdump case. Get the tce tables from first kernel |
1312 | * by reading the contents of the base adress register of calgary iommu | 1312 | * by reading the contents of the base address register of calgary iommu |
1313 | */ | 1313 | */ |
1314 | static void __init get_tce_space_from_tar(void) | 1314 | static void __init get_tce_space_from_tar(void) |
1315 | { | 1315 | { |
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 1aa966c565f9..a4ac764a6880 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c | |||
@@ -38,7 +38,7 @@ int iommu_detected __read_mostly = 0; | |||
38 | * This variable becomes 1 if iommu=pt is passed on the kernel command line. | 38 | * This variable becomes 1 if iommu=pt is passed on the kernel command line. |
39 | * If this variable is 1, IOMMU implementations do no DMA translation for | 39 | * If this variable is 1, IOMMU implementations do no DMA translation for |
40 | * devices and allow every device to access to whole physical memory. This is | 40 | * devices and allow every device to access to whole physical memory. This is |
41 | * useful if a user want to use an IOMMU only for KVM device assignment to | 41 | * useful if a user wants to use an IOMMU only for KVM device assignment to |
42 | * guests and not for driver dma translation. | 42 | * guests and not for driver dma translation. |
43 | */ | 43 | */ |
44 | int iommu_pass_through __read_mostly; | 44 | int iommu_pass_through __read_mostly; |
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 2d96aab82a48..a503b1fd04e5 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -581,7 +581,7 @@ ptrace_modify_breakpoint(struct perf_event *bp, int len, int type, | |||
581 | struct perf_event_attr attr; | 581 | struct perf_event_attr attr; |
582 | 582 | ||
583 | /* | 583 | /* |
584 | * We shoud have at least an inactive breakpoint at this | 584 | * We should have at least an inactive breakpoint at this |
585 | * slot. It means the user is writing dr7 without having | 585 | * slot. It means the user is writing dr7 without having |
586 | * written the address register first | 586 | * written the address register first |
587 | */ | 587 | */ |
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 208a857c679f..9faf91ae1841 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c | |||
@@ -50,7 +50,7 @@ u64 native_sched_clock(void) | |||
50 | * unstable. We do this because unlike Time Of Day, | 50 | * unstable. We do this because unlike Time Of Day, |
51 | * the scheduler clock tolerates small errors and it's | 51 | * the scheduler clock tolerates small errors and it's |
52 | * very important for it to be as fast as the platform | 52 | * very important for it to be as fast as the platform |
53 | * can achive it. ) | 53 | * can achieve it. ) |
54 | */ | 54 | */ |
55 | if (unlikely(tsc_disabled)) { | 55 | if (unlikely(tsc_disabled)) { |
56 | /* No locking but a rare wrong value is not a big deal: */ | 56 | /* No locking but a rare wrong value is not a big deal: */ |
diff --git a/arch/x86/kernel/vmiclock_32.c b/arch/x86/kernel/vmiclock_32.c index 2f1ca5614292..5e1ff66ecd73 100644 --- a/arch/x86/kernel/vmiclock_32.c +++ b/arch/x86/kernel/vmiclock_32.c | |||
@@ -167,7 +167,7 @@ static int vmi_timer_next_event(unsigned long delta, | |||
167 | { | 167 | { |
168 | /* Unfortunately, set_next_event interface only passes relative | 168 | /* Unfortunately, set_next_event interface only passes relative |
169 | * expiry, but we want absolute expiry. It'd be better if were | 169 | * expiry, but we want absolute expiry. It'd be better if were |
170 | * were passed an aboslute expiry, since a bunch of time may | 170 | * were passed an absolute expiry, since a bunch of time may |
171 | * have been stolen between the time the delta is computed and | 171 | * have been stolen between the time the delta is computed and |
172 | * when we set the alarm below. */ | 172 | * when we set the alarm below. */ |
173 | cycle_t now = vmi_timer_ops.get_cycle_counter(vmi_counter(VMI_ONESHOT)); | 173 | cycle_t now = vmi_timer_ops.get_cycle_counter(vmi_counter(VMI_ONESHOT)); |
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 563d20504988..deafb65ef44e 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c | |||
@@ -361,7 +361,7 @@ static void xen_cpu_die(unsigned int cpu) | |||
361 | alternatives_smp_switch(0); | 361 | alternatives_smp_switch(0); |
362 | } | 362 | } |
363 | 363 | ||
364 | static void __cpuinit xen_play_dead(void) /* used only with CPU_HOTPLUG */ | 364 | static void __cpuinit xen_play_dead(void) /* used only with HOTPLUG_CPU */ |
365 | { | 365 | { |
366 | play_dead_common(); | 366 | play_dead_common(); |
367 | HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL); | 367 | HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL); |
diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S index 80d24c485fd3..77fc9f6dc016 100644 --- a/arch/xtensa/kernel/entry.S +++ b/arch/xtensa/kernel/entry.S | |||
@@ -104,7 +104,7 @@ | |||
104 | * excsave has been restored, and | 104 | * excsave has been restored, and |
105 | * stack pointer (a1) has been set. | 105 | * stack pointer (a1) has been set. |
106 | * | 106 | * |
107 | * Note: _user_exception might be at an odd adress. Don't use call0..call12 | 107 | * Note: _user_exception might be at an odd address. Don't use call0..call12 |
108 | */ | 108 | */ |
109 | 109 | ||
110 | ENTRY(user_exception) | 110 | ENTRY(user_exception) |
@@ -244,7 +244,7 @@ _user_exception: | |||
244 | * excsave has been restored, and | 244 | * excsave has been restored, and |
245 | * stack pointer (a1) has been set. | 245 | * stack pointer (a1) has been set. |
246 | * | 246 | * |
247 | * Note: _kernel_exception might be at an odd adress. Don't use call0..call12 | 247 | * Note: _kernel_exception might be at an odd address. Don't use call0..call12 |
248 | */ | 248 | */ |
249 | 249 | ||
250 | ENTRY(kernel_exception) | 250 | ENTRY(kernel_exception) |