commit | 2d4b971287cbce16585acda4b76308faa8da0950 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Fri Jan 27 04:24:48 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Mar 07 17:09:05 2012 +1100 |
tree | e81c5af906bd73c1b60ee5a2a5e35b3c96c308bb | |
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>