diff options
| author | Akinobu Mita <[email protected]> | 2012-01-27 04:24:48 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2012-03-07 17:09:05 +1100 |
| commit | 2d4b971287cbce16585acda4b76308faa8da0950 (patch) | |
| tree | e81c5af906bd73c1b60ee5a2a5e35b3c96c308bb /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| 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 <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: [email protected]
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions