Michal Suchanek c94e7f
From: Michal Suchanek <msuchanek@suse.de>
Michal Suchanek c94e7f
Subject: kABI: powerpc/pmem: Include pmem prototypes
Michal Suchanek c94e7f
Michal Suchanek c94e7f
References: bsc#1113295 git-fixes
Michal Suchanek c94e7f
Patch-mainline: never, kABI
Michal Suchanek c94e7f
Michal Suchanek c94e7f
Acked-by: Michal Suchanek <msuchanek@suse.de>
Michal Suchanek c94e7f
---
Michal Suchanek c94e7f
Michal Suchanek c94e7f
--- a/arch/powerpc/lib/pmem.c
Michal Suchanek c94e7f
+++ b/arch/powerpc/lib/pmem.c
Michal Suchanek c94e7f
@@ -6,7 +6,9 @@
Michal Suchanek c94e7f
 #include <linux/string.h>
Michal Suchanek c94e7f
 #include <linux/export.h>
Michal Suchanek c94e7f
 #include <linux/uaccess.h>
Michal Suchanek c94e7f
+#ifndef __GENKSYMS__
Michal Suchanek c94e7f
 #include <linux/libnvdimm.h>
Michal Suchanek c94e7f
+#endif
Michal Suchanek c94e7f
 
Michal Suchanek c94e7f
 #include <asm/cacheflush.h>
Michal Suchanek c94e7f