]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:23 +0000 (11:05 -0800)
commitdd2b609d2317fb243cc01eb984c91cc639a84d28
treefd5244837e36f2f2dbd2b0c4dfe30e4b67332ee6
parentddf14e7a76a071c034aaeb71ed6aab4084c9bf7c
[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: Tony Luck <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: Chris Wright <chrisw@sous-sol.org>
drivers/connector/cn_proc.c