Skip to contentSkip to conversation

arch-um-kernel-sysrqc-rename-print_stack_trace.patch removed from -mm tree

alternative-merged [email protected] 1 participant 1 message Dec 2, 2013 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Subject: [alternative-merged] arch-um-kernel-sysrqc-rename-print_stack_trace.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 02 Dec 2013 12:36:18 -0800

The patch titled
Subject: arch/um/kernel/sysrq.c: rename print_stack_trace()
has been removed from the -mm tree. Its filename was
arch-um-kernel-sysrqc-rename-print_stack_trace.patch

This patch was dropped because an alternative patch was merged

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: arch/um/kernel/sysrq.c: rename print_stack_trace()

This symbol conflicts with include/linux/stacktrace.h:print_stack_trace(). If sysrq.c sees stacktrace.h, the build blows up. I have a local debug patch whcih triggers this.

So s/print_stack_trace/um_print_stack_trace/

---

 arch/um/kernel/sysrq.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/um/kernel/sysrq.c renamed from arch/um/kernel/sysrq.c~arch-um-kernel-sysrqc-rename-print_stack_trace +2 -2
diff -puN arch/um/kernel/sysrq.c~arch-um-kernel-sysrqc-rename-print_stack_trace arch/um/kernel/sysrq.c
@@ -19,7 +19,7 @@ struct stack_frame {
 	unsigned long return_address;
 };
 
-static void print_stack_trace(unsigned long *sp, unsigned long bp)
+static void um_print_stack_trace(unsigned long *sp, unsigned long bp)
 {
 	int reliable;
 	unsigned long addr;
@@ -94,5 +94,5 @@ void show_stack(struct task_struct *task
 	}
 	printk(KERN_CONT "\n");
 
-	print_stack_trace(sp, bp);
+	um_print_stack_trace(sp, bp);
 }

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch
linux-next-git-rejects.patch arch-alpha-kernel-systblss-remove-debug-check.patch i-need-old-gcc.patch procfs-also-fix-proc_reg_get_unmapped_area-for-mmu-case-fix.patch dma-debug-enhance-dma_debug_device_change-to-check-for-mapping-errors-fix.patch input-route-kbd-leds-through-the-generic-leds-layer-fix.patch drivers-block-ccissc-cciss_init_one-use-proper-errnos.patch block-blk-mq-cpuc-use-hotcpu_notifier.patch mtd-cmdlinepart-use-cmdline-partition-parser-lib-fix-fix.patch posix_acl-uninlining.patch
mm.patch
mm-hugetlbc-simplify-pageheadhuge-and-pagehuge.patch mm-swapc-reorganize-put_compound_page.patch mm-get-rid-of-unnecessary-pageblock-scanning-in-setup_zone_migrate_reserve-fix.patch mm-memory-failure-fix-the-typo-in-me_pagecache_dirty-fix.patch lib-parserc-put-export_symbols-in-the-conventional-place.patch kernel-paramsc-improve-standard-definitions-checkpatch-fixes.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-fix.patch kmod-run-usermodehelpers-only-on-cpus-allowed-for-kthreadd-v2-checkpatch-fixes.patch fs-ext3-use-rbtree-postorder-iteration-helper-instead-of-opencoding-fix.patch debugging-keep-track-of-page-owners.patch journal_add_journal_head-debug.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch