linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/mm: ptdump: Add missing include <asm/vio.h>
@ 2020-04-02 13:58 YueHaibing
  2020-04-03  4:58 ` Michael Ellerman
  2020-04-03  6:47 ` [PATCH v2] powerpc/mm: ptdump: Add missing include <asm/hvcall.h> YueHaibing
  0 siblings, 2 replies; 4+ messages in thread
From: YueHaibing @ 2020-04-02 13:58 UTC (permalink / raw)
  To: mpe, benh, paulus, gregkh, christophe.leroy, allison, armijn,
	tglx, aneesh.kumar, yuehaibing
  Cc: linuxppc-dev, linux-kernel

gcc build fails:

arch/powerpc/mm/ptdump/hashpagetable.c: In function ‘pseries_find’:
arch/powerpc/mm/ptdump/hashpagetable.c:262:18: error: ‘H_SUCCESS’ undeclared (first use in this function); did you mean ‘FL_ACCESS’?
   if (lpar_rc != H_SUCCESS)
                  ^~~~~~~~~
                  FL_ACCESS

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 65e701b2d2a8 ("powerpc/ptdump: drop non vital #ifdefs")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 arch/powerpc/mm/ptdump/hashpagetable.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/mm/ptdump/hashpagetable.c b/arch/powerpc/mm/ptdump/hashpagetable.c
index b6ed9578382f..8ea5f9a3b658 100644
--- a/arch/powerpc/mm/ptdump/hashpagetable.c
+++ b/arch/powerpc/mm/ptdump/hashpagetable.c
@@ -20,6 +20,7 @@
 #include <asm/page.h>
 #include <asm/pgalloc.h>
 #include <asm/plpar_wrappers.h>
+#include <asm/vio.h>
 #include <linux/memblock.h>
 #include <asm/firmware.h>
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-03  6:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-02 13:58 [PATCH] powerpc/mm: ptdump: Add missing include <asm/vio.h> YueHaibing
2020-04-03  4:58 ` Michael Ellerman
2020-04-03  6:26   ` Yuehaibing
2020-04-03  6:47 ` [PATCH v2] powerpc/mm: ptdump: Add missing include <asm/hvcall.h> YueHaibing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).