[PATCH 0/2] jump_labels: Embedding static keys inside structures

2016-09-19 Thread Marc Zyngier
The jump_label API assumes that the static keys will be allocated as top-level static variables. Nothing wrong with that, but this makes it slightly awkward when trying to embed the static key inside another structure. The user ends up diving into the internals of the API, making the result a bit

[PATCH 0/2] jump_labels: Embedding static keys inside structures

2016-09-19 Thread Marc Zyngier
The jump_label API assumes that the static keys will be allocated as top-level static variables. Nothing wrong with that, but this makes it slightly awkward when trying to embed the static key inside another structure. The user ends up diving into the internals of the API, making the result a bit