[2.4 PATCH] parisc pdc parenthesis fix

From: Mariusz Kozlowski
Date: Fri Dec 01 2006 - 10:29:26 EST


Hello,

This patch fixes removes an extra parenthesis in PAT_GET_MOD_PAGES() macro code.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

include/asm-parisc/pdc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.4.34-pre6-a/include/asm-parisc/pdc.h 2003-06-13 16:51:38.000000000 +0200
+++ linux-2.4.34-pre6-b/include/asm-parisc/pdc.h 2006-12-01 12:01:46.000000000 +0100
@@ -1000,7 +1000,7 @@ int pdc_pat_pd_get_addr_map(unsigned lon
#define PAT_GET_ENTITY(value) (((value) >> 56) & 0xffUL)
#define PAT_GET_DVI(value) (((value) >> 48) & 0xffUL)
#define PAT_GET_IOC(value) (((value) >> 40) & 0xffUL)
-#define PAT_GET_MOD_PAGES(value)(((value) & 0xffffffUL)
+#define PAT_GET_MOD_PAGES(value) ((value) & 0xffffffUL)

#else /* !__LP64__ */
/* No PAT support for 32-bit kernels...sorry */


--
Regards,

Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/