mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
MIPS: fix typos in comments
Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
7671f9674b
commit
94bd83e45a
@ -574,7 +574,7 @@ u32 au1xxx_dbdma_ring_alloc(u32 chanid, int entries)
|
||||
dp++;
|
||||
}
|
||||
|
||||
/* Make last descrptor point to the first. */
|
||||
/* Make last descriptor point to the first. */
|
||||
dp--;
|
||||
dp->dscr_nxtptr = DSCR_NXTPTR(virt_to_phys(ctp->chan_desc_base));
|
||||
ctp->get_ptr = ctp->put_ptr = ctp->cur_ptr = ctp->chan_desc_base;
|
||||
|
@ -318,7 +318,7 @@ int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min,
|
||||
}
|
||||
|
||||
/*
|
||||
* Determine if this is an entry that can satisify the
|
||||
* Determine if this is an entry that can satisfy the
|
||||
* request Check to make sure entry is large enough to
|
||||
* satisfy request.
|
||||
*/
|
||||
|
@ -377,7 +377,7 @@ cvmx_pko_status_t cvmx_pko_config_port(uint64_t port, uint64_t base_queue,
|
||||
/*
|
||||
* Check to make sure all static priority
|
||||
* queues are contiguous. Also catches some
|
||||
* cases of static priorites not starting at
|
||||
* cases of static priorities not starting at
|
||||
* queue 0.
|
||||
*/
|
||||
if (static_priority_end != -1
|
||||
|
@ -1405,7 +1405,7 @@ static void octeon_irq_init_ciu2_percpu(void)
|
||||
* completed.
|
||||
*
|
||||
* There are 9 registers and 3 IPX levels with strides 0x1000
|
||||
* and 0x200 respectivly. Use loops to clear them.
|
||||
* and 0x200 respectively. Use loops to clear them.
|
||||
*/
|
||||
for (regx = 0; regx <= 0x8000; regx += 0x1000) {
|
||||
for (ipx = 0; ipx <= 0x400; ipx += 0x200)
|
||||
|
@ -419,7 +419,7 @@ static int dwc3_octeon_clocks_start(struct device *dev, u64 base)
|
||||
/* Step 5c: Enable SuperSpeed. */
|
||||
uctl_ctl.s.ref_ssp_en = 1;
|
||||
|
||||
/* Step 5d: Cofngiure PHYs. SKIP */
|
||||
/* Step 5d: Configure PHYs. SKIP */
|
||||
|
||||
/* Step 6a & 6b: Power up PHYs. */
|
||||
uctl_ctl.s.hs_power_en = 1;
|
||||
|
@ -68,13 +68,13 @@ static struct irq_chip ioasic_dma_irq_type = {
|
||||
* I/O ASIC implements two kinds of DMA interrupts, informational and
|
||||
* error interrupts.
|
||||
*
|
||||
* The formers do not stop DMA and should be cleared as soon as possible
|
||||
* The former do not stop DMA and should be cleared as soon as possible
|
||||
* so that if they retrigger before the handler has completed, usually as
|
||||
* a side effect of actions taken by the handler, then they are reissued.
|
||||
* These use the `handle_edge_irq' handler that clears the request right
|
||||
* away.
|
||||
*
|
||||
* The latters stop DMA and do not resume it until the interrupt has been
|
||||
* The latter stop DMA and do not resume it until the interrupt has been
|
||||
* cleared. This cannot be done until after a corrective action has been
|
||||
* taken and this also means they will not retrigger. Therefore they use
|
||||
* the `handle_fasteoi_irq' handler that only clears the request on the
|
||||
|
@ -71,7 +71,7 @@ volatile u32 *ioasic_base;
|
||||
EXPORT_SYMBOL(ioasic_base);
|
||||
|
||||
/*
|
||||
* IRQ routing and priority tables. Priorites are set as follows:
|
||||
* IRQ routing and priority tables. Priorities are set as follows:
|
||||
*
|
||||
* KN01 KN230 KN02 KN02-BA KN02-CA KN03
|
||||
*
|
||||
|
@ -32,7 +32,7 @@ static phys_addr_t prom_mem_size[MAX_PROM_MEM] __initdata;
|
||||
static unsigned int nr_prom_mem __initdata;
|
||||
|
||||
/*
|
||||
* For ARC firmware memory functions the unit of meassuring memory is always
|
||||
* For ARC firmware memory functions the unit of measuring memory is always
|
||||
* a 4k page of memory
|
||||
*/
|
||||
#define ARC_PAGE_SHIFT 12
|
||||
|
@ -141,7 +141,7 @@ void __init plat_time_init(void)
|
||||
/*
|
||||
* Set clock to 100Hz.
|
||||
*
|
||||
* The R4030 timer receives an input clock of 1kHz which is divieded by
|
||||
* The R4030 timer receives an input clock of 1kHz which is divided by
|
||||
* a programmable 4-bit divider. This makes it fairly inflexible.
|
||||
*/
|
||||
r4030_write_reg32(JAZZ_TIMER_INTERVAL, 9);
|
||||
|
@ -22,7 +22,7 @@ unsigned long __xchg_small(volatile void *ptr, unsigned long val, unsigned int s
|
||||
|
||||
/*
|
||||
* Calculate a shift & mask that correspond to the value we wish to
|
||||
* exchange within the naturally aligned 4 byte integerthat includes
|
||||
* exchange within the naturally aligned 4 byte integer that includes
|
||||
* it.
|
||||
*/
|
||||
shift = (unsigned long)ptr & 0x3;
|
||||
|
@ -156,7 +156,7 @@ static inline void check_errata(void)
|
||||
/*
|
||||
* Erratum "RPS May Cause Incorrect Instruction Execution"
|
||||
* This code only handles VPE0, any SMP/RTOS code
|
||||
* making use of VPE1 will be responsable for that VPE.
|
||||
* making use of VPE1 will be responsible for that VPE.
|
||||
*/
|
||||
if ((c->processor_id & PRID_REV_MASK) <= PRID_REV_34K_V1_0_2)
|
||||
write_c0_config7(read_c0_config7() | MIPS_CONF7_RPS);
|
||||
|
@ -228,7 +228,7 @@ void __init check_wait(void)
|
||||
break;
|
||||
|
||||
/*
|
||||
* Another rev is incremeting c0_count at a reduced clock
|
||||
* Another rev is incrementing c0_count at a reduced clock
|
||||
* rate while in WAIT mode. So we basically have the choice
|
||||
* between using the cp0 timer as clocksource or avoiding
|
||||
* the WAIT instruction. Until more details are known,
|
||||
|
@ -329,7 +329,7 @@ static int mipsxx_pmu_alloc_counter(struct cpu_hw_events *cpuc,
|
||||
for (i = mipspmu.num_counters - 1; i >= 0; i--) {
|
||||
/*
|
||||
* Note that some MIPS perf events can be counted by both
|
||||
* even and odd counters, wheresas many other are only by
|
||||
* even and odd counters, whereas many other are only by
|
||||
* even _or_ odd counters. This introduces an issue that
|
||||
* when the former kind of event takes the counter the
|
||||
* latter kind of event wants to use, then the "counter
|
||||
|
@ -153,7 +153,7 @@ EXPORT_SYMBOL_GPL(kvm_vz_host_tlb_inv);
|
||||
* kvm_vz_guest_tlb_lookup() - Lookup a guest VZ TLB mapping.
|
||||
* @vcpu: KVM VCPU pointer.
|
||||
* @gpa: Guest virtual address in a TLB mapped guest segment.
|
||||
* @gpa: Ponter to output guest physical address it maps to.
|
||||
* @gpa: Pointer to output guest physical address it maps to.
|
||||
*
|
||||
* Converts a guest virtual address in a guest TLB mapped segment to a guest
|
||||
* physical address, by probing the guest TLB.
|
||||
|
@ -722,7 +722,7 @@ static void emit_atomic_r32(struct jit_context *ctx,
|
||||
0, JIT_RESERVED_STACK);
|
||||
/*
|
||||
* Argument 1: dst+off if xchg, otherwise src, passed in register a0
|
||||
* Argument 2: src if xchg, othersize dst+off, passed in register a1
|
||||
* Argument 2: src if xchg, otherwise dst+off, passed in register a1
|
||||
*/
|
||||
emit(ctx, move, MIPS_R_T9, dst);
|
||||
if (code == BPF_XCHG) {
|
||||
|
@ -1345,7 +1345,7 @@ static int __cvmx_pcie_rc_initialize_gen2(int pcie_port)
|
||||
mem_access_subid.s.esw = 1; /* Endian-swap for Writes. */
|
||||
mem_access_subid.s.wtype = 0; /* "No snoop" and "Relaxed ordering" are not set */
|
||||
mem_access_subid.s.rtype = 0; /* "No snoop" and "Relaxed ordering" are not set */
|
||||
/* PCIe Adddress Bits <63:34>. */
|
||||
/* PCIe Address Bits <63:34>. */
|
||||
if (OCTEON_IS_MODEL(OCTEON_CN68XX))
|
||||
mem_access_subid.cn68xx.ba = 0;
|
||||
else
|
||||
|
@ -111,7 +111,7 @@ void __init pic32_config_init(void)
|
||||
pic32_reset_status = readl(pic32_conf_base + PIC32_RCON);
|
||||
writel(-1, PIC32_CLR(pic32_conf_base + PIC32_RCON));
|
||||
|
||||
/* Device Inforation */
|
||||
/* Device Information */
|
||||
pr_info("Device Id: 0x%08x, Device Ver: 0x%04x\n",
|
||||
pic32_get_device_id(),
|
||||
pic32_get_device_version());
|
||||
|
@ -217,7 +217,7 @@ static int check_code(uint64_t pc, uint32_t *code, size_t sz)
|
||||
)
|
||||
|
||||
/*
|
||||
* Skip the first instructionm allowing check_ll to look backwards
|
||||
* Skip the first instruction, allowing check_ll to look backwards
|
||||
* unconditionally.
|
||||
*/
|
||||
advance();
|
||||
|
@ -225,7 +225,7 @@ txx9_alloc_pci_controller(struct pci_controller *pcic,
|
||||
static int __init
|
||||
txx9_arch_pci_init(void)
|
||||
{
|
||||
PCIBIOS_MIN_IO = 0x8000; /* reseve legacy I/O space */
|
||||
PCIBIOS_MIN_IO = 0x8000; /* reserve legacy I/O space */
|
||||
return 0;
|
||||
}
|
||||
arch_initcall(txx9_arch_pci_init);
|
||||
|
Loading…
Reference in New Issue
Block a user