diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2005-08-02 08:11:47 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-02 08:38:01 +0400 |
commit | 842bbaaa7394820c8f1fe0629cd15478653caf86 (patch) | |
tree | 5934040b40357f479b16d638ffd2fe435f4837e8 /Makefile | |
parent | 561fb765b97f287211a2c73a844c5edb12f44f1d (diff) | |
download | linux-842bbaaa7394820c8f1fe0629cd15478653caf86.tar.xz |
[PATCH] Module per-cpu alignment cannot always be met
The module code assumes noone will ever ask for a per-cpu area more than
SMP_CACHE_BYTES aligned. However, as these cases show, gcc asks sometimes
asks for 32-byte alignment for the per-cpu section on a module, and if
CONFIG_X86_L1_CACHE_SHIFT is 4, we hit that BUG_ON(). This is obviously an
unusual combination, as there have been few reports, but better to warn
than die.
See:
http://www.ussg.iu.edu/hypermail/linux/kernel/0409.0/0768.html
And more recently:
http://bugs.gentoo.org/show_bug.cgi?id=97006
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions