Commit e5dd42e4 authored by Simon Arlott's avatar Simon Arlott Committed by David S. Miller

[SPARC64]: Spelling fixes.

Spelling fixes in arch/sparc64/.
Signed-off-by: default avatarSimon Arlott <simon@fire.lp0.eu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d1a78c32
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <asm/timer.h> #include <asm/timer.h>
#include <asm/cpudata.h> #include <asm/cpudata.h>
/* Used to synchronize acceses to NatSemi SUPER I/O chip configure /* Used to synchronize accesses to NatSemi SUPER I/O chip configure
* operations in asm/ns87303.h * operations in asm/ns87303.h
*/ */
DEFINE_SPINLOCK(ns87303_lock); DEFINE_SPINLOCK(ns87303_lock);
......
...@@ -596,7 +596,7 @@ static void __init build_device_resources(struct of_device *op, ...@@ -596,7 +596,7 @@ static void __init build_device_resources(struct of_device *op,
/* Convert to num-entries. */ /* Convert to num-entries. */
num_reg /= na + ns; num_reg /= na + ns;
/* Prevent overruning the op->resources[] array. */ /* Prevent overrunning the op->resources[] array. */
if (num_reg > PROMREG_MAX) { if (num_reg > PROMREG_MAX) {
printk(KERN_WARNING "%s: Too many regs (%d), " printk(KERN_WARNING "%s: Too many regs (%d), "
"limiting to %d.\n", "limiting to %d.\n",
...@@ -904,7 +904,7 @@ static struct of_device * __init scan_one_device(struct device_node *dp, ...@@ -904,7 +904,7 @@ static struct of_device * __init scan_one_device(struct device_node *dp,
op->num_irqs = 0; op->num_irqs = 0;
} }
/* Prevent overruning the op->irqs[] array. */ /* Prevent overrunning the op->irqs[] array. */
if (op->num_irqs > PROMINTR_MAX) { if (op->num_irqs > PROMINTR_MAX) {
printk(KERN_WARNING "%s: Too many irqs (%d), " printk(KERN_WARNING "%s: Too many irqs (%d), "
"limiting to %d.\n", "limiting to %d.\n",
......
...@@ -542,7 +542,7 @@ static inline void fill_sg(iopte_t *iopte, struct scatterlist *sg, ...@@ -542,7 +542,7 @@ static inline void fill_sg(iopte_t *iopte, struct scatterlist *sg,
/* Map a set of buffers described by SGLIST with NELEMS array /* Map a set of buffers described by SGLIST with NELEMS array
* elements in streaming mode for PCI DMA. * elements in streaming mode for PCI DMA.
* When making changes here, inspect the assembly output. I was having * When making changes here, inspect the assembly output. I was having
* hard time to kepp this routine out of using stack slots for holding variables. * hard time to keep this routine out of using stack slots for holding variables.
*/ */
static int pci_4u_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems, int direction) static int pci_4u_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems, int direction)
{ {
......
...@@ -731,7 +731,7 @@ struct pci_sun4v_msiq_entry { ...@@ -731,7 +731,7 @@ struct pci_sun4v_msiq_entry {
u64 msi_address; u64 msi_address;
/* The format of this value is message type dependant. /* The format of this value is message type dependent.
* For MSI bits 15:0 are the data from the MSI packet. * For MSI bits 15:0 are the data from the MSI packet.
* For MSI-X bits 31:0 are the data from the MSI packet. * For MSI-X bits 31:0 are the data from the MSI packet.
* For MSG, the message code and message routing code where: * For MSG, the message code and message routing code where:
......
...@@ -677,7 +677,7 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp, ...@@ -677,7 +677,7 @@ int copy_thread(int nr, unsigned long clone_flags, unsigned long sp,
* NOTE! Only a kernel-only process(ie the swapper or direct descendants * NOTE! Only a kernel-only process(ie the swapper or direct descendants
* who haven't done an "execve()") should use this: it will work within * who haven't done an "execve()") should use this: it will work within
* a system call from a "real" process, but the process memory space will * a system call from a "real" process, but the process memory space will
* not be free'd until both the parent and the child have exited. * not be freed until both the parent and the child have exited.
*/ */
pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) pid_t kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
{ {
......
...@@ -899,7 +899,7 @@ static unsigned int fire_irq_build(struct device_node *dp, ...@@ -899,7 +899,7 @@ static unsigned int fire_irq_build(struct device_node *dp,
/* The interrupt map registers do not have an INO field /* The interrupt map registers do not have an INO field
* like other chips do. They return zero in the INO * like other chips do. They return zero in the INO
* field, and the interrupt controller number is controlled * field, and the interrupt controller number is controlled
* in bits 6 thru 9. So in order for build_irq() to get * in bits 6 to 9. So in order for build_irq() to get
* the INO right we pass it in as part of the fixup * the INO right we pass it in as part of the fixup
* which will get added to the map register zero value * which will get added to the map register zero value
* read by build_irq(). * read by build_irq().
......
...@@ -1008,7 +1008,7 @@ static unsigned long __init bootmem_init(unsigned long *pages_avail, ...@@ -1008,7 +1008,7 @@ static unsigned long __init bootmem_init(unsigned long *pages_avail,
if (initrd_start) { if (initrd_start) {
size = initrd_end - initrd_start; size = initrd_end - initrd_start;
/* Resert the initrd image area. */ /* Reserve the initrd image area. */
#ifdef CONFIG_DEBUG_BOOTMEM #ifdef CONFIG_DEBUG_BOOTMEM
prom_printf("reserve_bootmem(initrd): base[%llx] size[%lx]\n", prom_printf("reserve_bootmem(initrd): base[%llx] size[%lx]\n",
initrd_start, initrd_end); initrd_start, initrd_end);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment