Files
linux-stable-mirror/include/linux
Jeremy Fitzhardinge a7bf0bd5e6 build: add __page_aligned_data and __page_aligned_bss
Making a variable page-aligned by using
__attribute__((section(".data.page_aligned"))) is fragile because if
sizeof(variable) is not also a multiple of page size, it leaves
variables in the remainder of the section unaligned.

This patch introduces two new qualifiers, __page_aligned_data and
__page_aligned_bss to set the section *and* the alignment of
variables.  This makes page-aligned variables more robust because the
linker will make sure they're aligned properly.  Unfortunately it
requires *all* page-aligned data to use these macros...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-08 12:48:13 +02:00
..
2008-06-19 10:42:17 +10:00
2008-06-19 10:42:17 +10:00
2008-06-06 11:29:10 -07:00
2008-07-04 10:40:05 -07:00
2008-07-04 10:40:09 -07:00
2008-07-01 22:38:18 +02:00
2008-06-30 09:25:12 -04:00
2008-06-11 19:13:46 -04:00
2008-07-04 10:40:05 -07:00
2008-07-08 11:59:23 +02:00
2008-06-06 11:29:12 -07:00
2008-06-16 11:21:27 +02:00
2008-06-12 10:12:42 +02:00
2008-07-04 10:40:07 -07:00
2008-07-04 10:40:04 -07:00
2008-07-04 10:40:04 -07:00
2008-06-12 10:48:00 +02:00