Re: [PATCH 1/2] [x86-64] align per-cpu section to configured cache bytes

From: Sam Ravnborg
Date: Fri Jan 27 2006 - 18:31:26 EST


On Fri, Jan 27, 2006 at 02:02:42PM -0800, Zach Brown wrote:
> - . = ALIGN(32);
> + . = ALIGN(CONFIG_X86_L1_CACHE_BYTES);

Grepping other arch's than just x86 and x86_64 it looks like a common
thing.
Is this fix really only relevant for x86 + x86_64 or should it be done
for all arch's?

If we do it for all archs we may as well create:
#define PERCPU(aling) ...
macro in asm-generic/vmlinux.lds.h

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/