From: Michael Buesch <mb@xxxxxxxxx> Date: Thu, 6 Dec 2007 22:33:18 +0100 > On Thursday 06 December 2007 22:25:25 Jean Tourrilhes wrote: > > On Wed, Dec 05, 2007 at 06:36:28PM -0800, David Miller wrote: > > Now, I'm wondering how to deal with unaligned access in > > userspace. If you get data from hardware or the network, you can not > > guarantee that everything will always be aligned, so we need a way to > > deal with it. > > In the kernel, we have get_unaligned(). I wonder what's the > > equivalent in userspace. > > Userspace handles this transparently through fault traps. It does not, the process gets a SIGBUS. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html