From patchwork Thu Jan 16 22:20:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 3500801 X-Patchwork-Delegate: lethal@linux-sh.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A613BC02DC for ; Thu, 16 Jan 2014 22:25:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D0C7320172 for ; Thu, 16 Jan 2014 22:25:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AD0EF20170 for ; Thu, 16 Jan 2014 22:25:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751601AbaAPWZY (ORCPT ); Thu, 16 Jan 2014 17:25:24 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:51818 "EHLO michel.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751591AbaAPWZX (ORCPT ); Thu, 16 Jan 2014 17:25:23 -0500 Received: from ayla.of.borg ([84.193.72.141]) by michel.telenet-ops.be with bizsmtp id EmLK1n00D32ts5g06mLKjl; Thu, 16 Jan 2014 23:20:21 +0100 Received: from geert by ayla.of.borg with local (Exim 4.76) (envelope-from ) id 1W3vIR-0003Sy-0C; Thu, 16 Jan 2014 23:20:19 +0100 From: Geert Uytterhoeven To: Andrew Morton Cc: Greg Kroah-Hartman , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Wanlong Gao , Geert Uytterhoeven Subject: [PATCH] sh: kgdb: Add missing #include Date: Thu, 16 Jan 2014 23:20:00 +0100 Message-Id: <1389910800-13083-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wanlong Gao arch/sh/kernel/kgdb.c: In function 'sleeping_thread_to_gdb_regs': arch/sh/kernel/kgdb.c:225:32: error: implicit declaration of function 'task_stack_page' [-Werror=implicit-function-declaration] arch/sh/kernel/kgdb.c:242:23: error: dereferencing pointer to incomplete type arch/sh/kernel/kgdb.c:243:22: error: dereferencing pointer to incomplete type arch/sh/kernel/kgdb.c: In function 'singlestep_trap_handler': arch/sh/kernel/kgdb.c:310:27: error: 'SIGTRAP' undeclared (first use in this function) arch/sh/kernel/kgdb.c:310:27: note: each undeclared identifier is reported only once for each function it appears in This is introduced by commit 16559ae48c76f1ceb970b9719dea62b77eb5d06b ("kgdb: remove #include from kgdb.h"). Reported-by: Fengguang Wu Signed-off-by: Wanlong Gao [geert: Reworded and reformatted] Signed-off-by: Geert Uytterhoeven --- http://kisskb.ellerman.id.au/kisskb/buildresult/10477672/ arch/sh/kernel/kgdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/kernel/kgdb.c b/arch/sh/kernel/kgdb.c index 38b313909ac9..adad46e41a1d 100644 --- a/arch/sh/kernel/kgdb.c +++ b/arch/sh/kernel/kgdb.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include