Thread (45 messages) 45 messages, 4 authors, 2016-01-18

Re: [RFC PATCH V1 14/33] powerpc/mm: Use helper for finding pte bits mapping I/O area

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2016-01-13 03:57:35

On Tue, 2016-01-12 at 10:42 +0300, Denis Kirjanov wrote:
quoted
+static inline unsigned long pte_io_cache_bits(void)
+{
+     return _PAGE_NO_CACHE | _PAGE_GUARDED;
+}
This could be just plain #define
Or just use pgprot_noncached()

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help