lkml.org 
[lkml]   [2020]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH v7 13/41] s390/kasan: include asm/page.h from asm/kasan.h
From
asm/kasan.h relies on pgd_t type that is defined in asm/page.h. Include
asm/page.h from asm/kasan.h.

Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
---
Change-Id: I369a8f9beb442b9d05733892232345c3f4120e0a
---
arch/s390/include/asm/kasan.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/s390/include/asm/kasan.h b/arch/s390/include/asm/kasan.h
index e9bf486de136..a0ea4158858b 100644
--- a/arch/s390/include/asm/kasan.h
+++ b/arch/s390/include/asm/kasan.h
@@ -2,6 +2,8 @@
#ifndef __ASM_KASAN_H
#define __ASM_KASAN_H

+#include <asm/page.h>
+
#ifdef CONFIG_KASAN

#define KASAN_SHADOW_SCALE_SHIFT 3
--
2.29.1.341.ge80a0c044ae-goog
\
 
 \ /
  Last update: 2020-11-02 17:07    [W:0.231 / U:4.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site