diff options
Diffstat (limited to 'jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.h')
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.h b/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.h index 61edf95..2cafc7e 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.h +++ b/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/mutils.h | |||
@@ -61,7 +61,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
61 | pgprot_t pvr_pgprot_writecombine(pgprot_t prot); | 61 | pgprot_t pvr_pgprot_writecombine(pgprot_t prot); |
62 | #define PGPROT_WC(pv) pvr_pgprot_writecombine(pv) | 62 | #define PGPROT_WC(pv) pvr_pgprot_writecombine(pv) |
63 | #else | 63 | #else |
64 | #if defined(__arm__) || defined(__sh__) | 64 | #if defined(__arm__) || defined(__aarch64__) || defined(__sh__) |
65 | #define PGPROT_WC(pv) pgprot_writecombine(pv) | 65 | #define PGPROT_WC(pv) pgprot_writecombine(pv) |
66 | #elif defined(__mips__) | 66 | #elif defined(__mips__) |
67 | #define PGPROT_WC(pv) pgprot_writecombine(pv) | 67 | #define PGPROT_WC(pv) pgprot_writecombine(pv) |
@@ -79,7 +79,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
79 | #if defined(__i386__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)) | 79 | #if defined(__i386__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)) |
80 | #define IOREMAP(pa, bytes) ioremap_cache(pa, bytes) | 80 | #define IOREMAP(pa, bytes) ioremap_cache(pa, bytes) |
81 | #else | 81 | #else |
82 | #if defined(__arm__) | 82 | #if defined(__arm__) || defined(__aarch64__) |
83 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)) | 83 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0)) |
84 | #define IOREMAP(pa, bytes) ioremap_cache(pa, bytes) | 84 | #define IOREMAP(pa, bytes) ioremap_cache(pa, bytes) |
85 | #else | 85 | #else |
@@ -101,7 +101,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
101 | #define IOREMAP_WC(pa, bytes) ioremap_nocache(pa, bytes) | 101 | #define IOREMAP_WC(pa, bytes) ioremap_nocache(pa, bytes) |
102 | #endif | 102 | #endif |
103 | #else | 103 | #else |
104 | #if defined(__arm__) | 104 | #if defined(__arm__) || defined(__aarch64__) |
105 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) | 105 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)) |
106 | #define IOREMAP_WC(pa, bytes) ioremap_wc(pa, bytes) | 106 | #define IOREMAP_WC(pa, bytes) ioremap_wc(pa, bytes) |
107 | #else | 107 | #else |