From 18fe650ad0cf2c81aeaeb7f35471da64634cab5b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 23 Sep 2020 07:33:27 +0200 Subject: or1k: Do not use printk() for _CPU_Fatal_halt() Debug output can be added to user-defined fatal error handlers. --- cpukit/score/cpu/or1k/include/rtems/score/cpu.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h index 70a981d511..c14388a804 100644 --- a/cpukit/score/cpu/or1k/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/or1k/include/rtems/score/cpu.h @@ -33,9 +33,6 @@ extern "C" { #include /* pick up machine definitions */ #include #include -#ifndef ASM -#include -#endif /* conditional compilation parameters */ @@ -425,7 +422,6 @@ void _CPU_Context_Initialize( #include #define _CPU_Fatal_halt(_source, _error ) \ - printk("Fatal Error %d.%" PRId32 " Halted\n",_source, _error); \ _OR1KSIM_CPU_Halt(); \ for(;;) -- cgit v1.2.3