powerpc: Add length setting to set_dawr
authorMichael Neuling <mikey@neuling.org>
Thu, 24 Jan 2013 15:02:58 +0000 (15:02 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Jan 2013 00:35:07 +0000 (11:35 +1100)
commit05d694ea0daa2e442191a2128aaec78635823f08
tree4df2a2ce2ebb3ac79decb66b15e50305bbc0318a
parentf53d168c025f27d64417a56bf129dbb39d2e1189
powerpc: Add length setting to set_dawr

Currently we set the length field in the DAWR to 0 which defaults it to one
double word (64bits) which is the same as the DABR.

Change this so that we can set it to longer values as supported by the DAWR.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/process.c