Messages in this thread |  | | Date | Tue, 11 Jun 1996 16:22:46 -0700 | From | "David S. Miller" <> | Subject | Re: Problem: __inline__ functions in the kernel & cli()/sti() latency measurement |
| |
Date: Tue, 11 Jun 1996 14:51:28 -0600 From: Warner Losh <imp@village.org>
Also, you can't reutrn a value from a macro like that. You can from an inline function.
Untrue:
#define val_plus_two(val) do { ((val) + 2); } while(0)
It still does not annul the multi-evaluation reasoning for using inline functions instead of macros though ;-)
Later, David S. Miller dm@sgi.com
|  |