Joel Sherrill commented on a discussion on 
cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/573#note_127432

 >  
 >  #define FSBASE_MSR 0xC0000100
 >  
 > -#if DEBUG
 > -#define DBG_PRINTF(format, args...)             \
 > -  printf(format, ## args)
 > +#ifndef ASM
 > +#ifdef DEBUG

Macros that are undefined have a 0 value. Changing to ifdef is more precise. We 
rarely use #if

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/573#note_127432
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to