* Martin J. Bligh <[email protected]> wrote:
> kernel/built-in.o(.init.text+0x440): In function `.sched_cacheflush':
> : undefined reference to `.cacheflush'
> make: *** [.tmp_vmlinux1] Error 1
> 06/20/05-01:28:25 Build the kernel. Failed rc = 2
> 06/20/05-01:28:25 build: kernel build Failed rc = 1
> 06/20/05-01:28:25 command complete: (2) rc=126
> Failed and terminated the run
> Fatal error, aborting autorun
>
> Works with some configs, but not this one:
>
> http://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/abat/p570
>
> I'm guessing :
>
> scheduler-cache-hot-autodetect.patch
the patch below (from akpm) should fix this:
From: Andrew Morton <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---
kernel/sched.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN kernel/sched.c~scheduler-cache-hot-autodetect-cacheflush-fix kernel/sched.c
--- 25/kernel/sched.c~scheduler-cache-hot-autodetect-cacheflush-fix 2005-06-18 08:38:26.000000000 -0600
+++ 25-akpm/kernel/sched.c 2005-06-18 08:38:43.000000000 -0600
@@ -5288,7 +5288,7 @@ __init static void sched_cacheflush(void
asm ("wbinvd");
#elif defined(CONFIG_IA64)
ia64_sal_cache_flush(1); // what argument does d/cache flush?
-#elif defined(CONFIG_PPC64) || defined(CONFIG_PPC)
+#elif (defined(CONFIG_PPC64) || defined(CONFIG_PPC)) && defined(CONFIG_XMON)
cacheflush();
#else
# warning implement sched_cacheflush()! Calibration results may be unreliable.
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]