[2.6 patch] kernel/sys.c: EXPORT_UNUSED_SYMBOL{,_GPL}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch marks unused exports as EXPORT_UNUSED_SYMBOL{,_GPL}.

Signed-off-by: Adrian Bunk <[email protected]>

---

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

--- linux-2.6.17-mm4-full/kernel/sys.c.old	2006-06-30 02:38:57.000000000 +0200
+++ linux-2.6.17-mm4-full/kernel/sys.c	2006-06-30 02:43:32.000000000 +0200
@@ -663,7 +663,7 @@
 	printk(".\n");
 	machine_restart(cmd);
 }
-EXPORT_SYMBOL_GPL(kernel_restart);
+EXPORT_UNUSED_SYMBOL_GPL(kernel_restart);  /*  June 2006  */
 
 /**
  *	kernel_kexec - reboot the system
@@ -705,7 +705,7 @@
 	machine_halt();
 }
 
-EXPORT_SYMBOL_GPL(kernel_halt);
+EXPORT_UNUSED_SYMBOL_GPL(kernel_halt);  /*  June 2006  */
 
 /**
  *	kernel_power_off - power_off the system
@@ -1713,7 +1713,7 @@
 	return retval;
 }
 
-EXPORT_SYMBOL(in_egroup_p);
+EXPORT_UNUSED_SYMBOL(in_egroup_p);  /*  June 2006  */
 
 DECLARE_RWSEM(uts_sem);
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux