lkml.org 
[lkml]   [2017]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 00/23] [v4] KAISER: unmap most of the kernel from userspace page tables

* Ingo Molnar <mingo@kernel.org> wrote:

>
> 32-bit x86 defconfig still doesn't build:
>
> arch/x86/events/intel/ds.c: In function ‘dsalloc’:
> arch/x86/events/intel/ds.c:296:6: error: implicit declaration of function ‘kaiser_add_mapping’; did you mean ‘kgid_has_mapping’? [-Werror=implicit-function-declaration]

The patch below should cure this one - only build tested.

Thanks,

Ingo

arch/x86/events/intel/ds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/events/intel/ds.c b/arch/x86/events/intel/ds.c
index c9f44d7ce838..61388b01962d 100644
--- a/arch/x86/events/intel/ds.c
+++ b/arch/x86/events/intel/ds.c
@@ -3,7 +3,7 @@
#include <linux/types.h>
#include <linux/slab.h>

-#include <asm/kaiser.h>
+#include <linux/kaiser.h>
#include <asm/perf_event.h>
#include <asm/insn.h>

\
 
 \ /
  Last update: 2017-11-23 08:33    [W:0.305 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site