diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-01-27 04:24:48 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-07 06:09:05 (GMT) |
commit | 2d4b971287cbce16585acda4b76308faa8da0950 (patch) | |
tree | e81c5af906bd73c1b60ee5a2a5e35b3c96c308bb /firmware/kaweth | |
parent | ad5b7f1350c263eef0c99c20f8659d0ed363cb32 (diff) | |
download | linux-fsl-qoriq-2d4b971287cbce16585acda4b76308faa8da0950.tar.xz |
powerpc/pmac: Use string library in nvram code
- Use memchr_inv to check if the data contains all 0xFF bytes.
It is faster than looping for each byte.
- Use memcmp to compare memory areas
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'firmware/kaweth')
0 files changed, 0 insertions, 0 deletions