From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932307AbbFRMSf (ORCPT ); Thu, 18 Jun 2015 08:18:35 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:34902 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932242AbbFRMSW (ORCPT ); Thu, 18 Jun 2015 08:18:22 -0400 From: Sudip Mukherjee To: David Howells , Ulf Hansson , Matthias Brugger , Johan Hovold , Greg Kroah-Hartman Cc: linux-am33-list@redhat.com, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-usb@vger.kernel.org, Sudip Mukherjee Subject: [PATCH v2 1/7] mn10300: fix build failure Date: Thu, 18 Jun 2015 17:47:47 +0530 Message-Id: <1434629873-11668-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org allmodconfig build fails with the error: invalid use of undefined type 'struct kprobe_ctlblk' just declared the two basic structures after checking the struct in other architectures. Signed-off-by: Sudip Mukherjee --- arch/mn10300/include/asm/kprobes.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/mn10300/include/asm/kprobes.h b/arch/mn10300/include/asm/kprobes.h index c800b59..c90d2b1 100644 --- a/arch/mn10300/include/asm/kprobes.h +++ b/arch/mn10300/include/asm/kprobes.h @@ -47,4 +47,16 @@ extern int kprobe_exceptions_notify(struct notifier_block *self, extern void arch_remove_kprobe(struct kprobe *p); +struct prev_kprobe { + struct kprobe *kp; + unsigned long status; +}; + +struct kprobe_ctlblk { + unsigned int kprobe_status; + struct pt_regs jprobe_saved_regs; + char jprobes_stack[MAX_STACK_SIZE]; + struct prev_kprobe prev_kprobe; +}; + #endif /* _ASM_KPROBES_H */ -- 1.8.1.2 From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudipm.mukherjee@gmail.com (Sudip Mukherjee) Date: Thu, 18 Jun 2015 17:47:47 +0530 Subject: [PATCH v2 1/7] mn10300: fix build failure In-Reply-To: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> Message-ID: <1434629873-11668-2-git-send-email-sudipm.mukherjee@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org allmodconfig build fails with the error: invalid use of undefined type 'struct kprobe_ctlblk' just declared the two basic structures after checking the struct in other architectures. Signed-off-by: Sudip Mukherjee --- arch/mn10300/include/asm/kprobes.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/mn10300/include/asm/kprobes.h b/arch/mn10300/include/asm/kprobes.h index c800b59..c90d2b1 100644 --- a/arch/mn10300/include/asm/kprobes.h +++ b/arch/mn10300/include/asm/kprobes.h @@ -47,4 +47,16 @@ extern int kprobe_exceptions_notify(struct notifier_block *self, extern void arch_remove_kprobe(struct kprobe *p); +struct prev_kprobe { + struct kprobe *kp; + unsigned long status; +}; + +struct kprobe_ctlblk { + unsigned int kprobe_status; + struct pt_regs jprobe_saved_regs; + char jprobes_stack[MAX_STACK_SIZE]; + struct prev_kprobe prev_kprobe; +}; + #endif /* _ASM_KPROBES_H */ -- 1.8.1.2