From 8f63fbee00fb80a0d688c4da6a9f6efd206146b7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 26 May 2014 12:36:14 -0500 Subject: shared/smp_stub.c: Correct bug --- schedsim/shell/shared/smp_stub.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'schedsim/shell') diff --git a/schedsim/shell/shared/smp_stub.c b/schedsim/shell/shared/smp_stub.c index 11cbc7a..cd73f4e 100644 --- a/schedsim/shell/shared/smp_stub.c +++ b/schedsim/shell/shared/smp_stub.c @@ -12,10 +12,6 @@ * http://www.rtems.com/license/LICENSE. */ -#if HAVE_CONFIG_H - #include "config.h" -#endif - #include #include #include @@ -75,8 +71,8 @@ void _CPU_SMP_Processor_event_receive( void ) uint32_t _CPU_SMP_Get_current_processor( void ) { #if RTEMS_SMP - return 0; -#else return Schedsim_Current_cpu; +#else + return 0; #endif } -- cgit v1.2.3