1 Mar 2010 02:03
linux-next: build failure after merge of the blackfin tree
Stephen Rothwell <sfr <at> canb.auug.org.au>
2010-03-01 01:03:21 GMT
2010-03-01 01:03:21 GMT
Hi Mike,
After merging the blackfin tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
kernel/trace/trace_syscalls.c:402: error: redefinition of 'arch_syscall_addr'
kernel/trace/trace_syscalls.c:397: note: previous definition of 'arch_syscall_addr' was here
Caused by commit d156d1881ea54ec609d92388601661c2679439bb ("ftrace: unify
arch_syscall_addr() implementations") from the blackfin tree interacting
with commit e7b8e675d9c71b868b66f62f725a948047514719 ("tracing: Unify
arch_syscall_addr() implementations") from Linus' tree.
These are slightly different versions of the same patch. but merging with the blackfin tree managed to add a
second copy of the above function. I have applied the following patch for today.
--
--
Cheers,
Stephen Rothwell sfr <at> canb.auug.org.au
From: Stephen Rothwell <sfr <at> canb.auug.org.au>
Date: Mon, 1 Mar 2010 11:56:09 +1100
Subject: [PATCH] blackfin: fix mismerge of kernel/trace/trace_syscalls.c
Signed-off-by: Stephen Rothwell <sfr <at> canb.auug.org.au>
---
kernel/trace/trace_syscalls.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
index 37ca709..cba47d7 100644
(Continue reading)
)
1) The acpi[1] tree renames drivers/acpi/processor_core.c
to drivers/acpi/processor_driver.c (commit
5f45c35d7ede1c00cbaa3b09b8a84c425af81c4b "ACPI: processor:
mv processor_core.c processor_driver.c") and then
drivers/acpi/processor_pdc.c to drivers/acpi/processor_core.c
(commit de53479b92857f82e4d595104d112b16733b9949 "ACPI: processor:
mv processor_pdc.c processor_core.c"), so the patch in the
cpufreq[2] tree that modifies drivers/acpi/processor_core.c (commit
0f1d683fb35d6c6f49ef696c95757f3970682a0e "[CPUFREQ] Processor Clocking
Control interface driver") get rather confused. My solution was to
use the acpi tree's version of drivers/acpi/processor_core.c and apply
this patch:
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c
index 7e8e1ba..b5658cd 100644
--- a/drivers/acpi/processor_driver.c
+++ b/drivers/acpi/processor_driver.c
<at> <at> -123,6 +123,8 <at> <at> static const struct file_operations acpi_processor_info_fops = {
#endif
RSS Feed