Changeset 6d10c29 in rtems


Ignore:
Timestamp:
Dec 8, 2008, 6:12:18 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
c16bcc0
Parents:
bdd1f5d
Message:

2008-12-08 Joel Sherrill <joel.sherrill@…>

  • libfs/src/nfsclient/src/nfs.c: Use rtems_clock_get_seconds_since_epoch() from public API.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rbdd1f5d r6d10c29  
     12008-12-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libfs/src/nfsclient/src/nfs.c: Use
     4        rtems_clock_get_seconds_since_epoch() from public API.
     5
    162008-12-08      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libfs/src/nfsclient/src/nfs.c

    rbdd1f5d r6d10c29  
    481481nowSeconds(void)
    482482{
    483 register uint32_t       rval;
    484 #ifndef READ_LONG_IS_ATOMIC
    485 rtems_interrupt_level           l;
    486 
    487         rtems_interrupt_disable(level);
    488 #endif
    489 
    490         rval = _TOD_Seconds_since_epoch;
    491 
    492 #ifndef READ_LONG_IS_ATOMIC
    493         rtems_interrupt_enable(level);
    494 #endif
    495         return rval;
     483  rtems_interval rval;
     484  rtems_clock_get_seconds_since_epoch( &rval );
     485  return rval;
    496486}
    497487
Note: See TracChangeset for help on using the changeset viewer.