Skip to contentSkip to conversation

M68k asm/system.h

PATCH New Geert Uytterhoeven 1 participant 1 message Jan 1, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 M68k asm/system.h

M68k: Add missing #ifdef __KERNEL / #endif (from Christian T. Steigies)

include/asm-m68k/system.h +4 -0
@@ -7,6 +7,8 @@
 #include <asm/segment.h>
 #include <asm/entry.h>
 
+#ifdef __KERNEL__
+
 /*
  * switch_to(n) should switch tasks to task ptr, first checking that
  * ptr isn't the current task, in which case it does nothing.  This
@@ -156,4 +158,6 @@
 }
 #endif
 
+#endif /* __KERNEL__ */
+
 #endif /* _M68K_SYSTEM_H */

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds