sparc64: Allow chmc to be built as a module.
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 05:17:29 +0000 (22:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 05:17:29 +0000 (22:17 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/Kconfig
arch/sparc64/kernel/Makefile
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/kernel/traps.c

index 489b6912fa0926dc2590f12183541addeadaf5d2..8df73714caf11d8511723e79ce407c79a99e6154 100644 (file)
@@ -191,6 +191,17 @@ config US2E_FREQ
 
          If in doubt, say N.
 
+config US3_MC
+       tristate "UltraSPARC-III Memory Controller driver"
+       default y
+       help
+         This adds a driver for the UltraSPARC-III memory controller.
+         Loading this driver allows exact mnemonic strings to be
+         printed in the event of a memory error, so that the faulty DIMM
+         on the motherboard can be matched to the error.
+
+         If in doubt, say Y, as this information can be very useful.
+
 # Global things across all Sun machines.
 config GENERIC_LOCKBREAK
        bool
index 418b5782096ec709eda315ceb79f5575d50059a6..313735fa5f2c7836efdb6917efec942064efa11a 100644 (file)
@@ -11,7 +11,7 @@ obj-y         := process.o setup.o cpu.o idprom.o \
                   traps.o auxio.o una_asm.o sysfs.o iommu.o \
                   irq.o ptrace.o time.o sys_sparc.o signal.o \
                   unaligned.o central.o pci.o starfire.o \
-                  power.o sbus.o sparc64_ksyms.o chmc.o \
+                  power.o sbus.o sparc64_ksyms.o \
                   visemul.o prom.o of_device.o hvapi.o sstate.o mdesc.o
 
 obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
@@ -25,6 +25,7 @@ obj-$(CONFIG_COMPAT) += sys32.o sys_sparc32.o signal32.o
 obj-$(CONFIG_MODULES) += module.o
 obj-$(CONFIG_US3_FREQ) += us3_cpufreq.o
 obj-$(CONFIG_US2E_FREQ) += us2e_cpufreq.o
+obj-$(CONFIG_US3_MC) += chmc.o
 obj-$(CONFIG_KPROBES) += kprobes.o
 obj-$(CONFIG_SUN_LDOMS) += ldc.o vio.o viohs.o ds.o
 obj-$(CONFIG_AUDIT) += audit.o
index d44b2eeb25d56fdf0e362445331971013c970456..3b2890c207f375df46415ea605a41c4a081f92c8 100644 (file)
@@ -299,3 +299,5 @@ EXPORT_SYMBOL(xor_niagara_2);
 EXPORT_SYMBOL(xor_niagara_3);
 EXPORT_SYMBOL(xor_niagara_4);
 EXPORT_SYMBOL(xor_niagara_5);
+
+EXPORT_SYMBOL_GPL(real_hard_smp_processor_id);
index 17880ccfa3cd02f4c4ea2efa532c6495ab738bb1..71644da6cad16e4b3a5dc6285282a5e0b11e4891 100644 (file)
@@ -166,6 +166,7 @@ int register_dimm_printer(dimm_printer_t func)
 
        return ret;
 }
+EXPORT_SYMBOL_GPL(register_dimm_printer);
 
 void unregister_dimm_printer(dimm_printer_t func)
 {
@@ -176,7 +177,7 @@ void unregister_dimm_printer(dimm_printer_t func)
                dimm_handler = NULL;
        spin_unlock_irqrestore(&dimm_handler_lock, flags);
 }
-
+EXPORT_SYMBOL_GPL(unregister_dimm_printer);
 
 void spitfire_insn_access_exception(struct pt_regs *regs, unsigned long sfsr, unsigned long sfar)
 {