Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH 3/5] perf_counter: rework ioctl()s | Date | Tue, 12 May 2009 09:52:12 +0200 |
| |
On Tuesday 12 May 2009, Peter Zijlstra wrote: > Ah, so _IO() gets an unsigned long 3rd argument. > _IOW() treats the 3rd arg as a (type __user *) and copies the bits over > _IOR() copies the bits back out to userspace > _IORW() does both > > In which case the below should fix things up, no? >
Yes, this looks good now.
Thanks,
Arnd <><
| |