From 58bced64b93ff88d91c719854a36f947d5c28ebb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 9 Nov 2016 15:16:03 +0100 Subject: score: Move _CPU_Get_current_per_CPU_control() Move _CPU_Get_current_per_CPU_control() from to . --- cpukit/score/cpu/no_cpu/rtems/score/cpu.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'cpukit/score/cpu/no_cpu/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h index a2ae652f60..7bacd27727 100644 --- a/cpukit/score/cpu/no_cpu/rtems/score/cpu.h +++ b/cpukit/score/cpu/no_cpu/rtems/score/cpu.h @@ -1419,24 +1419,6 @@ CPU_Counter_ticks _CPU_Counter_difference( CPU_Counter_ticks first ); -/** - * @brief Special register pointing to the per-CPU control of the current - * processor. - * - * This is optional. Not every CPU port needs this. It is only an optional - * optimization variant. - */ -register struct Per_CPU_Control *_CPU_Per_CPU_current asm( "rX" ); - -/** - * @brief Optional method to obtain the per-CPU control of the current processor. - * - * This is optional. Not every CPU port needs this. It is only an optional - * optimization variant. In case this macro is undefined, the default - * implementation using the current processor index will be used. - */ -#define _CPU_Get_current_per_CPU_control() ( _CPU_Per_CPU_current ) - #ifdef RTEMS_SMP /** * @brief Performs CPU specific SMP initialization in the context of the boot -- cgit v1.2.3