]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arch/tile: fix pointer cast in cacheflush.c
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 29 Mar 2012 20:14:40 +0000 (16:14 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Mar 2012 22:56:47 +0000 (18:56 -0400)
commit7f4ca705ad67e39f4eefce651bccf4d4695a8a1c
tree189239c2da184f941fb4e2089b7d729c37b800de
parentebe943060720c4c5bd69d62d5700fcdc563522e4
arch/tile: fix pointer cast in cacheflush.c

Pragmatically it couldn't be wrong to cast pointers to long to compare
them (since all kernel addresses are in the top half of VA space),
but it's more correct to cast to unsigned long.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/lib/cacheflush.c