aboutsummaryrefslogtreecommitdiff
path: root/board-js2x
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2011-02-25 14:23:05 +0100
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-03-22 15:22:09 +0100
commit0453b00574c0636e124a7d2e3560f0d45b775646 (patch)
tree09e5c66b5bc62b1e60439263cdb5a011678ae97d /board-js2x
parent8765ceff79139810683ed83cee697c35c959be4f (diff)
downloadSLOF-0453b00574c0636e124a7d2e3560f0d45b775646.zip
SLOF-0453b00574c0636e124a7d2e3560f0d45b775646.tar.gz
SLOF-0453b00574c0636e124a7d2e3560f0d45b775646.tar.bz2
Fixed compiler warning
Silenced a compiler warning that was easy to fix. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'board-js2x')
-rw-r--r--board-js2x/rtas/rtas_board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board-js2x/rtas/rtas_board.c b/board-js2x/rtas/rtas_board.c
index 899589e..9b20566 100644
--- a/board-js2x/rtas/rtas_board.c
+++ b/board-js2x/rtas/rtas_board.c
@@ -49,11 +49,12 @@ rtas_fetch_slaves(rtas_args_t * pArgs)
int retVal = 0;
int idx = 0;
uint32_t mask = pArgs->args[0] & 0xFFFFFFFE;
+ uint64_t *rtas_slave_loop_ptr = (uint64_t *)rtas_slave_loop;
while (mask) {
if (mask & 0x1) {
rtas_slave_interface.id = idx | 0x100;
*(int *) 0x3fc0 = (int)(unsigned long) &rtas_slave_interface; // r3
- *(int *) 0x3f80 = *(uint64_t *) rtas_slave_loop; // addr
+ *(int *) 0x3f80 = *rtas_slave_loop_ptr; // addr
*(int *) 0x3fa0 = idx | 0x100; // pid
while (rtas_slave_interface.id);
}