Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759946AbZIPQrg (ORCPT ); Wed, 16 Sep 2009 12:47:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759886AbZIPQra (ORCPT ); Wed, 16 Sep 2009 12:47:30 -0400 Received: from BISCAYNE-ONE-STATION.MIT.EDU ([18.7.7.80]:42448 "EHLO biscayne-one-station.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759815AbZIPQr2 (ORCPT ); Wed, 16 Sep 2009 12:47:28 -0400 From: Tim Abbott To: Geert Uytterhoeven , Roman Zippel Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org, Sam Ravnborg , Tim Abbott , Geert Uytterhoeven , Roman Zippel Subject: [PATCH v2 1/2] m68k: Make thread_info.h usable from assembly. Date: Wed, 16 Sep 2009 12:44:25 -0400 Message-Id: <1253119466-19488-2-git-send-email-tabbott@ksplice.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1253119466-19488-1-git-send-email-tabbott@ksplice.com> References: <1253119466-19488-1-git-send-email-tabbott@ksplice.com> X-Spam-Flag: NO X-Spam-Score: 0.00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 37 Signed-off-by: Tim Abbott Cc: Geert Uytterhoeven Cc: Roman Zippel Cc: linux-m68k@lists.linux-m68k.org Cc: Sam Ravnborg --- arch/m68k/include/asm/thread_info_mm.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/m68k/include/asm/thread_info_mm.h b/arch/m68k/include/asm/thread_info_mm.h index b6da388..5f36cf1 100644 --- a/arch/m68k/include/asm/thread_info_mm.h +++ b/arch/m68k/include/asm/thread_info_mm.h @@ -8,6 +8,7 @@ #include #include +#ifndef __ASSEMBLY__ struct thread_info { struct task_struct *task; /* main task structure */ unsigned long flags; @@ -16,6 +17,7 @@ struct thread_info { __u32 cpu; /* should always be 0 on m68k */ struct restart_block restart_block; }; +#endif /* __ASSEMBLY__ */ #define PREEMPT_ACTIVE 0x4000000 -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/