[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

macro



often i see in the linux kernel source, the macro written in following mode:
 
#define macro_name do{
      asm volatile{....}
  while(0);
 
why use do while(0) if the number of loop is one?
 
Thanks
R!SC