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

How to find CPU# for a per-cpu variable?



Hi,

There are macros to get a per-cpu address given a cpu# and a variable
name. Is there any way the reverse can be done? Eg, the timer->base is
per cpu. If I have the value of timer->base, can I find out which #cpu
that address belongs to?

Thanks,

- KK



      Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ