aboutsummaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_xtree.c
diff options
context:
space:
mode:
authorJes Sorensen2006-03-31 11:18:57 -0500
committerLinus Torvalds2006-03-31 12:30:48 -0800
commit30c14e40ed85469f166b5effdab6705c73c5cd5e (patch)
tree31154f46c2c2acd0499b9ab8c849f009ac342641 /fs/jfs/jfs_xtree.c
parentd21c356b08820e60501ce7a42107a7f05863d91d (diff)
[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 <jes@sgi.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/jfs/jfs_xtree.c')
0 files changed, 0 insertions, 0 deletions