aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug-internal.h
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2016-09-08 13:55:39 +0100
committerWill Deacon <[email protected]>2016-09-09 11:43:50 +0100
commitd3ea42aad584493b99c109e59ced77db145a68e1 (patch)
treea9a5c116c242eab0415e82b1a969ad0642f74364 /tools/lib/api/debug-internal.h
parentadf7589997927b1d84a5d003027b866bbef61ef2 (diff)
arm64: simplify contextidr_thread_switch
When CONFIG_PID_IN_CONTEXTIDR is not selected, we use an empty stub definition of contextidr_thread_switch(). As everything we rely upon exists regardless of CONFIG_PID_IN_CONTEXTIDR, we don't strictly require an empty stub. By using IS_ENABLED() rather than ifdeffery, we avoid duplication, and get compiler coverage on all the code even when CONFIG_PID_IN_CONTEXTIDR is not selected and the code is optimised away. Signed-off-by: Mark Rutland <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/lib/api/debug-internal.h')
0 files changed, 0 insertions, 0 deletions