aboutsummaryrefslogtreecommitdiff
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorJes Sorensen <jes@sgi.com>2006-03-31 11:18:57 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-31 12:30:48 -0800
commit30c14e40ed85469f166b5effdab6705c73c5cd5e (patch)
tree31154f46c2c2acd0499b9ab8c849f009ac342641 /net/sysctl_net.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 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions