mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PATCH] timer: Fix tvec_bases initializer
kernel/timer.c defines a (per-cpu) pointer to tvec_base_t, but initializes it using { &a_tvec_base_t }, which sparse warns about; change this to just &a_tvec_base_t. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bc65ac6a0f
commit
51d8c5edd3
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ typedef struct tvec_t_base_s tvec_base_t;
|
|||
|
||||
tvec_base_t boot_tvec_bases;
|
||||
EXPORT_SYMBOL(boot_tvec_bases);
|
||||
static DEFINE_PER_CPU(tvec_base_t *, tvec_bases) = { &boot_tvec_bases };
|
||||
static DEFINE_PER_CPU(tvec_base_t *, tvec_bases) = &boot_tvec_bases;
|
||||
|
||||
static inline void set_running_timer(tvec_base_t *base,
|
||||
struct timer_list *timer)
|
||||
|
|
Loading…
Reference in a new issue