]> git.openpandora.org Git - pandora-kernel.git/commitdiff
microblaze: Fix cache_line_lenght
authorMichal Simek <monstr@monstr.eu>
Thu, 8 Oct 2009 11:06:42 +0000 (13:06 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:44:57 +0000 (08:44 +0100)
We used cache_line as cache_line_lenght. For this reason
we did cache flushing 4 times longer than was necessary.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/cpuinfo.h
arch/microblaze/kernel/cpu/cache.c
arch/microblaze/kernel/cpu/cpuinfo-pvr-full.c
arch/microblaze/kernel/cpu/cpuinfo-static.c

index 52f28f6dc4eb1b0985965d03f8fe9401a986c3f6..aadf7a899d4956ee4477ed9038cb80efe9f00917 100644 (file)
@@ -43,7 +43,7 @@ struct cpuinfo {
        u32 use_icache;
        u32 icache_tagbits;
        u32 icache_write;
-       u32 icache_line;
+       u32 icache_line_length;
        u32 icache_size;
        unsigned long icache_base;
        unsigned long icache_high;
@@ -51,7 +51,7 @@ struct cpuinfo {
        u32 use_dcache;
        u32 dcache_tagbits;
        u32 dcache_write;
-       u32 dcache_line;
+       u32 dcache_line_length;
        u32 dcache_size;
        unsigned long dcache_base;
        unsigned long dcache_high;
Simple merge