From: Jes Sorensen Date: Fri, 31 Mar 2006 16:18:57 +0000 (-0500) Subject: [PATCH] avoid unaligned access when accessing poll stack X-Git-Tag: v2.6.17-rc1~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c14e40ed85469f166b5effdab6705c73c5cd5e;p=pandora-kernel.git [PATCH] avoid unaligned access when accessing poll stack Commit 70674f95c0a2ea694d5c39f4e514f538a09be36f: [PATCH] Optimize select/poll by putting small data sets on the stack resulted in the poll stack being 4-byte aligned on 64-bit architectures, causing misaligned accesses to elements in the array. This patch fixes it by declaring the stack in terms of 'long' instead of 'char'. Force alignment of poll and select stacks to long to avoid unaligned access on 64 bit architectures. Signed-off-by: Jes Sorensen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed