From: Mark Nelson Date: Mon, 23 Mar 2009 20:30:41 +0000 (+0000) Subject: powerpc/wdrtas: Update wdrtas_get_interval to use rtas_data_buf X-Git-Tag: v2.6.30-rc1~134^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6966b1be568e83a48585369731f1123a6f85157;p=pandora-kernel.git powerpc/wdrtas: Update wdrtas_get_interval to use rtas_data_buf The buffer passed to the ibm,get-system-parameter RTAS call must be in the RMA. To ensure we pass an address in the RMA use rtas_data_buf for the actual RTAS call and then copy the result to value. We can't just make it static because this can be compiled in as a module. Also add the WDRTAS_SP_SPI_LEN so we don't litter '4' throughout the function. Signed-off-by: Mark Nelson Tested-by: Adrian Reber Acked-by: Utz Bacher Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed