Re: [PATCH 3/5] perf_counter: rework ioctl()s

From: Arnd Bergmann
Date: Tue May 12 2009 - 03:53:01 EST


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 <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/