Commit 6951547a authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

tasklets: Use static inlines for stub implementations

parent d2da74d1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -676,9 +676,9 @@ static inline void tasklet_unlock_wait(struct tasklet_struct *t)
		cpu_relax();
}
#else
#define tasklet_trylock(t) 1
#define tasklet_unlock_wait(t) do { } while (0)
#define tasklet_unlock(t) do { } while (0)
static inline int tasklet_trylock(struct tasklet_struct *t) { return 1; }
static inline void tasklet_unlock(struct tasklet_struct *t) { }
static inline void tasklet_unlock_wait(struct tasklet_struct *t) { }
#endif

extern void __tasklet_schedule(struct tasklet_struct *t);