summaryrefslogtreecommitdiffstats
path: root/lib/ioremap.c
diff options
context:
space:
mode:
authorNicolai Stange <nicstange@gmail.com>2016-03-22 13:12:40 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-05 14:35:49 +0200
commitf00fa2417b3e1252b1a761f88731af03afff4407 (patch)
tree1ba46a98908d23e0c95eb52b5e5a52173b7d06b9 /lib/ioremap.c
parentlib/mpi: mpi_write_sgl(): replace open coded endian conversion (diff)
downloadlinux-f00fa2417b3e1252b1a761f88731af03afff4407.tar.xz
linux-f00fa2417b3e1252b1a761f88731af03afff4407.zip
lib/mpi: mpi_read_buffer(): optimize skipping of leading zero limbs
Currently, if the number of leading zeros is greater than fits into a complete limb, mpi_read_buffer() skips them by iterating over them limb-wise. Instead of skipping the high order zero limbs within the loop as shown above, adjust the copying loop's bounds. Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions