Currently, the endian conversion from CPU order to BE is open coded in mpi_read_buffer(). Replace this by the centrally provided cpu_to_be*() macros. Copy from the temporary storage on stack to the destination buffer by means of memcpy(). Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>  | 
			||
|---|---|---|
| .. | ||
| generic_mpih-add1.c | ||
| generic_mpih-lshift.c | ||
| generic_mpih-mul1.c | ||
| generic_mpih-mul2.c | ||
| generic_mpih-mul3.c | ||
| generic_mpih-rshift.c | ||
| generic_mpih-sub1.c | ||
| longlong.h | ||
| Makefile | ||
| mpi-bit.c | ||
| mpi-cmp.c | ||
| mpi-inline.h | ||
| mpi-internal.h | ||
| mpi-pow.c | ||
| mpicoder.c | ||
| mpih-cmp.c | ||
| mpih-div.c | ||
| mpih-mul.c | ||
| mpiutil.c | ||