2012-03-05 04:19:17 +02:00
|
|
|
From 5d3d883703d8098537c248c797009247f51b116b Mon Sep 17 00:00:00 2001
|
2012-02-19 16:26:00 +02:00
|
|
|
From: Xiangfu <xiangfu@openmobilefree.net>
|
|
|
|
Date: Sun, 19 Feb 2012 22:20:22 +0800
|
2012-03-05 04:19:17 +02:00
|
|
|
Subject: [PATCH] add-MIPSED-to-icarus-for-BIG_ENDIAN.patch
|
2012-02-19 16:26:00 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
icarus.c | 2 +-
|
|
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/icarus.c b/icarus.c
|
2012-02-25 18:25:46 +02:00
|
|
|
index 1d59657..26f4927 100644
|
2012-02-19 16:26:00 +02:00
|
|
|
--- a/icarus.c
|
|
|
|
+++ b/icarus.c
|
2012-02-25 18:25:46 +02:00
|
|
|
@@ -287,7 +287,7 @@ static uint64_t icarus_scanhash(struct thr_info *thr, struct work *work,
|
|
|
|
if (nonce == 0 && ret)
|
2012-02-19 16:26:00 +02:00
|
|
|
return 0xffffffff;
|
|
|
|
|
|
|
|
-#ifndef __BIG_ENDIAN__
|
|
|
|
+#if !defined (__BIG_ENDIAN__) && !defined(MIPSEB)
|
|
|
|
nonce = swab32(nonce);
|
|
|
|
#endif
|
|
|
|
work->blk.nonce = 0xffffffff;
|
|
|
|
--
|
|
|
|
1.7.5.4
|
|
|
|
|