http://www.kernelnewbies.org/faq/index.php3#dowhile
Regards,
Mohit Kalra
"It is a capital mistake to theorize before one has data.
Insensibly one begins to twist facts to suit theories, instead of theories
to suit facts."
-SH
"R!SC"
<risc54@inwind.it> To: <kernelnewbies@nl.linux.org>
Sent by: cc:
kernelnewbies-bounce@n Subject: macro
l.linux.org
10/02/02 04:13 PM
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
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/