From 3404bc9ab08ce8f5733fbe3e273eaf6543a5fd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 6 Jan 2015 16:25:07 +0100 Subject: [PATCH] triage: fix fp by providing a macro definition --- triage/linux-3.11/linux-3.11.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/triage/linux-3.11/linux-3.11.h b/triage/linux-3.11/linux-3.11.h index 2487aa65e..ebfca11c4 100644 --- a/triage/linux-3.11/linux-3.11.h +++ b/triage/linux-3.11/linux-3.11.h @@ -10,6 +10,8 @@ const typeof( ((type *)0)->member ) *__mptr = (ptr); \ (type *)( (char *)__mptr - offsetof(type,member) );}) +#define __get_user(x, ptr) ((x) = somevalue + sizeof(*ptr)) + void panic(const char *fmt, ...) __attribute__((noreturn));