Messages in this thread | | | Date | Tue, 12 May 2009 21:21:45 +1000 | From | Paul Mackerras <> | Subject | Re: [PATCH 3/5] perf_counter: rework ioctl()s |
| |
Peter Zijlstra writes:
> 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
Yep.
> In which case the below should fix things up, no?
Looks good.
Paul.
| |