mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] m68k: Make thread_info.h usable from assembly.
@ 2009-09-07  3:11 Tim Abbott
  2009-09-07  3:11 ` [PATCH 2/2] m68k: Cleanup linker scripts using new linker script macros Tim Abbott
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Abbott @ 2009-09-07  3:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Sam Ravnborg, Tim Abbott

Signed-off-by: Tim Abbott <tabbott@ksplice.com>
---
 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 6ea5c33..192dee7 100644
--- a/arch/m68k/include/asm/thread_info_mm.h
+++ b/arch/m68k/include/asm/thread_info_mm.h
@@ -4,6 +4,7 @@
 #include <asm/types.h>
 #include <asm/page.h>
 
+#ifndef __ASSEMBLY__
 struct thread_info {
 	struct task_struct	*task;		/* main task structure */
 	unsigned long		flags;
@@ -12,6 +13,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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-07  3:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-07  3:11 [PATCH 1/2] m68k: Make thread_info.h usable from assembly Tim Abbott
2009-09-07  3:11 ` [PATCH 2/2] m68k: Cleanup linker scripts using new linker script macros Tim Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®