summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2025-01-03 18:13:45 +0300
committerRob Clark <robdclark@chromium.org>2025-01-03 18:13:45 +0300
commitc5fb51b71788926feef0d07f30c8af1d5e4af1a6 (patch)
tree4f1b22e7cde61a76c6bd00c246265f3f2f166d79 /include/linux/debugobjects.h
parenta5463629299bc12d7a6308d20e662d5b36e10cb9 (diff)
parentb44b9bc7cab2967c3d6a791b1cd542c89fc07f0e (diff)
downloadlinux-c5fb51b71788926feef0d07f30c8af1d5e4af1a6.tar.xz
Merge remote-tracking branch 'pm/opp/linux-next' into HEAD
Merge pm/opp tree to get dev_pm_opp_get_bw() Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'include/linux/debugobjects.h')
-rw-r--r--include/linux/debugobjects.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/debugobjects.h b/include/linux/debugobjects.h
index 32444686b6ff..8b95545e7924 100644
--- a/include/linux/debugobjects.h
+++ b/include/linux/debugobjects.h
@@ -23,13 +23,17 @@ struct debug_obj_descr;
* @state: tracked object state
* @astate: current active state
* @object: pointer to the real object
+ * @batch_last: pointer to the last hlist node in a batch
* @descr: pointer to an object type specific debug description structure
*/
struct debug_obj {
- struct hlist_node node;
- enum debug_obj_state state;
- unsigned int astate;
- void *object;
+ struct hlist_node node;
+ enum debug_obj_state state;
+ unsigned int astate;
+ union {
+ void *object;
+ struct hlist_node *batch_last;
+ };
const struct debug_obj_descr *descr;
};