kmemleak: move common painting code together
authorLuis R. Rodriguez <lrodriguez@Atheros.com>
Sat, 5 Sep 2009 00:44:52 +0000 (17:44 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 8 Sep 2009 16:22:20 +0000 (17:22 +0100)
commita1084c8779f5efa771c6896a0a4184900b4ab736
tree64a886155022329fd5df889608260094554f31f3
parent30b3710105be0ba6bbdb7d7d126af76246b02eba
kmemleak: move common painting code together

When painting grey or black we do the same thing, bring
this together into a helper and identify coloring grey or
black explicitly with defines. This makes this a little
easier to read.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
mm/kmemleak.c