summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/sparc/rtems/score/cpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-09 15:16:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-10 09:22:18 +0100
commit58bced64b93ff88d91c719854a36f947d5c28ebb (patch)
tree62522270f0c050070489882230269f5cfc1a3427 /cpukit/score/cpu/sparc/rtems/score/cpu.h
parentrtems: Add scheduler processor add/remove (diff)
downloadrtems-58bced64b93ff88d91c719854a36f947d5c28ebb.tar.bz2
score: Move _CPU_Get_current_per_CPU_control()
Move _CPU_Get_current_per_CPU_control() from <rtems/score/cpu.h> to <rtems/score/cpuimpl.h>.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/sparc/rtems/score/cpu.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h
index 5823544a80..a97d330665 100644
--- a/cpukit/score/cpu/sparc/rtems/score/cpu.h
+++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h
@@ -1185,14 +1185,6 @@ void _CPU_Context_restore(
Context_Control *new_context
) RTEMS_NO_RETURN;
-/**
- * @brief The pointer to the current per-CPU control is available via register
- * g6.
- */
-register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" );
-
-#define _CPU_Get_current_per_CPU_control() _SPARC_Per_CPU_current
-
#if defined(RTEMS_SMP)
uint32_t _CPU_SMP_Initialize( void );