2010/1/3 Manish Katiyar <[email protected]>:
> On Sat, Jan 2, 2010 at 6:40 PM, Shawn <[email protected]> wrote:
>> hello guys,
>> I got a newbie confused when I was looking into the source code of
>> s3c2440's RTC driver.I dont know what is __v excatly means
> A local variable name.
i think he confused for the second __v here.
Because it is a macro define, and want to be used as a function.
So the last __v is used for return value.
u can use this macro define as a function as below;
....
return_val = readb(c);
....
> ..anyone can
>> tell?thanks anyway!
>>
>> #define readb(c) ({ __u8 __v = __raw_readb(__mem_pci(c)); __v; })
>>
>> --
>> GNU powered it...
>> GPL protect it...
>> God blessing it...
>>
>> regards
>> HFG--Shawn the R0ck
>>
>
>
>
> --
> Thanks -
> Manish
> ==================================
> [$\*.^ -- I miss being one of them
> ==================================
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>
--
Best Regards
Lin
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ