···88 *99 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 19941010 * puts by Nick Holloway 1993, better puts by Martin Mares 19951111- * adoptation for Linux/CRIS Axis Communications AB, 19991111+ * adaptation for Linux/CRIS Axis Communications AB, 19991212 * 1313 */1414
+1-1
arch/cris/arch-v10/kernel/debugport.c
···8383 *8484 * Revision 1.4 2002/11/19 14:35:24 starvik8585 * Changes from linux 2.48686- * Changed struct initializer syntax to the currently prefered notation8686+ * Changed struct initializer syntax to the currently preferred notation8787 *8888 * Revision 1.3 2002/11/06 09:47:03 starvik8989 * Modified for new interrupt macros
+1-1
arch/cris/arch-v10/kernel/fasttimer.c
···8484 * with time based on jiffies and *R_TIMER0_DATA, uses a table8585 * for fast conversion of timer value to microseconds.8686 * (Much faster the standard do_gettimeofday() and we don't really8787- * wan't to use the true time - we wan't the "uptime" so timers don't screw up8787+ * want to use the true time - we want the "uptime" so timers don't screw up8888 * when we change the time.8989 * TODO: Add efficient support for continuous timers as well.9090 *
+1-1
arch/cris/arch-v10/kernel/irq.c
···169169 for (i = 0; i < 256; i++)170170 etrax_irv->v[i] = weird_irq;171171172172- /* Initialize IRQ handler descriptiors. */172172+ /* Initialize IRQ handler descriptors. */173173 for(i = 2; i < NR_IRQS; i++) {174174 irq_desc[i].chip = &crisv10_irq_type;175175 set_int_vector(i, interrupt[i]);
+1-1
arch/cris/arch-v10/kernel/process.c
···6464#if defined(CONFIG_ETRAX_WATCHDOG) && !defined(CONFIG_SVINTO_SIM)6565 cause_of_death = 0xbedead;6666#else6767- /* Since we dont plan to keep on reseting the watchdog,6767+ /* Since we dont plan to keep on resetting the watchdog,6868 the key can be arbitrary hence three */6969 *R_WATCHDOG = IO_FIELD(R_WATCHDOG, key, 3) |7070 IO_STATE(R_WATCHDOG, enable, start);
+1-1
arch/cris/arch-v10/kernel/shadows.c
···2020 * These are only usable if there actually IS a latch connected2121 * to the corresponding external chip-select pin.2222 *2323- * A common usage is that CSP0 controls LED's and CSP4 video chips.2323+ * A common usage is that CSP0 controls LEDs and CSP4 video chips.2424 */25252626unsigned long port_cse1_shadow;
+1-1
arch/cris/arch-v10/lib/string.c
···4141 Make sure the compiler is able to make something useful of this.4242 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).43434444- If gcc was allright, it really would need no temporaries, and no4444+ If gcc was alright, it really would need no temporaries, and no4545 stack space to save stuff on. */46464747 register void *return_dst __asm__ ("r10") = pdst;
+3-3
arch/cris/arch-v10/lib/usercopy.c
···3838 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).39394040 FIXME: Comment for old gcc version. Check.4141- If gcc was allright, it really would need no temporaries, and no4141+ If gcc was alright, it really would need no temporaries, and no4242 stack space to save stuff on. */43434444 register char *dst __asm__ ("r13") = pdst;···200200 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).201201202202 FIXME: Comment for old gcc version. Check.203203- If gcc was allright, it really would need no temporaries, and no203203+ If gcc was alright, it really would need no temporaries, and no204204 stack space to save stuff on. */205205206206 register char *dst __asm__ ("r13") = pdst;···380380 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).381381382382 FIXME: Comment for old gcc version. Check.383383- If gcc was allright, it really would need no temporaries, and no383383+ If gcc was alright, it really would need no temporaries, and no384384 stack space to save stuff on. */385385386386 register char *dst __asm__ ("r13") = pto;
+3-3
arch/cris/arch-v32/boot/compressed/misc.c
···88 *99 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 19941010 * puts by Nick Holloway 1993, better puts by Martin Mares 19951111- * adoptation for Linux/CRIS Axis Communications AB, 19991111+ * adaptation for Linux/CRIS Axis Communications AB, 19991212 *1313 */1414···151151 do {152152 rs = REG_RD(ser, regi_ser, rs_stat_din);153153 }154154- while (!rs.tr_rdy);/* Wait for tranceiver. */154154+ while (!rs.tr_rdy);/* Wait for transceiver. */155155156156 REG_WR(ser, regi_ser, rw_dout, dout);157157}···264264 tr_ctrl.stop_bits = 1; /* 2 stop bits. */265265266266 /*267267- * The baudrate setup is a bit fishy, but in the end the tranceiver is267267+ * The baudrate setup is a bit fishy, but in the end the transceiver is268268 * set to 4800 and the receiver to 115200. The magic value is269269 * 29.493 MHz.270270 */
+1-1
arch/cris/arch-v32/drivers/axisflashmap.c
···205205/*206206 * Probe each chip select individually for flash chips. If there are chips on207207 * both cse0 and cse1, the mtd_info structs will be concatenated to one struct208208- * so that MTD partitions can cross chip boundries.208208+ * so that MTD partitions can cross chip boundaries.209209 *210210 * The only known restriction to how you can mount your chips is that each211211 * chip select must hold similar flash chips. But you need external hardware
···138138 /* Enable the following for a flash based bad block table */139139 this->options = NAND_USE_FLASH_BBT;140140141141- /* Scan to find existance of the device */141141+ /* Scan to find existence of the device */142142 if (nand_scan (crisv32_mtd, 1)) {143143 err = -ENXIO;144144 goto out_ior;
+1-1
arch/cris/arch-v32/kernel/fasttimer.c
···9797 * with time based on jiffies and *R_TIMER0_DATA, uses a table9898 * for fast conversion of timer value to microseconds.9999 * (Much faster the standard do_gettimeofday() and we don't really100100- * wan't to use the true time - we wan't the "uptime" so timers don't screw up100100+ * want to use the true time - we want the "uptime" so timers don't screw up101101 * when we change the time.102102 * TODO: Add efficient support for continuous timers as well.103103 *
+4-4
arch/cris/arch-v32/kernel/irq.c
···140140 spin_lock_irqsave(&irq_lock, flags);141141 intr_mask = REG_RD_INT(intr_vect, irq_regs[cpu], rw_mask);142142143143- /* Remember; 1 let thru, 0 block. */143143+ /* Remember; 1 let through, 0 block. */144144 intr_mask &= ~(1 << (irq - FIRST_IRQ));145145146146 REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask);···156156 spin_lock_irqsave(&irq_lock, flags);157157 intr_mask = REG_RD_INT(intr_vect, irq_regs[cpu], rw_mask);158158159159- /* Remember; 1 let thru, 0 block. */159159+ /* Remember; 1 let through, 0 block. */160160 intr_mask |= (1 << (irq - FIRST_IRQ));161161162162 REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask);···308308 */309309 irq_enter();310310311311- /* Get which IRQs that happend. */311311+ /* Get which IRQs that happened. */312312 masked = REG_RD_INT(intr_vect, irq_regs[cpu], r_masked_vect);313313314314 /* Calculate new IRQ mask with these IRQs disabled. */···366366 for (i = 0; i < 256; i++)367367 etrax_irv->v[i] = weird_irq;368368369369- /* Point all IRQ's to bad handlers. */369369+ /* Point all IRQs to bad handlers. */370370 for (i = FIRST_IRQ, j = 0; j < NR_IRQS; i++, j++) {371371 irq_desc[j].chip = &crisv32_irq_type;372372 set_exception_vector(i, interrupt[j]);
+1-1
arch/cris/arch-v32/kernel/process.c
···162162 /* Put the switch stack right below the pt_regs. */163163 swstack = ((struct switch_stack *) childregs) - 1;164164165165- /* Paramater to ret_from_sys_call. 0 is don't restart the syscall. */165165+ /* Parameter to ret_from_sys_call. 0 is don't restart the syscall. */166166 swstack->r9 = 0;167167168168 /*
+2-2
arch/cris/arch-v32/kernel/signal.c
···347347/* Grab and setup a signal frame.348348 *349349 * Basically a lot of state-info is stacked, and arranged for the350350- * user-mode program to return to the kernel using either a trampiline350350+ * user-mode program to return to the kernel using either a trampoline351351 * which performs the syscall sigreturn(), or a provided user-mode352352 * trampoline.353353 */···641641 user_regs(ti)->spc = 0;642642 }643643 /* FIXME: Filter out false h/w breakpoint hits (i.e. EDA644644- not withing any configured h/w breakpoint range). Synchronize with644644+ not within any configured h/w breakpoint range). Synchronize with645645 what already exists for kernel debugging. */646646 if (((user_regs(ti)->exs & 0xff00) >> 8) == BREAK_8_INTR_VECT) {647647 /* Break 8: subtract 2 from ERP unless in a delay slot. */
+1-1
arch/cris/arch-v32/kernel/smp.c
···142142 return -1;143143}144144145145-/* Secondary CPUs starts uing C here. Here we need to setup CPU145145+/* Secondary CPUs starts using C here. Here we need to setup CPU146146 * specific stuff such as the local timer and the MMU. */147147void __init smp_callin(void)148148{
+1-1
arch/cris/arch-v32/kernel/time.c
···9999/* From timer MDS describing the hardware watchdog:100100 * 4.3.1 Watchdog Operation101101 * The watchdog timer is an 8-bit timer with a configurable start value.102102- * Once started the whatchdog counts downwards with a frequency of 763 Hz102102+ * Once started the watchdog counts downwards with a frequency of 763 Hz103103 * (100/131072 MHz). When the watchdog counts down to 1, it generates an104104 * NMI (Non Maskable Interrupt), and when it counts down to 0, it resets the105105 * chip.
+1-1
arch/cris/arch-v32/kernel/traps.c
···105105106106/*107107 * This gets called from entry.S when the watchdog has bitten. Show something108108- * similiar to an Oops dump, and if the kernel if configured to be a nice doggy;108108+ * similar to an Oops dump, and if the kernel is configured to be a nice doggy;109109 * halt instead of reboot.110110 */111111void
+1-1
arch/cris/arch-v32/lib/string.c
···4141 Make sure the compiler is able to make something useful of this.4242 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).43434444- If gcc was allright, it really would need no temporaries, and no4444+ If gcc was alright, it really would need no temporaries, and no4545 stack space to save stuff on. */46464747 register void *return_dst __asm__ ("r10") = pdst;
+3-3
arch/cris/arch-v32/lib/usercopy.c
···3434 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).35353636 FIXME: Comment for old gcc version. Check.3737- If gcc was allright, it really would need no temporaries, and no3737+ If gcc was alright, it really would need no temporaries, and no3838 stack space to save stuff on. */39394040 register char *dst __asm__ ("r13") = pdst;···168168 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).169169170170 FIXME: Comment for old gcc version. Check.171171- If gcc was allright, it really would need no temporaries, and no171171+ If gcc was alright, it really would need no temporaries, and no172172 stack space to save stuff on. */173173174174 register char *dst __asm__ ("r13") = pdst;···332332 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop).333333334334 FIXME: Comment for old gcc version. Check.335335- If gcc was allright, it really would need no temporaries, and no335335+ If gcc was alright, it really would need no temporaries, and no336336 stack space to save stuff on. */337337338338 register char *dst __asm__ ("r13") = pto;
+3-3
arch/cris/arch-v32/mm/tlb.c
···3030 * The TLB can host up to 256 different mm contexts at the same time. The running3131 * context is found in the PID register. Each TLB entry contains a page_id that3232 * has to match the PID register to give a hit. page_id_map keeps track of which3333- * mm's is assigned to which page_id's, making sure it's known when to3434- * invalidate TLB entries.3333+ * mm is assigned to which page_id, making sure it's known when to invalidate TLB3434+ * entries.3535 *3636 * The last page_id is never running, it is used as an invalid page_id so that3737 * it's possible to make TLB entries that will nerver match.···188188 spin_unlock(&mmu_context_lock);189189190190 /*191191- * Remember the pgd for the fault handlers. Keep a seperate copy of it191191+ * Remember the pgd for the fault handlers. Keep a separate copy of it192192 * because current and active_mm might be invalid at points where193193 * there's still a need to derefer the pgd.194194 */
+4-4
arch/cris/kernel/irq.c
···77 * Authors: Bjorn Wesen (bjornw@axis.com)88 *99 * This file contains the code used by various IRQ handling routines:1010- * asking for different IRQ's should be done through these routines1010+ * asking for different IRQs should be done through these routines1111 * instead of just grabbing them. Thus setups with different IRQ numbers1212 * shouldn't result in any weird surprises, and installing new handlers1313 * should be easier.···1515 */16161717/*1818- * IRQ's are in fact implemented a bit like signal handlers for the kernel.1818+ * IRQs are in fact implemented a bit like signal handlers for the kernel.1919 * Naturally it's not a 1:1 relation, but there are similarities.2020 */2121···838384848585/* called by the assembler IRQ entry functions defined in irq.h8686- * to dispatch the interrupts to registred handlers8686+ * to dispatch the interrupts to registered handlers8787 * interrupts are disabled upon entry - depending on if the8888- * interrupt was registred with IRQF_DISABLED or not, interrupts8888+ * interrupt was registered with IRQF_DISABLED or not, interrupts8989 * are re-enabled or not.9090 */9191
+2-2
arch/cris/mm/fault.c
···1313 * Fixed warning.1414 *1515 * Revision 1.18 2005/01/12 08:10:14 starvik1616- * Readded the change of frametype when handling kernel page fault fixup1616+ * Re-added the change of frametype when handling kernel page fault fixup1717 * for v10. This is necessary to avoid that the CPU remakes the faulting1818 * access.1919 *···4949 *5050 * Revision 1.8 2003/07/04 13:02:48 tobiasa5151 * Moved code snippet from arch/cris/mm/fault.c that searches for fixup code5252- * to seperate function in arch-specific files.5252+ * to separate function in arch-specific files.5353 *5454 * Revision 1.7 2003/01/22 06:48:38 starvik5555 * Fixed warnings issued by GCC 3.2.1
+1-1
arch/cris/mm/init.c
···88 *99 * $Log: init.c,v $1010 * Revision 1.11 2004/05/28 09:28:56 starvik1111- * Calculation of loops_per_usec moved because initalization order has changed1111+ * Calculation of loops_per_usec moved because initialization order has changed1212 * in Linux 2.6.1313 *1414 * Revision 1.10 2004/05/14 07:58:05 starvik
+1-1
arch/cris/mm/tlb.c
···1616/* The TLB can host up to 64 different mm contexts at the same time.1717 * The running context is R_MMU_CONTEXT, and each TLB entry contains a1818 * page_id that has to match to give a hit. In page_id_map, we keep track1919- * of which mm's we have assigned which page_id's, so that we know when1919+ * of which mm we have assigned to which page_id, so that we know when2020 * to invalidate TLB entries.2121 *2222 * The last page_id is never running - it is used as an invalid page_id