]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfs: fix a couple of minor portability issues
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 10 Aug 2011 17:56:28 +0000 (13:56 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 10 Aug 2011 18:33:39 +0000 (14:33 -0400)
commit0124538885485603ac1fbabe3aff570147f7c8a3
tree83aadd2729772f76273e1927fe447fb9709a1372
parenta99fe7bf3744c79a43a07af65d1bbc483843f510
nfs: fix a couple of minor portability issues

Building on tilepro revealed two minor portability issues: the
blocklayout.c file used prefetchw() without #include <linux/prefetch.h>,
and the nfs4filelayout.c file used do_div() on an s64 not a u64.
This change fixes those two issues so the NFS code builds on tilepro.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
fs/nfs/blocklayout/blocklayout.c
fs/nfs/nfs4filelayout.c