diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/sh/boards/landisk/gio.c | 2 | ||||
| -rw-r--r-- | arch/sh/boards/snapgear/rtc.c | 2 | ||||
| -rw-r--r-- | arch/sh/boards/superh/microdev/io.c | 6 | ||||
| -rw-r--r-- | arch/sh/boards/superh/microdev/irq.c | 6 | ||||
| -rw-r--r-- | arch/sh/boards/superh/microdev/setup.c | 2 | ||||
| -rw-r--r-- | arch/sh/boards/unknown/setup.c | 2 | ||||
| -rw-r--r-- | arch/sh/drivers/dma/dma-api.c | 2 | ||||
| -rw-r--r-- | arch/sh/drivers/dma/dma-isa.c | 2 | ||||
| -rw-r--r-- | arch/sh/drivers/dma/dmabrg.c | 2 | ||||
| -rw-r--r-- | arch/sh/drivers/pci/ops-dreamcast.c | 2 | ||||
| -rw-r--r-- | arch/sh/drivers/pci/pci-st40.c | 6 | ||||
| -rw-r--r-- | arch/sh/drivers/pci/pci-st40.h | 2 | ||||
| -rw-r--r-- | arch/sh/drivers/superhyway/ops-sh4-202.c | 2 | ||||
| -rw-r--r-- | arch/sh/kernel/cf-enabler.c | 2 | ||||
| -rw-r--r-- | arch/sh/kernel/cpu/irq/maskreg.c | 2 | ||||
| -rw-r--r-- | arch/sh/kernel/cpu/sh4/fpu.c | 2 | ||||
| -rw-r--r-- | arch/sh/kernel/kgdb_stub.c | 4 | ||||
| -rw-r--r-- | arch/sh/kernel/traps.c | 2 | ||||
| -rw-r--r-- | arch/sh/math-emu/math.c | 2 | ||||
| -rw-r--r-- | arch/sh/mm/init.c | 2 |
20 files changed, 27 insertions, 27 deletions
diff --git a/arch/sh/boards/landisk/gio.c b/arch/sh/boards/landisk/gio.c index 50d38be62f01..a37643d002b2 100644 --- a/arch/sh/boards/landisk/gio.c +++ b/arch/sh/boards/landisk/gio.c | |||
| @@ -69,7 +69,7 @@ static int gio_ioctl(struct inode *inode, struct file *filp, | |||
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | switch (cmd) { | 71 | switch (cmd) { |
| 72 | case GIODRV_IOCSGIOSETADDR: /* addres set */ | 72 | case GIODRV_IOCSGIOSETADDR: /* address set */ |
| 73 | addr = data; | 73 | addr = data; |
| 74 | break; | 74 | break; |
| 75 | 75 | ||
diff --git a/arch/sh/boards/snapgear/rtc.c b/arch/sh/boards/snapgear/rtc.c index 1659fdd6695a..edb3dd936cbb 100644 --- a/arch/sh/boards/snapgear/rtc.c +++ b/arch/sh/boards/snapgear/rtc.c | |||
| @@ -108,7 +108,7 @@ static void ds1302_writebyte(unsigned int addr, unsigned int val) | |||
| 108 | static void ds1302_reset(void) | 108 | static void ds1302_reset(void) |
| 109 | { | 109 | { |
| 110 | unsigned long flags; | 110 | unsigned long flags; |
| 111 | /* Hardware dependant reset/init */ | 111 | /* Hardware dependent reset/init */ |
| 112 | local_irq_save(flags); | 112 | local_irq_save(flags); |
| 113 | set_dirp(get_dirp() | RTC_RESET | RTC_IODATA | RTC_SCLK); | 113 | set_dirp(get_dirp() | RTC_RESET | RTC_IODATA | RTC_SCLK); |
| 114 | set_dp(get_dp() & ~(RTC_RESET | RTC_IODATA | RTC_SCLK)); | 114 | set_dp(get_dp() & ~(RTC_RESET | RTC_IODATA | RTC_SCLK)); |
diff --git a/arch/sh/boards/superh/microdev/io.c b/arch/sh/boards/superh/microdev/io.c index 83419bf4c834..b704e20d7e4d 100644 --- a/arch/sh/boards/superh/microdev/io.c +++ b/arch/sh/boards/superh/microdev/io.c | |||
| @@ -198,12 +198,12 @@ void microdev_outb(unsigned char b, unsigned long port) | |||
| 198 | /* | 198 | /* |
| 199 | * There is a board feature with the current SH4-202 MicroDev in | 199 | * There is a board feature with the current SH4-202 MicroDev in |
| 200 | * that the 2 byte enables (nBE0 and nBE1) are tied together (and | 200 | * that the 2 byte enables (nBE0 and nBE1) are tied together (and |
| 201 | * to the Chip Select Line (Ethernet_CS)). Due to this conectivity, | 201 | * to the Chip Select Line (Ethernet_CS)). Due to this connectivity, |
| 202 | * it is not possible to safely perform 8-bit writes to the | 202 | * it is not possible to safely perform 8-bit writes to the |
| 203 | * Ethernet registers, as 16-bits will be consumed from the Data | 203 | * Ethernet registers, as 16-bits will be consumed from the Data |
| 204 | * lines (corrupting the other byte). Hence, this function is | 204 | * lines (corrupting the other byte). Hence, this function is |
| 205 | * written to impliment 16-bit read/modify/write for all byte-wide | 205 | * written to implement 16-bit read/modify/write for all byte-wide |
| 206 | * acceses. | 206 | * accesses. |
| 207 | * | 207 | * |
| 208 | * Note: there is no problem with byte READS (even or odd). | 208 | * Note: there is no problem with byte READS (even or odd). |
| 209 | * | 209 | * |
diff --git a/arch/sh/boards/superh/microdev/irq.c b/arch/sh/boards/superh/microdev/irq.c index 8c64baa30364..cc1cb04fa618 100644 --- a/arch/sh/boards/superh/microdev/irq.c +++ b/arch/sh/boards/superh/microdev/irq.c | |||
| @@ -100,7 +100,7 @@ static void disable_microdev_irq(unsigned int irq) | |||
| 100 | 100 | ||
| 101 | fpgaIrq = fpgaIrqTable[irq].fpgaIrq; | 101 | fpgaIrq = fpgaIrqTable[irq].fpgaIrq; |
| 102 | 102 | ||
| 103 | /* disable interupts on the FPGA INTC register */ | 103 | /* disable interrupts on the FPGA INTC register */ |
| 104 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTDSB_REG); | 104 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTDSB_REG); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| @@ -125,7 +125,7 @@ static void enable_microdev_irq(unsigned int irq) | |||
| 125 | priorities |= MICRODEV_FPGA_INTPRI_LEVEL(fpgaIrq, pri); | 125 | priorities |= MICRODEV_FPGA_INTPRI_LEVEL(fpgaIrq, pri); |
| 126 | ctrl_outl(priorities, priorityReg); | 126 | ctrl_outl(priorities, priorityReg); |
| 127 | 127 | ||
| 128 | /* enable interupts on the FPGA INTC register */ | 128 | /* enable interrupts on the FPGA INTC register */ |
| 129 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTENB_REG); | 129 | ctrl_outl(MICRODEV_FPGA_INTC_MASK(fpgaIrq), MICRODEV_FPGA_INTENB_REG); |
| 130 | } | 130 | } |
| 131 | 131 | ||
| @@ -152,7 +152,7 @@ extern void __init init_microdev_irq(void) | |||
| 152 | { | 152 | { |
| 153 | int i; | 153 | int i; |
| 154 | 154 | ||
| 155 | /* disable interupts on the FPGA INTC register */ | 155 | /* disable interrupts on the FPGA INTC register */ |
| 156 | ctrl_outl(~0ul, MICRODEV_FPGA_INTDSB_REG); | 156 | ctrl_outl(~0ul, MICRODEV_FPGA_INTDSB_REG); |
| 157 | 157 | ||
| 158 | for (i = 0; i < NUM_EXTERNAL_IRQS; i++) | 158 | for (i = 0; i < NUM_EXTERNAL_IRQS; i++) |
diff --git a/arch/sh/boards/superh/microdev/setup.c b/arch/sh/boards/superh/microdev/setup.c index 031c814e6e76..6396cea1c896 100644 --- a/arch/sh/boards/superh/microdev/setup.c +++ b/arch/sh/boards/superh/microdev/setup.c | |||
| @@ -349,7 +349,7 @@ static int __init smsc_superio_setup(void) | |||
| 349 | SMSC_WRITE_INDEXED(0x00, 0xc7); /* GP47 = nIOWOP */ | 349 | SMSC_WRITE_INDEXED(0x00, 0xc7); /* GP47 = nIOWOP */ |
| 350 | SMSC_WRITE_INDEXED(0x08, 0xe8); /* GP20 = nIDE2_OE */ | 350 | SMSC_WRITE_INDEXED(0x08, 0xe8); /* GP20 = nIDE2_OE */ |
| 351 | 351 | ||
| 352 | /* Exit the configuraton state */ | 352 | /* Exit the configuration state */ |
| 353 | outb(SMSC_EXIT_CONFIG_KEY, SMSC_CONFIG_PORT_ADDR); | 353 | outb(SMSC_EXIT_CONFIG_KEY, SMSC_CONFIG_PORT_ADDR); |
| 354 | 354 | ||
| 355 | return 0; | 355 | return 0; |
diff --git a/arch/sh/boards/unknown/setup.c b/arch/sh/boards/unknown/setup.c index 1c941370a2e3..bee4612de59b 100644 --- a/arch/sh/boards/unknown/setup.c +++ b/arch/sh/boards/unknown/setup.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * May be copied or modified under the terms of the GNU General Public | 6 | * May be copied or modified under the terms of the GNU General Public |
| 7 | * License. See linux/COPYING for more information. | 7 | * License. See linux/COPYING for more information. |
| 8 | * | 8 | * |
| 9 | * Setup code for an unknown machine (internal peripherials only) | 9 | * Setup code for an unknown machine (internal peripherals only) |
| 10 | * | 10 | * |
| 11 | * This is the simplest of all boards, and serves only as a quick and dirty | 11 | * This is the simplest of all boards, and serves only as a quick and dirty |
| 12 | * method to start debugging a new board during bring-up until proper board | 12 | * method to start debugging a new board during bring-up until proper board |
diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.c index e062067edd24..8057a27a1bc6 100644 --- a/arch/sh/drivers/dma/dma-api.c +++ b/arch/sh/drivers/dma/dma-api.c | |||
| @@ -115,7 +115,7 @@ static int search_cap(const char **haystack, const char *needle) | |||
| 115 | /** | 115 | /** |
| 116 | * request_dma_bycap - Allocate a DMA channel based on its capabilities | 116 | * request_dma_bycap - Allocate a DMA channel based on its capabilities |
| 117 | * @dmac: List of DMA controllers to search | 117 | * @dmac: List of DMA controllers to search |
| 118 | * @caps: List of capabilites | 118 | * @caps: List of capabilities |
| 119 | * | 119 | * |
| 120 | * Search all channels of all DMA controllers to find a channel which | 120 | * Search all channels of all DMA controllers to find a channel which |
| 121 | * matches the requested capabilities. The result is the channel | 121 | * matches the requested capabilities. The result is the channel |
diff --git a/arch/sh/drivers/dma/dma-isa.c b/arch/sh/drivers/dma/dma-isa.c index 05a74ffdb68d..5fb044b791c3 100644 --- a/arch/sh/drivers/dma/dma-isa.c +++ b/arch/sh/drivers/dma/dma-isa.c | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | * NOTE: ops->xfer() is the preferred way of doing things. However, there | 28 | * NOTE: ops->xfer() is the preferred way of doing things. However, there |
| 29 | * are some users of the ISA DMA API that exist in common code that we | 29 | * are some users of the ISA DMA API that exist in common code that we |
| 30 | * don't necessarily want to go out of our way to break, so we still | 30 | * don't necessarily want to go out of our way to break, so we still |
| 31 | * allow for some compatability at that level. Any new code is strongly | 31 | * allow for some compatibility at that level. Any new code is strongly |
| 32 | * advised to run far away from the ISA DMA API and use the SH DMA API | 32 | * advised to run far away from the ISA DMA API and use the SH DMA API |
| 33 | * directly. | 33 | * directly. |
| 34 | */ | 34 | */ |
diff --git a/arch/sh/drivers/dma/dmabrg.c b/arch/sh/drivers/dma/dmabrg.c index 9d0a29370f21..5e22689c2fcf 100644 --- a/arch/sh/drivers/dma/dmabrg.c +++ b/arch/sh/drivers/dma/dmabrg.c | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | * 9 | HAC1/SSI1 | rec | half done | DMABRGI2 | 33 | * 9 | HAC1/SSI1 | rec | half done | DMABRGI2 |
| 34 | * | 34 | * |
| 35 | * all can be enabled/disabled in the DMABRGCR register, | 35 | * all can be enabled/disabled in the DMABRGCR register, |
| 36 | * as well as checked if they occured. | 36 | * as well as checked if they occurred. |
| 37 | * | 37 | * |
| 38 | * DMABRGI0 services USB DMA Address errors, but it still must be | 38 | * DMABRGI0 services USB DMA Address errors, but it still must be |
| 39 | * enabled/acked in the DMABRGCR register. USB-DMA complete indicator | 39 | * enabled/acked in the DMABRGCR register. USB-DMA complete indicator |
diff --git a/arch/sh/drivers/pci/ops-dreamcast.c b/arch/sh/drivers/pci/ops-dreamcast.c index 381306cf5425..e1284fc69361 100644 --- a/arch/sh/drivers/pci/ops-dreamcast.c +++ b/arch/sh/drivers/pci/ops-dreamcast.c | |||
| @@ -57,7 +57,7 @@ struct pci_channel board_pci_channels[] = { | |||
| 57 | * | 57 | * |
| 58 | * Also, we could very easily support both Type 0 and Type 1 configurations | 58 | * Also, we could very easily support both Type 0 and Type 1 configurations |
| 59 | * here, but since it doesn't seem that there is any such implementation in | 59 | * here, but since it doesn't seem that there is any such implementation in |
| 60 | * existance, we don't bother. | 60 | * existence, we don't bother. |
| 61 | * | 61 | * |
| 62 | * I suppose if someone actually gets around to ripping the chip out of | 62 | * I suppose if someone actually gets around to ripping the chip out of |
| 63 | * the BBA and hanging some more devices off of it, then this might be | 63 | * the BBA and hanging some more devices off of it, then this might be |
diff --git a/arch/sh/drivers/pci/pci-st40.c b/arch/sh/drivers/pci/pci-st40.c index d67656a44b15..543417ff8314 100644 --- a/arch/sh/drivers/pci/pci-st40.c +++ b/arch/sh/drivers/pci/pci-st40.c | |||
| @@ -292,7 +292,7 @@ int __init st40pci_init(unsigned memStart, unsigned memSize) | |||
| 292 | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | | 292 | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER | |
| 293 | PCI_COMMAND_IO); | 293 | PCI_COMMAND_IO); |
| 294 | 294 | ||
| 295 | /* Accesse to the 0xb0000000 -> 0xb6000000 area will go through to 0x10000000 -> 0x16000000 | 295 | /* Access to the 0xb0000000 -> 0xb6000000 area will go through to 0x10000000 -> 0x16000000 |
| 296 | * on the PCI bus. This allows a nice 1-1 bus to phys mapping. | 296 | * on the PCI bus. This allows a nice 1-1 bus to phys mapping. |
| 297 | */ | 297 | */ |
| 298 | 298 | ||
| @@ -315,7 +315,7 @@ int __init st40pci_init(unsigned memStart, unsigned memSize) | |||
| 315 | ST40PCI_WRITE(CSR_MBAR0, 0); | 315 | ST40PCI_WRITE(CSR_MBAR0, 0); |
| 316 | ST40PCI_WRITE(LSR0, 0x0fff0001); | 316 | ST40PCI_WRITE(LSR0, 0x0fff0001); |
| 317 | 317 | ||
| 318 | /* ... and set up the initial incomming window to expose all of RAM */ | 318 | /* ... and set up the initial incoming window to expose all of RAM */ |
| 319 | pci_set_rbar_region(7, memStart, memStart, memSize); | 319 | pci_set_rbar_region(7, memStart, memStart, memSize); |
| 320 | 320 | ||
| 321 | /* Maximise timeout values */ | 321 | /* Maximise timeout values */ |
| @@ -473,7 +473,7 @@ static void pci_set_rbar_region(unsigned int region, unsigned long localAddr | |||
| 473 | 473 | ||
| 474 | mask = r2p2(regionSize) - 0x10000; | 474 | mask = r2p2(regionSize) - 0x10000; |
| 475 | 475 | ||
| 476 | /* Diable the region (in case currently in use, should never happen) */ | 476 | /* Disable the region (in case currently in use, should never happen) */ |
| 477 | ST40PCI_WRITE_INDEXED(RSR, region, 0); | 477 | ST40PCI_WRITE_INDEXED(RSR, region, 0); |
| 478 | 478 | ||
| 479 | /* Start of local address space to publish */ | 479 | /* Start of local address space to publish */ |
diff --git a/arch/sh/drivers/pci/pci-st40.h b/arch/sh/drivers/pci/pci-st40.h index d729e0c2d5fe..cf0d35bd135c 100644 --- a/arch/sh/drivers/pci/pci-st40.h +++ b/arch/sh/drivers/pci/pci-st40.h | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | * May be copied or modified under the terms of the GNU General Public | 4 | * May be copied or modified under the terms of the GNU General Public |
| 5 | * License. See linux/COPYING for more information. | 5 | * License. See linux/COPYING for more information. |
| 6 | * | 6 | * |
| 7 | * Defintions for the ST40 PCI hardware. | 7 | * Definitions for the ST40 PCI hardware. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #ifndef __PCI_ST40_H__ | 10 | #ifndef __PCI_ST40_H__ |
diff --git a/arch/sh/drivers/superhyway/ops-sh4-202.c b/arch/sh/drivers/superhyway/ops-sh4-202.c index a55c98a9052b..3b14bf860db6 100644 --- a/arch/sh/drivers/superhyway/ops-sh4-202.c +++ b/arch/sh/drivers/superhyway/ops-sh4-202.c | |||
| @@ -130,7 +130,7 @@ static int sh4202_read_vcr(unsigned long base, struct superhyway_vcr_info *vcr) | |||
| 130 | * Some modules (PBR and ePBR for instance) also appear to have | 130 | * Some modules (PBR and ePBR for instance) also appear to have |
| 131 | * VCRL/VCRH flipped in the documentation, but on the SH4-202 | 131 | * VCRL/VCRH flipped in the documentation, but on the SH4-202 |
| 132 | * itself it appears that these are all consistently mapped with | 132 | * itself it appears that these are all consistently mapped with |
| 133 | * VCRH preceeding VCRL. | 133 | * VCRH preceding VCRL. |
| 134 | * | 134 | * |
| 135 | * Do not trust the documentation, for it is evil. | 135 | * Do not trust the documentation, for it is evil. |
| 136 | */ | 136 | */ |
diff --git a/arch/sh/kernel/cf-enabler.c b/arch/sh/kernel/cf-enabler.c index 0758d48147a0..849a9e191391 100644 --- a/arch/sh/kernel/cf-enabler.c +++ b/arch/sh/kernel/cf-enabler.c | |||
| @@ -31,7 +31,7 @@ | |||
| 31 | */ | 31 | */ |
| 32 | #if defined(CONFIG_CPU_SH4) | 32 | #if defined(CONFIG_CPU_SH4) |
| 33 | /* SH4 can't access PCMCIA interface through P2 area. | 33 | /* SH4 can't access PCMCIA interface through P2 area. |
| 34 | * we must remap it with appropreate attribute bit of the page set. | 34 | * we must remap it with appropriate attribute bit of the page set. |
| 35 | * this part is based on Greg Banks' hd64465_ss.c implementation - Masahiro Abe */ | 35 | * this part is based on Greg Banks' hd64465_ss.c implementation - Masahiro Abe */ |
| 36 | 36 | ||
| 37 | #if defined(CONFIG_CF_AREA6) | 37 | #if defined(CONFIG_CF_AREA6) |
diff --git a/arch/sh/kernel/cpu/irq/maskreg.c b/arch/sh/kernel/cpu/irq/maskreg.c index 492db31b3cab..978992e367a5 100644 --- a/arch/sh/kernel/cpu/irq/maskreg.c +++ b/arch/sh/kernel/cpu/irq/maskreg.c | |||
| @@ -38,7 +38,7 @@ static struct hw_interrupt_type maskreg_irq_type = { | |||
| 38 | .end = end_maskreg_irq | 38 | .end = end_maskreg_irq |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | /* actual implementatin */ | 41 | /* actual implementation */ |
| 42 | static unsigned int startup_maskreg_irq(unsigned int irq) | 42 | static unsigned int startup_maskreg_irq(unsigned int irq) |
| 43 | { | 43 | { |
| 44 | enable_maskreg_irq(irq); | 44 | enable_maskreg_irq(irq); |
diff --git a/arch/sh/kernel/cpu/sh4/fpu.c b/arch/sh/kernel/cpu/sh4/fpu.c index d61dd599169f..c5a4fc77fa06 100644 --- a/arch/sh/kernel/cpu/sh4/fpu.c +++ b/arch/sh/kernel/cpu/sh4/fpu.c | |||
| @@ -138,7 +138,7 @@ restore_fpu(struct task_struct *tsk) | |||
| 138 | /* | 138 | /* |
| 139 | * Load the FPU with signalling NANS. This bit pattern we're using | 139 | * Load the FPU with signalling NANS. This bit pattern we're using |
| 140 | * has the property that no matter wether considered as single or as | 140 | * has the property that no matter wether considered as single or as |
| 141 | * double precission represents signaling NANS. | 141 | * double precision represents signaling NANS. |
| 142 | */ | 142 | */ |
| 143 | 143 | ||
| 144 | static void | 144 | static void |
diff --git a/arch/sh/kernel/kgdb_stub.c b/arch/sh/kernel/kgdb_stub.c index a5323364cbca..edd1ec214e6d 100644 --- a/arch/sh/kernel/kgdb_stub.c +++ b/arch/sh/kernel/kgdb_stub.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | * May be copied or modified under the terms of the GNU General Public | 2 | * May be copied or modified under the terms of the GNU General Public |
| 3 | * License. See linux/COPYING for more information. | 3 | * License. See linux/COPYING for more information. |
| 4 | * | 4 | * |
| 5 | * Containes extracts from code by Glenn Engel, Jim Kingdon, | 5 | * Contains extracts from code by Glenn Engel, Jim Kingdon, |
| 6 | * David Grothe <dave@gcom.com>, Tigran Aivazian <tigran@sco.com>, | 6 | * David Grothe <dave@gcom.com>, Tigran Aivazian <tigran@sco.com>, |
| 7 | * Amit S. Kale <akale@veritas.com>, William Gatliff <bgat@open-widgets.com>, | 7 | * Amit S. Kale <akale@veritas.com>, William Gatliff <bgat@open-widgets.com>, |
| 8 | * Ben Lee, Steve Chamberlain and Benoit Miller <fulg@iname.com>. | 8 | * Ben Lee, Steve Chamberlain and Benoit Miller <fulg@iname.com>. |
| @@ -85,7 +85,7 @@ | |||
| 85 | * | 85 | * |
| 86 | * Responses can be run-length encoded to save space. A '*' means that | 86 | * Responses can be run-length encoded to save space. A '*' means that |
| 87 | * the next character is an ASCII encoding giving a repeat count which | 87 | * the next character is an ASCII encoding giving a repeat count which |
| 88 | * stands for that many repititions of the character preceding the '*'. | 88 | * stands for that many repetitions of the character preceding the '*'. |
| 89 | * The encoding is n+29, yielding a printable character where n >=3 | 89 | * The encoding is n+29, yielding a printable character where n >=3 |
| 90 | * (which is where RLE starts to win). Don't use an n > 126. | 90 | * (which is where RLE starts to win). Don't use an n > 126. |
| 91 | * | 91 | * |
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c index 3a197649cd83..a01e36705c5f 100644 --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c | |||
| @@ -513,7 +513,7 @@ static int handle_unaligned_access(u16 instruction, struct pt_regs *regs) | |||
| 513 | * misaligned data access | 513 | * misaligned data access |
| 514 | * access to >= 0x80000000 is user mode | 514 | * access to >= 0x80000000 is user mode |
| 515 | * Unfortuntaly we can't distinguish between instruction address error | 515 | * Unfortuntaly we can't distinguish between instruction address error |
| 516 | * and data address errors caused by read acceses. | 516 | * and data address errors caused by read accesses. |
| 517 | */ | 517 | */ |
| 518 | asmlinkage void do_address_error(struct pt_regs *regs, | 518 | asmlinkage void do_address_error(struct pt_regs *regs, |
| 519 | unsigned long writeaccess, | 519 | unsigned long writeaccess, |
diff --git a/arch/sh/math-emu/math.c b/arch/sh/math-emu/math.c index 1efbac15ff4e..a38e1eed9e77 100644 --- a/arch/sh/math-emu/math.c +++ b/arch/sh/math-emu/math.c | |||
| @@ -148,7 +148,7 @@ fmac(struct sh_fpu_soft_struct *fregs, struct pt_regs *regs, int m, int n) | |||
| 148 | return 0; | 148 | return 0; |
| 149 | } | 149 | } |
| 150 | 150 | ||
| 151 | // to process fmov's extention (odd n for DR access XD). | 151 | // to process fmov's extension (odd n for DR access XD). |
| 152 | #define FMOV_EXT(x) if(x&1) x+=16-1 | 152 | #define FMOV_EXT(x) if(x&1) x+=16-1 |
| 153 | 153 | ||
| 154 | static int | 154 | static int |
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index 8fe223a890ed..2bb0d865b8f9 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c | |||
| @@ -112,7 +112,7 @@ static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot) | |||
| 112 | * As a performance optimization, other platforms preserve the fixmap mapping | 112 | * As a performance optimization, other platforms preserve the fixmap mapping |
| 113 | * across a context switch, we don't presently do this, but this could be done | 113 | * across a context switch, we don't presently do this, but this could be done |
| 114 | * in a similar fashion as to the wired TLB interface that sh64 uses (by way | 114 | * in a similar fashion as to the wired TLB interface that sh64 uses (by way |
| 115 | * of the memorry mapped UTLB configuration) -- this unfortunately forces us to | 115 | * of the memory mapped UTLB configuration) -- this unfortunately forces us to |
| 116 | * give up a TLB entry for each mapping we want to preserve. While this may be | 116 | * give up a TLB entry for each mapping we want to preserve. While this may be |
| 117 | * viable for a small number of fixmaps, it's not particularly useful for | 117 | * viable for a small number of fixmaps, it's not particularly useful for |
| 118 | * everything and needs to be carefully evaluated. (ie, we may want this for | 118 | * everything and needs to be carefully evaluated. (ie, we may want this for |
