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: Fri, 11 Aug 2006 17:51:51 +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=JehtlBeJvTURT4scJpkoh1p1dfzL1CeYBWxKG/TgfyUmvYV7pMwleZsLCKdBZEHRdBqES8ugHIP2tFO+uP6/Q5ifIjK4IghdlHjioWxq7g9CgHRxYs+PJrn2+fIXj6YUBCmDLT8qL7o1DTLAzbOospuVteccqcfP84bHZlNLX5M=
In-reply-to: <1155311513926-git-send-email-vagabon.xyz@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1155311513926-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 7339f54..0c6c5a3 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;
@@ -476,7 +476,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.rc4


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