linux-mips
[Top] [All Lists]

[2.4 PATCH] mips64 klconfig parenthesis fix

To: ralf@linux-mips.org
Subject: [2.4 PATCH] mips64 klconfig parenthesis fix
From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Mon, 4 Dec 2006 10:37:21 +0100
Cc: linux-mips@linux-mips.org, Willy Tarreau <wtarreau@hera.kernel.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.5
Hello,

        This patch fixes parenthesis stuff in PTR_CH_MALLOC_HDR() macro code.

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

 include/asm-mips64/sn/klconfig.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.4.34-pre6-a/include/asm-mips64/sn/klconfig.h        2002-11-29 
00:53:15.000000000 +0100
+++ linux-2.4.34-pre6-b/include/asm-mips64/sn/klconfig.h        2006-12-01 
12:01:25.000000000 +0100
@@ -196,7 +196,7 @@ typedef struct kl_config_hdr {
                        ((__psunsigned_t)_k + (_k->ch_malloc_hdr_off)))
 #else
 #define PTR_CH_MALLOC_HDR(_k)   ((klc_malloc_hdr_t *)\
-                       (unsigned long)_k + (_k->ch_malloc_hdr_off)))
+                       ((unsigned long)_k + (_k->ch_malloc_hdr_off)))
 #endif
 
 #define KL_CONFIG_CH_MALLOC_HDR(_n)   PTR_CH_MALLOC_HDR(KL_CONFIG_HDR(_n))


-- 
Regards,

        Mariusz Kozlowski

<Prev in Thread] Current Thread [Next in Thread>
  • [2.4 PATCH] mips64 klconfig parenthesis fix, Mariusz Kozlowski <=