Commit bd72a68e authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] M68k asm/system.h

From: Geert Uytterhoeven <geert@linux-m68k.org>

M68k: Add missing #ifdef __KERNEL / #endif (from Christian T. Steigies)
parent 1623d448
......@@ -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 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
}
#endif
#endif /* __KERNEL__ */
#endif /* _M68K_SYSTEM_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment