diff options
author | Mark Nelson <markn@au1.ibm.com> | 2009-03-23 21:30:41 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2009-04-07 07:07:43 +0200 |
commit | b6966b1be568e83a48585369731f1123a6f85157 (patch) | |
tree | cbed24a70a521a32965b18c589035e819003c7a4 /arch/powerpc/kernel/setup-common.c | |
parent | Merge branch 'next' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powe... (diff) | |
download | linux-b6966b1be568e83a48585369731f1123a6f85157.tar.xz linux-b6966b1be568e83a48585369731f1123a6f85157.zip |
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 <markn@au1.ibm.com>
Tested-by: Adrian Reber <adrian@lisas.de>
Acked-by: Utz Bacher <utz.bacher@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
0 files changed, 0 insertions, 0 deletions