diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 21:25:03 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-05-20 13:45:36 -0400 |
commit | 125b25b4c1607d73222bb88196266f842879fc47 (patch) | |
tree | 30a36e326e6bf585419f5460356c4b0aff89588e /include | |
parent | 73737b48e9af55e5cc84d2247cc34d77f1af4d4e (diff) |
locking-various-init-fixes.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/idr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/idr.h b/include/linux/idr.h index 52a9da295296..dffed8f9b073 100644 --- a/include/linux/idr.h +++ b/include/linux/idr.h @@ -136,7 +136,7 @@ struct ida { struct ida_bitmap *free_bitmap; }; -#define IDA_INIT(name) { .idr = IDR_INIT(name), .free_bitmap = NULL, } +#define IDA_INIT(name) { .idr = IDR_INIT((name).idr), .free_bitmap = NULL, } #define DEFINE_IDA(name) struct ida name = IDA_INIT(name) int ida_pre_get(struct ida *ida, gfp_t gfp_mask); |