Log message:
Add parens around macro parameters.

Modified files:
    linux/include/asm-m68k:
        page.h 


Index: linux/include/asm-m68k/page.h
Stats: 6 modifications
http://linux-m68k-cvs.ubb.ca/c/cvsweb/linux/include/asm%2dm68k/page%2eh.diff?r1=1.14&r2=1.15
========================================================================
--- page.h      23 May 2004 00:11:09 -0000      1.14
+++ page.h      24 Aug 2005 15:33:14 -0000      1.15
@@ -138,13 +138,13 @@
 #define __pa(vaddr)            ((unsigned long)(vaddr)+m68k_memoffset)
 #define __va(paddr)            ((void *)((unsigned 
long)(paddr)-m68k_memoffset))
 #else
-#define __pa(vaddr)            virt_to_phys((void *)vaddr)
-#define __va(paddr)            phys_to_virt((unsigned long)paddr)
+#define __pa(vaddr)            virt_to_phys((void *)(vaddr))
+#define __va(paddr)            phys_to_virt((unsigned long)(paddr))
 #endif
 
 #else  /* !CONFIG_SUN3 */
 /* This #define is a horrible hack to suppress lots of warnings. --m */
-#define __pa(x) ___pa((unsigned long)x)
+#define __pa(x) ___pa((unsigned long)(x))
 static inline unsigned long ___pa(unsigned long x)
 {
      if(x == 0)
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k-cvscommit" 
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to