diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-26 11:24:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-28 12:18:43 +0100 |
commit | bd5d6781a0f1b9be8c26da78c0e3110e7481b45b (patch) | |
tree | 6d84917a37f091cd17c6811f2baa3348e4c831d3 /drivers/acpi/tables.c | |
parent | drm/i915: Remove second level open-coded rcu work (diff) | |
download | linux-bd5d6781a0f1b9be8c26da78c0e3110e7481b45b.tar.xz linux-bd5d6781a0f1b9be8c26da78c0e3110e7481b45b.zip |
drm/i915: Use __ffs() in for_each_priolist for more compact code
Gcc has a slight preference if we use __ffs() to subtract one from the
index once rather than each use:
__execlists_submission_tasklet 2867 2847 -20
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190226102404.29153-11-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/acpi/tables.c')
0 files changed, 0 insertions, 0 deletions