[PATCH] i386: Add an option for the VIA C7 which sets appropriate L1 cache
authorSimon Arlott <simon@arlott.org>
Wed, 2 May 2007 17:27:05 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:05 +0000 (19:27 +0200)
commit0949be35095b53dbaa72db700cb5074c5c249629
tree4dcca21a4e726dae5dd7afcaaebff2a5dd154031
parentf5e8861583a591020176c90c10c6a130fed4f3ec
[PATCH] i386: Add an option for the VIA C7 which sets appropriate L1 cache

The VIA C7 is a 686 (with TSC) that supports MMX, SSE and SSE2, it also has
a cache line length of 64 according to
http://www.digit-life.com/articles2/cpu/rmma-via-c7.html.  This patch sets
gcc to -march=686 and select s the correct cache shift.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/i386/Kconfig.cpu
arch/i386/Makefile.cpu
arch/um/defconfig
include/asm-i386/module.h