diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-22 19:27:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-06-22 19:27:35 +0000 |
commit | 8bfffd9bafdd9406b3848cd302b40900a40644fe (patch) | |
tree | db17b34add22728e1576668a1ee0d749d596b66b /testsuites/samples | |
parent | 2007-06-22 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-8bfffd9bafdd9406b3848cd302b40900a40644fe.tar.bz2 |
2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* nsecs/init.c: Do not make this test depend on the benchmark timer
driver.
Diffstat (limited to 'testsuites/samples')
-rw-r--r-- | testsuites/samples/ChangeLog | 5 | ||||
-rw-r--r-- | testsuites/samples/nsecs/init.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index 06a2aa4533..3d3416d7ea 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,8 @@ +2007-06-22 Joel Sherrill <joel.sherrill@OARcorp.com> + + * nsecs/init.c: Do not make this test depend on the benchmark timer + driver. + 2007-06-21 Joel Sherrill <joel.sherrill@oarcorp.com> * nsecs/init.c, nsecs/nsecs.scn: Add set of loops so you can see the diff --git a/testsuites/samples/nsecs/init.c b/testsuites/samples/nsecs/init.c index 5a7c6e35ee..7c9a8261a0 100644 --- a/testsuites/samples/nsecs/init.c +++ b/testsuites/samples/nsecs/init.c @@ -41,6 +41,9 @@ void subtract_em( _Timespec_Subtract( start, stop, t ); } +/* body below .. hoping it isn't inlined */ +void Empty_function(); + rtems_task Init( rtems_task_argument argument ) @@ -142,3 +145,6 @@ rtems_task Init( #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include <rtems/confdefs.h> + +/* put here hoping it won't get inlined */ +void Empty_function() {} |