]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: fix mismatched parenthesis in memcpy.c
authorRandolph Chung <randolph@tausq.org>
Tue, 23 Jun 2009 14:53:26 +0000 (14:53 +0000)
committerKyle McMartin <kyle@mcmartin.ca>
Fri, 3 Jul 2009 03:34:09 +0000 (03:34 +0000)
commit2848cab9300e0fcaebc5e80e055cc990e90ea326
tree07f60f7ccd88aa37d5e2029fdc0f48dc63df46ba
parentb418521e2cbedab7585f10e97dc721e9ddb20a7c
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>
arch/parisc/lib/memcpy.c