summaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2016-08-02 15:08:13 -0700
committerSyed Rameez Mustafa <rameezmustafa@codeaurora.org>2016-08-22 14:06:33 -0700
commit67e0df6e338edbf119ae2cb7abe52a460cb33851 (patch)
tree8508a1da431a3f36a80ed44bc59aa8c73232a35d /scripts/gcc-wrapper.py
parent9095a09ab1d2bd5b1ab123d4714003ee77aa4fa1 (diff)
sched: Move notify_migration() under CONFIG_SCHED_HMP
notify_migration() is a HMP specific function that relies on all of its contents to be stubbed out for !CONFIG_SCHED_HMP. However, it still maintains calls to rcu_read_lock/unlock(). In the !HMP case these calls are simply redundant. Move the function under CONFIG_SCHED_HMP and add a stub when the config is not defined so that there is no overhead. Change-Id: Iad914f31b629e81e403b0e89796b2b0f1d081695 Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions