]> git.hungrycats.org Git - linux/commit
[PATCH] sparc32: gcc-3.3 macro parenthesization fix for memcpy.S
authorWilliam Lee Irwin III <wli@holomorphy.com>
Sat, 7 Aug 2004 07:54:50 +0000 (00:54 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 7 Aug 2004 07:54:50 +0000 (00:54 -0700)
commit683a0c7f28b4878ec4faea2a816f3544aefa0969
tree339529db6c5460e8c7048ea99bfa4a075bfae400
parentded6d73828d2fb71f0d68af2d340ed09840a4e1f
[PATCH] sparc32: gcc-3.3 macro parenthesization fix for memcpy.S

From: Art Haas <ahaas@airmail.net>

The 1.3->1.4 changes to the arch/sparc/lib/copy_user.S file added parenthesis
to a number of macros within that file.  The BK changlog associated with this
change indicate the change was to make the file work with gcc-3.3.

When looking at the changes made, I see that similar macros exist in memcpy.S
as well, so would a patch adding parens to that file be worthwhile?  Also,
just what was the problem with gcc-3.3 that was resolved by adding the
parenthesis?  Macro mis-expansion I'm guessing.

Signed-off-by: Art Haas <ahaas@airmail.net>
Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/lib/memcpy.S