From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761167AbZB0V0a (ORCPT ); Fri, 27 Feb 2009 16:26:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760260AbZB0VZr (ORCPT ); Fri, 27 Feb 2009 16:25:47 -0500 Received: from gw.goop.org ([64.81.55.164]:40005 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759998AbZB0VZq (ORCPT ); Fri, 27 Feb 2009 16:25:46 -0500 Message-ID: <49A85A4D.5040703@goop.org> Date: Fri, 27 Feb 2009 13:25:33 -0800 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Ingo Molnar CC: the arch/x86 maintainers , Linux Kernel Mailing List Subject: [PATCH 3/3] x86: add forward decl for tss_struct X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Its the correct thing to do before using the struct in a prototype. Signed-off-by: Jeremy Fitzhardinge diff --git a/arch/x86/include/asm/system.h b/arch/x86/include/asm/system.h index 1a7bf39..643c59b 100644 --- a/arch/x86/include/asm/system.h +++ b/arch/x86/include/asm/system.h @@ -20,6 +20,7 @@ struct task_struct; /* one of the stranger aspects of C forward declarations */ struct task_struct *__switch_to(struct task_struct *prev, struct task_struct *next); +struct tss_struct; void __switch_to_xtra(struct task_struct *prev_p, struct task_struct *next_p, struct tss_struct *tss);