aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/idr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/idr.h')
-rw-r--r--include/linux/idr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/idr.h b/include/linux/idr.h
index e856f4e0ab35..f7869f04d223 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -158,10 +158,7 @@ static inline bool idr_is_empty(const struct idr *idr)
* Each idr_preload() should be matched with an invocation of this
* function. See idr_preload() for details.
*/
-static inline void idr_preload_end(void)
-{
- preempt_enable();
-}
+void idr_preload_end(void);
/**
* idr_for_each_entry() - Iterate over an IDR's elements of a given type.