smptests/smpfatal08: Support RTEMS_PARAVIRT

This commit is contained in:
Sebastian Huber
2014-06-30 12:30:12 +02:00
parent f6b1e0630b
commit 0b4ec4d74e

View File

@@ -56,7 +56,8 @@ void _CPU_SMP_Finalize_initialization(uint32_t cpu_count)
assert(0);
}
#if !defined(__leon__) && !defined(__PPC__) && !defined(__arm__)
#if defined(RTEMS_PARAVIRT) \
|| (!defined(__leon__) && !defined(__PPC__) && !defined(__arm__))
uint32_t _CPU_SMP_Get_current_processor(void)
{
return 0;