Changeset 7c6a5ca in rtems


Ignore:
Timestamp:
Apr 26, 2005, 11:23:17 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
b0e6c06
Parents:
9d5b6a8
Message:

2005-04-26 Joel Sherrill <joel@…>

  • s3c2400/clock/clockdrv.c: Eliminate warning.
Location:
c/src/lib/libcpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/ChangeLog

    r9d5b6a8 r7c6a5ca  
     12005-04-26      Joel Sherrill <joel@OARcorp.com>
     2
     3        * s3c2400/clock/clockdrv.c: Eliminate warning.
     4
    152005-03-11      Philippe Simons <loki_666@fastmail.fm>
    26
  • c/src/lib/libcpu/arm/s3c2400/clock/clockdrv.c

    r9d5b6a8 r7c6a5ca  
    5353 * Installs the clock ISR. You shouldn't need to change this.
    5454 */
    55 #define Clock_driver_support_install_isr( _new, _old )                      \
    56   do {                                                                      \
    57       BSP_install_rtems_irq_handler(&clock_isr_data);                       \
    58      } while(0)
     55#define Clock_driver_support_install_isr( _new, _old ) \
     56  do {                                                 \
     57    _old = NULL;                                       \
     58    BSP_install_rtems_irq_handler(&clock_isr_data);    \
     59  } while(0)
    5960
    6061
     
    8384        freq =(BSP_OSC_FREQ * m) / (p << s); \
    8485        /* PCLK = MPLL/4 */ \
    85         freq = freq / 4; \ 
     86        freq = freq / 4; \
    8687        /* set TIMER4 counter, input freq=PLCK/16/16Mhz*/ \
    8788        freq = (freq /16)/16; \
Note: See TracChangeset for help on using the changeset viewer.