diff options
Diffstat (limited to 'arch/hexagon/include/asm/vm_mmu.h')
-rw-r--r-- | arch/hexagon/include/asm/vm_mmu.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/hexagon/include/asm/vm_mmu.h b/arch/hexagon/include/asm/vm_mmu.h index 9a94de7969bb..096537d8f4c5 100644 --- a/arch/hexagon/include/asm/vm_mmu.h +++ b/arch/hexagon/include/asm/vm_mmu.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Hexagon VM page table entry definitions | 2 | * Hexagon VM page table entry definitions |
3 | * | 3 | * |
4 | * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. | 4 | * Copyright (c) 2010-2011,2013 The Linux Foundation. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License version 2 and | 7 | * it under the terms of the GNU General Public License version 2 and |
@@ -68,14 +68,13 @@ | |||
68 | 68 | ||
69 | #define __HEXAGON_C_WB 0x0 /* Write-back, no L2 */ | 69 | #define __HEXAGON_C_WB 0x0 /* Write-back, no L2 */ |
70 | #define __HEXAGON_C_WT 0x1 /* Write-through, no L2 */ | 70 | #define __HEXAGON_C_WT 0x1 /* Write-through, no L2 */ |
71 | #define __HEXAGON_C_UNC 0x6 /* Uncached memory */ | ||
72 | #if CONFIG_HEXAGON_ARCH_VERSION >= 2 | ||
71 | #define __HEXAGON_C_DEV 0x4 /* Device register space */ | 73 | #define __HEXAGON_C_DEV 0x4 /* Device register space */ |
72 | #define __HEXAGON_C_WT_L2 0x5 /* Write-through, with L2 */ | ||
73 | /* this really should be #if CONFIG_HEXAGON_ARCH = 2 but that's not defined */ | ||
74 | #if defined(CONFIG_HEXAGON_COMET) || defined(CONFIG_QDSP6_ST1) | ||
75 | #define __HEXAGON_C_UNC __HEXAGON_C_DEV | ||
76 | #else | 74 | #else |
77 | #define __HEXAGON_C_UNC 0x6 /* Uncached memory */ | 75 | #define __HEXAGON_C_DEV __HEXAGON_C_UNC |
78 | #endif | 76 | #endif |
77 | #define __HEXAGON_C_WT_L2 0x5 /* Write-through, with L2 */ | ||
79 | #define __HEXAGON_C_WB_L2 0x7 /* Write-back, with L2 */ | 78 | #define __HEXAGON_C_WB_L2 0x7 /* Write-back, with L2 */ |
80 | 79 | ||
81 | /* | 80 | /* |