OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 9feb48247d2fb45cacaaec5ac6fad506ad9a5191 created 12 years 24 days ago. By Xiangfu Liu, cgminer: most patches merged to upstream | |
---|---|
1 | From 5d3d883703d8098537c248c797009247f51b116b Mon Sep 17 00:00:00 2001 |
2 | From: Xiangfu <xiangfu@openmobilefree.net> |
3 | Date: Sun, 19 Feb 2012 22:20:22 +0800 |
4 | Subject: [PATCH] add-MIPSED-to-icarus-for-BIG_ENDIAN.patch |
5 | |
6 | --- |
7 | icarus.c | 2 +- |
8 | 1 files changed, 1 insertions(+), 1 deletions(-) |
9 | |
10 | diff --git a/icarus.c b/icarus.c |
11 | index 1d59657..26f4927 100644 |
12 | --- a/icarus.c |
13 | +++ b/icarus.c |
14 | @@ -287,7 +287,7 @@ static uint64_t icarus_scanhash(struct thr_info *thr, struct work *work, |
15 | if (nonce == 0 && ret) |
16 | return 0xffffffff; |
17 | |
18 | -#ifndef __BIG_ENDIAN__ |
19 | +#if !defined (__BIG_ENDIAN__) && !defined(MIPSEB) |
20 | nonce = swab32(nonce); |
21 | #endif |
22 | work->blk.nonce = 0xffffffff; |
23 | -- |
24 | 1.7.5.4 |
25 | |
26 |