diff options
Diffstat (limited to 'arch/mips/include/asm/cacheops.h')
-rw-r--r-- | arch/mips/include/asm/cacheops.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/include/asm/cacheops.h b/arch/mips/include/asm/cacheops.h index 8f99c11ab665..68f37e3eccc7 100644 --- a/arch/mips/include/asm/cacheops.h +++ b/arch/mips/include/asm/cacheops.h | |||
@@ -8,20 +8,20 @@ | |||
8 | * (C) Copyright 1996, 97, 99, 2002, 03 Ralf Baechle | 8 | * (C) Copyright 1996, 97, 99, 2002, 03 Ralf Baechle |
9 | * (C) Copyright 1999 Silicon Graphics, Inc. | 9 | * (C) Copyright 1999 Silicon Graphics, Inc. |
10 | */ | 10 | */ |
11 | #ifndef __ASM_CACHEOPS_H | 11 | #ifndef __ASM_CACHEOPS_H |
12 | #define __ASM_CACHEOPS_H | 12 | #define __ASM_CACHEOPS_H |
13 | 13 | ||
14 | /* | 14 | /* |
15 | * Cache Operations available on all MIPS processors with R4000-style caches | 15 | * Cache Operations available on all MIPS processors with R4000-style caches |
16 | */ | 16 | */ |
17 | #define Index_Invalidate_I 0x00 | 17 | #define Index_Invalidate_I 0x00 |
18 | #define Index_Writeback_Inv_D 0x01 | 18 | #define Index_Writeback_Inv_D 0x01 |
19 | #define Index_Load_Tag_I 0x04 | 19 | #define Index_Load_Tag_I 0x04 |
20 | #define Index_Load_Tag_D 0x05 | 20 | #define Index_Load_Tag_D 0x05 |
21 | #define Index_Store_Tag_I 0x08 | 21 | #define Index_Store_Tag_I 0x08 |
22 | #define Index_Store_Tag_D 0x09 | 22 | #define Index_Store_Tag_D 0x09 |
23 | #if defined(CONFIG_CPU_LOONGSON2) | 23 | #if defined(CONFIG_CPU_LOONGSON2) |
24 | #define Hit_Invalidate_I 0x00 | 24 | #define Hit_Invalidate_I 0x00 |
25 | #else | 25 | #else |
26 | #define Hit_Invalidate_I 0x10 | 26 | #define Hit_Invalidate_I 0x10 |
27 | #endif | 27 | #endif |
@@ -39,8 +39,8 @@ | |||
39 | /* | 39 | /* |
40 | * R4000SC and R4400SC-specific cacheops | 40 | * R4000SC and R4400SC-specific cacheops |
41 | */ | 41 | */ |
42 | #define Index_Invalidate_SI 0x02 | 42 | #define Index_Invalidate_SI 0x02 |
43 | #define Index_Writeback_Inv_SD 0x03 | 43 | #define Index_Writeback_Inv_SD 0x03 |
44 | #define Index_Load_Tag_SI 0x06 | 44 | #define Index_Load_Tag_SI 0x06 |
45 | #define Index_Load_Tag_SD 0x07 | 45 | #define Index_Load_Tag_SD 0x07 |
46 | #define Index_Store_Tag_SI 0x0A | 46 | #define Index_Store_Tag_SI 0x0A |