]> git.karo-electronics.de Git - linux-beck.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>
Mon, 2 Apr 2012 16:13:39 +0000 (12:13 -0400)
commit918cbd38aef83de3a2516299bcb230caf59462a0
tree8e76f5dae1bc2bad5052112d5dd7961151d5d492
parent2858f856021340f3730fa8639dd520a2e4331f7f
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