diff options
Diffstat (limited to 'include/linux/idr.h')
| -rw-r--r-- | include/linux/idr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/idr.h b/include/linux/idr.h index 0edda411959c..9a2d762124de 100644 --- a/include/linux/idr.h +++ b/include/linux/idr.h | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
| 16 | #include <linux/bitops.h> | 16 | #include <linux/bitops.h> |
| 17 | #include <linux/init.h> | ||
| 17 | 18 | ||
| 18 | #if BITS_PER_LONG == 32 | 19 | #if BITS_PER_LONG == 32 |
| 19 | # define IDR_BITS 5 | 20 | # define IDR_BITS 5 |
| @@ -115,4 +116,6 @@ void ida_remove(struct ida *ida, int id); | |||
| 115 | void ida_destroy(struct ida *ida); | 116 | void ida_destroy(struct ida *ida); |
| 116 | void ida_init(struct ida *ida); | 117 | void ida_init(struct ida *ida); |
| 117 | 118 | ||
| 119 | void __init idr_init_cache(void); | ||
| 120 | |||
| 118 | #endif /* __IDR_H__ */ | 121 | #endif /* __IDR_H__ */ |
