Rev 6296 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6296 | Rev 6938 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | * |
25 | * |
26 | **************************************************************************/ |
26 | **************************************************************************/ |
27 | /* |
27 | /* |
28 | * Authors: Thomas Hellstrom |
28 | * Authors: Thomas Hellstrom |
29 | */ |
29 | */ |
30 | #define iowrite32(v, addr) writel((v), (addr)) |
- | |
31 | #define ioread32(addr) readl(addr) |
- | |
Line 32... | Line 30... | ||
32 | 30 | ||
33 | #include |
31 | #include |
34 | #include |
32 | #include |
35 | #include |
33 | #include |
Line 459... | Line 457... | ||
459 | return 0; |
457 | return 0; |
460 | } |
458 | } |
Line 461... | Line 459... | ||
461 | 459 | ||
462 | pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp) |
460 | pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp) |
- | 461 | { |
|
- | 462 | /* Cached mappings need no adjustment */ |
|
- | 463 | if (caching_flags & TTM_PL_FLAG_CACHED) |
|
463 | { |
464 | return tmp; |
464 | return tmp; |
465 | return tmp; |
465 | } |
466 | } |
Line 466... | Line 467... | ||
466 | EXPORT_SYMBOL(ttm_io_prot); |
467 | EXPORT_SYMBOL(ttm_io_prot); |