]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] connector: some fixes for ia64 unaligned access errors
authorErik Jacobson <erikj@sgi.com>
Sat, 6 Jan 2007 00:37:05 +0000 (16:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:29 +0000 (23:55 -0800)
commitaf3e095a1fb42bac32355d5d59ce93f8b4e59a3e
treefaaf69ff1911e126bd243821d54db42c1da9e61b
parent76395d37611e8758dd8bd6c6f5bfcb31e1dc48f9
[PATCH] connector: some fixes for ia64 unaligned access errors

On ia64, the various functions that make up cn_proc.c cause kernel
unaligned access errors.

If you are using these, for example, to get notification about all tasks
forking and exiting, you get multiple unaligned access errors per process.

Use put_unaligned() in the appropriate palces to fix this.

Signed-off-by: Erik Jacobson <erikj@sgi.com>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: <stable@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/connector/cn_proc.c