Re: [patch 1/6] add __init declaration to mca functions

From: Keith Owens <kaos_at_sgi.com>
Date: 2006-03-15 16:58:28
"Chen, Kenneth W" (on Sun, 12 Mar 2006 08:52:20 -0800) wrote:
>Mark init related variable and functions with appropriate
>__init* declaration to mca functions.
>
>
>Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
>
>--- ./arch/ia64/kernel/mca.c.orig	2006-03-12 01:23:18.000000000 -0800
>+++ ./arch/ia64/kernel/mca.c	2006-03-12 09:01:44.713161302 -0800
>@@ -133,7 +133,7 @@ static int cpe_poll_enabled = 1;
> 
> extern void salinfo_log_wakeup(int type, u8 *buffer, u64 size, int irqsafe);
> 
>-static int mca_init;
>+static int mca_init __initdata;

Coding style niggle.  Attributes like __initdata usually come before
the variable name, for readibility.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Mar 16 11:51:14 2006

This archive was generated by hypermail 2.1.8 : 2006-03-16 11:51:23 EST