Merge tag 'drm-fixes-2024-06-22' of https://gitlab.freedesktop.org/drm/kernel
[linux-2.6-block.git] / include / linux / timer_types.h
CommitLineData
dff0fd23
KO
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_TIMER_TYPES_H
3#define _LINUX_TIMER_TYPES_H
4
5#include <linux/lockdep_types.h>
6#include <linux/types.h>
7
8struct timer_list {
9 /*
10 * All fields that change during normal runtime grouped to the
11 * same cacheline
12 */
13 struct hlist_node entry;
14 unsigned long expires;
15 void (*function)(struct timer_list *);
16 u32 flags;
17
18#ifdef CONFIG_LOCKDEP
19 struct lockdep_map lockdep_map;
20#endif
21};
22
23#endif /* _LINUX_TIMER_TYPES_H */