Re: [PATCH V6 00/18] x86: Full support of PAT

From: JÃrgen GroÃ
Date: Sun Nov 16 2014 - 23:43:05 EST


On 11/16/2014 02:08 PM, Ingo Molnar wrote:

* Juergen Gross <jgross@xxxxxxxx> wrote:

arch/x86/include/asm/cacheflush.h | 38 ++++---

FYI, this series breaks the UML build:

In file included from /home/mingo/tip/include/linux/highmem.h:11:0,
from /home/mingo/tip/include/linux/pagemap.h:10,
from /home/mingo/tip/include/linux/mempolicy.h:14,
from /home/mingo/tip/include/linux/shmem_fs.h:6,
from /home/mingo/tip/init/do_mounts.c:30:
/home/mingo/tip/arch/x86/include/asm/cacheflush.h:67:36: error: return type is an incomplete type
static inline enum page_cache_mode get_page_memtype(struct page *pg)
^
/home/mingo/tip/arch/x86/include/asm/cacheflush.h: In function âget_page_memtypeâ:
/home/mingo/tip/arch/x86/include/asm/cacheflush.h:69:2: warning: âreturnâ with a value, in function returning void [enabled by default]
return -1;
^
/home/mingo/tip/arch/x86/include/asm/cacheflush.h: At top level:
/home/mingo/tip/arch/x86/include/asm/cacheflush.h:72:30: error: parameter 2 (âmemtypeâ) has incomplete type
enum page_cache_mode memtype)
^
/home/mingo/tip/arch/x86/include/asm/cacheflush.h:71:20: error: function declaration isnât a prototype [-Werror=strict-prototypes]

Thomas already committed a fixup. Thank you, Thomas.


Juergen

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/