Comment Comment by filereaper Enjoyed this article, anybody know the significance of adding the do..while(0) loop within the macro starting Linux 1.3?Was curious if it guards against some C pre-processor issues. /** include/asm-i386/system.h */ #define switch_to(tsk) do { [...] } while (0) parent filereaper 7 years ago
Was curious if it guards against some C pre-processor issues.