linux-mips
[Top] [All Lists]

[PATCH 1/9] tracing: MIPS: mcount.S: merge the same continuous #ifdefs

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 1/9] tracing: MIPS: mcount.S: merge the same continuous #ifdefs
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Wed, 12 May 2010 21:23:09 +0800
Cc: linux-mips <linux-mips@linux-mips.org>, Wu Zhangjin <wuzhangjin@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=XdwDEiJB1OR8QQQP7z/6LGY0uLnjSJF+kxyFjiC3dfY=; b=u04p7KWYmv80ow5nC2Fg1iGG2UOdvDH6UiZNg+0QCcucDzMw/MC/R31ZWilAhnbuz+ bh16WsG6XGjkna8JVFsFKhvKqg1tHFnjVDlyYw8mZNr41/OZw/LqSq7D8aXVHoV1aFBP HPreQhFdPjnyTmUeyMcwnIuyvzU28UtdPI22s=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=mV3iFNk5RQAj/T8mXQm7KNB3em0x5Bkr1I1pMyDsBph9G8LqY6W+i199HqFNxIBGJ8 uKtEKaPVAcRM/S11kC97l4udnf0m0RjbvRaf5de6ffrHqkHi4X+VFB+i2X82g33mu7Cr s/YJhG7iXG6kopLDsg3xbiaFCAjVei3aioVvY=
In-reply-to: <cover.1273669419.git.wuzhangjin@gmail.com>
In-reply-to: <cover.1273669419.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1273669419.git.wuzhangjin@gmail.com>
References: <cover.1273669419.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: Wu Zhangjin <wuzhangjin@gmail.com>

There are two same continuous #ifdefs, this patch merges them to reduce
two lines.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/kernel/mcount.S |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/mcount.S b/arch/mips/kernel/mcount.S
index 6851fc9..e256bf9 100644
--- a/arch/mips/kernel/mcount.S
+++ b/arch/mips/kernel/mcount.S
@@ -45,8 +45,6 @@
        PTR_L   a5, PT_R9(sp)
        PTR_L   a6, PT_R10(sp)
        PTR_L   a7, PT_R11(sp)
-#endif
-#ifdef CONFIG_64BIT
        PTR_ADDIU       sp, PT_SIZE
 #else
        PTR_ADDIU       sp, (PT_SIZE + 8)
-- 
1.7.0.4


<Prev in Thread] Current Thread [Next in Thread>