Commit 87451d850c895470a122308086069b7c326c914b

Authored by Randolph Chung
Committed by Kyle McMartin
1 parent e957f608f3

parisc: fix mismatched parenthesis in memcpy.c

>>>> I think this is what was intended? Note that this patch may affect
>>>> profiling.
>>> it really should be
>>>
>>> -    if (likely(t1 & (sizeof(unsigned int)-1)) == 0) {
>>> +    if (likely((t1 & (sizeof(unsigned int)-1)) == 0)) {
>>>
>>> randolph

Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Randolph Chung <tausq@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/parisc/lib/memcpy.c
... ... @@ -405,7 +405,7 @@
405 405  
406 406 unaligned_copy:
407 407 /* possibly we are aligned on a word, but not on a double... */
408   - if (likely(t1 & (sizeof(unsigned int)-1)) == 0) {
  408 + if (likely((t1 & (sizeof(unsigned int)-1)) == 0)) {
409 409 t2 = src & (sizeof(unsigned int) - 1);
410 410  
411 411 if (unlikely(t2 != 0)) {