summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bspsmpgetcurrentprocessor.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/shared/bspsmpgetcurrentprocessor.c')
-rw-r--r--c/src/lib/libbsp/shared/bspsmpgetcurrentprocessor.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/bspsmpgetcurrentprocessor.c b/c/src/lib/libbsp/shared/bspsmpgetcurrentprocessor.c
new file mode 100644
index 0000000000..f62a807331
--- /dev/null
+++ b/c/src/lib/libbsp/shared/bspsmpgetcurrentprocessor.c
@@ -0,0 +1,15 @@
+/*
+ * COPYRIGHT (c) 1989-2011.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#include <rtems/score/cpu.h>
+
+uint32_t _CPU_SMP_Get_current_processor( void )
+{
+ return 0;
+}