linux-mips
[Top] [All Lists]

[PATCH 4/6] setup.c: do not inline functions

To: linux-mips@linux-mips.org
Subject: [PATCH 4/6] setup.c: do not inline functions
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Wed, 9 Aug 2006 16:52:36 +0200
Cc: anemo@mba.ocn.ne.jp, ralf@linux-mips.org, yoichi_yuasa@tripeaks.co.jp, Franck Bui-Huu <vagabon.xyz@gmail.com>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=roasQ7PdJoYCQ10nu6oEN2LWDE0WaGcHznwrzWpdshmT29OfA9rRCB+Wv98YodAjLY4qEuJkMQNVezAkWfl9Qe7a6tczSb5ExDFDw5mWUU+IhuvXbocEA9OU5jsFPHwqGfIEoiOrkJRB+jyf8RiH0g+LiESv03wXJoYQB1xL4eg=
In-reply-to: <11551351581277-git-send-email-vagabon.xyz@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11551351581277-git-send-email-vagabon.xyz@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
There's no point to inline any functions in setup.c. Let's GCC
doing its job, it's good enough for that now.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
---
 arch/mips/kernel/setup.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index c73bd80..019b564 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -135,7 +135,7 @@ static void __init print_memory_map(void
        }
 }
 
-static inline void parse_cmdline_early(void)
+static void __init parse_cmdline_early(void)
 {
        char c = ' ', *to = command_line, *from = saved_command_line;
        unsigned long start_at, mem_size;
@@ -477,7 +477,7 @@ static void __init arch_mem_init(char **
 #define MAXMEM         HIGHMEM_START
 #define MAXMEM_PFN     PFN_DOWN(MAXMEM)
 
-static inline void resource_init(void)
+static void __init resource_init(void)
 {
        int i;
 
-- 
1.4.2.rc2


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