diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-01-27 04:24:48 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-03-07 17:09:05 +1100 |
commit | 2d4b971287cbce16585acda4b76308faa8da0950 (patch) | |
tree | e81c5af906bd73c1b60ee5a2a5e35b3c96c308bb /arch/powerpc/platforms/Makefile | |
parent | ad5b7f1350c263eef0c99c20f8659d0ed363cb32 (diff) |
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 'arch/powerpc/platforms/Makefile')
0 files changed, 0 insertions, 0 deletions