sh: Encode L1/L2 cache shape in auxvt.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 10 Dec 2007 06:50:28 +0000 (15:50 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:59 +0000 (13:18 +0900)
commitcd01204b82933754a7276838656420477f64d4b8
treef9e3b11574bec04cda78c549cdc5c37c3c75c4a5
parentc8c0a1aba9fa8f816dc8fb477ff816a5b700f0ea
sh: Encode L1/L2 cache shape in auxvt.

This adds in the L1I/L1D/L2 cache shape support to their respective
entries in the ELF auxvt, based on the Alpha implementation. We use
this on the userspace libc side for calculating a tightly packed
SHMLBA amongst other things.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/init.c
arch/sh/kernel/setup.c
include/asm-sh/auxvec.h
include/asm-sh/elf.h
include/asm-sh/system.h