All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] typo fixe in parisc memcpy
@ 2008-03-29 19:25 rubisher
  0 siblings, 0 replies; only message in thread
From: rubisher @ 2008-03-29 19:25 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: linux-parisc

Hello Kyle,

As discussed by this thread <http://www.mail-archive.com/linux-parisc@vger.kernel.org/msg00058.html>
may I re-submit you this hunk:

a fixe of likely's macro usage:
Signed-off-by: Joel Soete <soete dot joel at scarlet dot be>
Index: linux-current/arch/parisc/lib/memcpy.c
===================================================================
--- linux-current.orig/arch/parisc/lib/memcpy.c    2008-01-05 13:57:26.000000000 +0000
+++ linux-current/arch/parisc/lib/memcpy.c    2008-01-05 13:58:01.000000000 +0000
@@ -405,7 +405,7 @@

  unaligned_copy:
      /* possibly we are aligned on a word, but not on a double... */
-    if (likely(t1 & (sizeof(unsigned int)-1)) == 0) {
+    if (likely((t1 & (sizeof(unsigned int) - 1)) == 0)) {
          t2 = src & (sizeof(unsigned int) - 1);

          if (unlikely(t2 != 0)) {
=== <> ===

Tia,
	r.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-29 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-29 19:25 [Patch] typo fixe in parisc memcpy rubisher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.