Re: [PATCH 3/5] perf_counter: rework ioctl()s
From: Paul Mackerras
Date: Tue May 12 2009 - 07:22:40 EST
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.
--
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/