File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -138,13 +138,13 @@ extern unsigned long m68k_memoffset;
138
138
#define __pa (vaddr ) ((unsigned long)(vaddr)+m68k_memoffset)
139
139
#define __va (paddr ) ((void *)((unsigned long)(paddr)-m68k_memoffset))
140
140
#else
141
- #define __pa (vaddr ) virt_to_phys((void *)vaddr)
142
- #define __va (paddr ) phys_to_virt((unsigned long)paddr)
141
+ #define __pa (vaddr ) virt_to_phys((void *)( vaddr) )
142
+ #define __va (paddr ) phys_to_virt((unsigned long)( paddr) )
143
143
#endif
144
144
145
145
#else /* !CONFIG_SUN3 */
146
146
/* This #define is a horrible hack to suppress lots of warnings. --m */
147
- #define __pa (x ) ___pa((unsigned long)x )
147
+ #define __pa (x ) ___pa((unsigned long)(x) )
148
148
static inline unsigned long ___pa (unsigned long x )
149
149
{
150
150
if (x == 0 )
You can’t perform that action at this time.
0 commit comments