History

posix-timers: Unbreak CONFIG_POSIX_TIMERS=n build

The rework of the posix-cpu-timers patch series dropped the empty declaration of struct cpu_timer for the CONFIG_POSIX_TIMERS=n case which causes the build to fail: ./include/linux/posix-timers.h:218:20: error: field 'cpu' has incomplete type Add it back.

Thomas Gleixner committed 7 years ago

Commit 8f2edb41 parent 71fed981 file · +1 −0Browse files

Unified · Split

include/linux/posix-timers.h+1−0
@@ -161,6 +161,7 @@ static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, · 160 unmodified lines
161 },161 },
162#else162#else
163struct posix_cputimers { };163struct posix_cputimers { };
164struct cpu_timer { };
164#define INIT_CPU_TIMERS(s)165#define INIT_CPU_TIMERS(s)
165static inline void posix_cputimers_init(struct posix_cputimers *pct) { }166static inline void posix_cputimers_init(struct posix_cputimers *pct) { }
166static inline void posix_cputimers_group_init(struct posix_cputimers *pct,167static inline void posix_cputimers_group_init(struct posix_cputimers *pct,

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