History

softirq: Remove tasklet_hrtimer

There are no more users of this interface. Remove it.

Thomas Gleixner committed 7 years ago

Commit d7dcf261 parent 671422b2 files · +0 −76Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/interrupt.h+0−25
@@ -668,31 +668,6 @@ extern void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu); · 667 unmodified lines
668extern void tasklet_init(struct tasklet_struct *t,668extern void tasklet_init(struct tasklet_struct *t,
669 void (*func)(unsigned long), unsigned long data);669 void (*func)(unsigned long), unsigned long data);
670 670
671struct tasklet_hrtimer {
672 struct hrtimer timer;
673 struct tasklet_struct tasklet;
674 enum hrtimer_restart (*function)(struct hrtimer *);
675};
676
677extern void
678tasklet_hrtimer_init(struct tasklet_hrtimer *ttimer,
679 enum hrtimer_restart (*function)(struct hrtimer *),
680 clockid_t which_clock, enum hrtimer_mode mode);
681
682static inline
683void tasklet_hrtimer_start(struct tasklet_hrtimer *ttimer, ktime_t time,
684 const enum hrtimer_mode mode)
685{
686 hrtimer_start(&ttimer->timer, time, mode);
687}
688
689static inline
690void tasklet_hrtimer_cancel(struct tasklet_hrtimer *ttimer)
691{
692 hrtimer_cancel(&ttimer->timer);
693 tasklet_kill(&ttimer->tasklet);
694}
695
696/*671/*
697 * Autoprobing for irqs:672 * Autoprobing for irqs:
698 *673 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t