lkml.org 
[lkml]   [2008]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6.27-rc3 1/29] mdb: add machine restart/genapic export
add machine restart and genapic exports for the module based 
build of the debugger. genapic is exported here rather than
arch/x86/mach-generic/probes.c because EXPORT_SYMBOL does not
work correctly when used inside of files in this directory in
the 2.6.27 tree.


Signed-off-by: Jeffrey Vernon Merkey (jmerkey@wolfmountaingroup.com)

--- a/arch/x86/kernel/reboot.c 2008-08-13 14:22:14.000000000 -0600
+++ b/arch/x86/kernel/reboot.c 2008-08-13 11:56:03.000000000 -0600
@@ -502,6 +502,13 @@
{
machine_ops.restart(cmd);
}
+#if defined(CONFIG_MDB_MODULE)
+EXPORT_SYMBOL_GPL(machine_restart);
+#endif
+/* export the genapic pointer */
+#if defined(CONFIG_SMP) && defined(CONFIG_MDB_MODULE)
+EXPORT_SYMBOL(genapic);
+#endif

void machine_halt(void)
{

\
 
 \ /
  Last update: 2008-08-14 08:41    [W:0.038 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site