diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 19:41:35 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-04-04 22:09:30 (GMT) |
commit | 23e91e8aca1dd0472801f62dc59043ad0a1fff42 (patch) | |
tree | cdcdcb2688c226dd39fa32d3266fb45af403c371 /lib/debugobjects.c | |
parent | 89207ed8deef22377119ae50dd8afe6481e2fd6a (diff) | |
download | linux-fsl-qoriq-23e91e8aca1dd0472801f62dc59043ad0a1fff42.tar.xz |
debugobjects-rt.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/debugobjects.c')
-rw-r--r-- | lib/debugobjects.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c index d11808c..cf5f02f 100644 --- a/lib/debugobjects.c +++ b/lib/debugobjects.c @@ -309,7 +309,10 @@ __debug_object_init(void *addr, struct debug_obj_descr *descr, int onstack) struct debug_obj *obj; unsigned long flags; - fill_pool(); +#ifdef CONFIG_PREEMPT_RT_FULL + if (preempt_count() == 0 && !irqs_disabled()) +#endif + fill_pool(); db = get_bucket((unsigned long) addr); |