]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/powerpc/xmon/xmon.c
Merge tag 'powerpc-3.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux
[linux-beck.git] / arch / powerpc / xmon / xmon.c
index dfe3372386999683b91217f238b3ff778dd48574..5b150f0c5df94a39587ea6b519e12192d28bce3c 100644 (file)
@@ -337,10 +337,10 @@ static inline void disable_surveillance(void)
        args.token = rtas_token("set-indicator");
        if (args.token == RTAS_UNKNOWN_SERVICE)
                return;
-       args.nargs = 3;
-       args.nret = 1;
+       args.nargs = cpu_to_be32(3);
+       args.nret = cpu_to_be32(1);
        args.rets = &args.args[3];
-       args.args[0] = SURVEILLANCE_TOKEN;
+       args.args[0] = cpu_to_be32(SURVEILLANCE_TOKEN);
        args.args[1] = 0;
        args.args[2] = 0;
        enter_rtas(__pa(&args));