diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 21:25:03 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-12-28 16:25:25 -0600 |
commit | a3a0eb8d65ad812b18faf263a845ff45be1f8618 (patch) | |
tree | ad3b220a3dbc0494dbe7b2e0dd21a8cfdd10f73b /include | |
parent | c094c41cecd5410e637a26cbf6f5e87e258ac390 (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 255491cf522e..4eaacf03e4a6 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); |