[2.6 patch] kernel/printk.c: EXPORT_SYMBOL_UNUSED

From: Adrian Bunk
Date: Fri Jun 30 2006 - 07:30:28 EST


This patch marks unused exports as EXPORT_SYMBOL_UNUSED.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

kernel/printk.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.17-mm4-full/kernel/printk.c.old 2006-06-30 02:30:47.000000000 +0200
+++ linux-2.6.17-mm4-full/kernel/printk.c 2006-06-30 02:32:07.000000000 +0200
@@ -53,7 +53,7 @@
DEFAULT_CONSOLE_LOGLEVEL, /* default_console_loglevel */
};

-EXPORT_SYMBOL(console_printk);
+EXPORT_UNUSED_SYMBOL(console_printk); /* June 2006 */

/*
* Low lever drivers may need that to know if they can schedule in
@@ -755,7 +755,7 @@
{
return console_locked;
}
-EXPORT_SYMBOL(is_console_locked);
+EXPORT_UNUSED_SYMBOL(is_console_locked); /* June 2006 */

/**
* release_console_sem - unlock the console system
@@ -1072,7 +1072,7 @@
spin_unlock_irqrestore(&ratelimit_lock, flags);
return 0;
}
-EXPORT_SYMBOL(__printk_ratelimit);
+EXPORT_UNUSED_SYMBOL(__printk_ratelimit); /* June 2006 */

/* minimum time in jiffies between messages */
int printk_ratelimit_jiffies = 5 * HZ;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/