summaryrefslogtreecommitdiffstats
path: root/Documentation/io_ordering.txt
diff options
context:
space:
mode:
authorDave Gordon <david.s.gordon@intel.com>2015-12-08 13:30:51 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-12-10 09:36:42 +0100
commite8ebd8e2bd06e3509e1a4d65cbc7293d72897dd7 (patch)
treef4a3f5581fe7b5228e961f67bac56a09b2978550 /Documentation/io_ordering.txt
parenta25c9f00ce2586dfa70ea16fc2e3f2f9043cea62 (diff)
downloadop-kernel-dev-e8ebd8e2bd06e3509e1a4d65cbc7293d72897dd7.zip
op-kernel-dev-e8ebd8e2bd06e3509e1a4d65cbc7293d72897dd7.tar.gz
drm/i915: eliminate 'temp' in gen8_for_each_{pdd, pdpe, pml4e} macros
All of these iterator macros require a 'temp' argument, used merely to hold internal partial results. We can instead declare the temporary variable inside the macro, so the caller need not provide it. Some of the old code contained nested iterators that actually reused the same 'temp' variable for both inner and outer instances. It's quite surprising that this didn't introduce bugs! But it does show that the value of 'temp' isn't required to persist during the iterated body. Signed-off-by: Dave Gordon <david.s.gordon@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1449581451-11848-2-git-send-email-david.s.gordon@intel.com
Diffstat (limited to 'Documentation/io_ordering.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud