diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2012-03-27 14:24:29 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2012-03-27 14:24:29 +0000 |
| commit | 02fe8590fd91b069ff64fd1b782a23aa21bbe311 (patch) | |
| tree | 867685497b868f6bdc582271762f2f723cb56aaf /sys/ofed/include/linux | |
| parent | ff17bc61e2247af26441782f9085580ec030ba80 (diff) | |
Notes
Diffstat (limited to 'sys/ofed/include/linux')
| -rw-r--r-- | sys/ofed/include/linux/io.h | 2 | ||||
| -rw-r--r-- | sys/ofed/include/linux/page.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ofed/include/linux/io.h b/sys/ofed/include/linux/io.h index 5405be7db98b..f1686f7acabc 100644 --- a/sys/ofed/include/linux/io.h +++ b/sys/ofed/include/linux/io.h @@ -90,7 +90,7 @@ writew(uint16_t b, void *addr) void *_ioremap_attr(vm_paddr_t phys_addr, unsigned long size, int attr); #define ioremap_nocache(addr, size) \ - _ioremap_attr((addr), (size), VM_MEMATTR_UNCACHED) + _ioremap_attr((addr), (size), VM_MEMATTR_UNCACHEABLE) #define ioremap_wc(addr, size) \ _ioremap_attr((addr), (size), VM_MEMATTR_WRITE_COMBINING) #define ioremap ioremap_nocache diff --git a/sys/ofed/include/linux/page.h b/sys/ofed/include/linux/page.h index 0c9052c960e9..9e152014ceea 100644 --- a/sys/ofed/include/linux/page.h +++ b/sys/ofed/include/linux/page.h @@ -40,7 +40,7 @@ #define virt_to_page(x) PHYS_TO_VM_PAGE(vtophys((x))) #define clear_page(page) memset((page), 0, PAGE_SIZE) -#define pgprot_noncached(prot) VM_MEMATTR_UNCACHED +#define pgprot_noncached(prot) VM_MEMATTR_UNCACHEABLE #define pgprot_writecombine(prot) VM_MEMATTR_WRITE_COMBINING #undef PAGE_MASK |
