lkml.org 
[lkml]   [1996]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Problem: __inline__ functions in the kernel & cli()/sti() latency measurement
Date
From

: > what is the point of using __inline__ functions ...
: >
: > __inline__ void foo( arg ) {
:
: Arg is evaluated once. You don't get burned by nasty macro expansion
: side effects (especially since we nest inlines 3 deep in places).

Also, you can't reutrn a value from a macro like that. You can from
an inline function.

Warner


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.054 / U:8.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site