--- zzzz-none-000/linux-2.4.17/include/asm-mips64/cache.h 2001-07-04 18:50:39.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/asm-mips64/cache.h 2004-11-24 13:21:49.000000000 +0000 @@ -9,6 +9,18 @@ #ifndef _ASM_CACHE_H #define _ASM_CACHE_H +#ifndef _LANGUAGE_ASSEMBLY +/* + * Descriptor for a cache + */ +struct cache_desc { + int linesz; + int sets; + int ways; + int flags; /* Details like write thru/back, coherent, etc. */ +}; +#endif + /* bytes per L1 cache line */ #define L1_CACHE_BYTES (1 << CONFIG_L1_CACHE_SHIFT)