--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -274,7 +274,7 @@ void die(const char *str, struct pt_regs
oops_enter();
raw_spin_lock_irq(&die_lock);
- secdbg_sched_msg("!!die!!");
+ //secdbg_sched_msg("!!die!!");
console_verbose();
bust_spinlocks(1);
if (!user_mode(regs))
@@ -283,7 +283,7 @@ void die(const char *str, struct pt_regs
str = "Oops - BUG";
ret = __die(str, err, thread, regs);
#ifdef CONFIG_SEC_DEBUG_SUBSYS
- sec_debug_save_die_info(str, regs);
+ //sec_debug_save_die_info(str, regs);
#endif
if (regs && kexec_should_crash(thread->task))
crash_kexec(regs);
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -84,7 +84,7 @@ obj-$(CONFIG_MSM_SDIO_AL) += sdio_al_dlo
obj-$(CONFIG_MSM_SDIO_DMUX) += sdio_dmux.o
obj-$(CONFIG_MSM_BAM_DMUX) += bam_dmux.o
obj-$(CONFIG_MSM_SMD_LOGGING) += smem_log.o
-obj-$(CONFIG_MSM_SMD) += smd.o smd_debug.o remote_spinlock.o
+obj-$(CONFIG_MSM_SMD) += smd.o remote_spinlock.o
obj-y += socinfo.o
ifndef CONFIG_ARCH_MSM9615
ifndef CONFIG_ARCH_APQ8064