Re: 2.6.21-mm2 - CONFIG_STATISTIC and Intel PowerTOP...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 09 May 2007 01:23:22 PDT, Andrew Morton said:
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm2/

So I'm trying to get the Intel PowerTop stuff working, and discovered that /
proc/timer_stats and/or /proc/tstats has moved to /debug in -mm2 - but only if
you're building for S390.  For other architechtures it just evaporates
entirely.  I had to bash this patch in to get it to get included in an x86_64
build:

--- linux-2.6.21-mm2/arch/x86_64/Kconfig.statistics     2007-05-14 23:01:00.000000000 -0400
+++ linux-2.6.21-mm2/arch/x86_64/Kconfig        2007-05-14 23:00:45.000000000 -0400
@@ -793,6 +793,8 @@
 
 source "kernel/Kconfig.marker"
 
+source "lib/Kconfig.statistic"
+
 endmenu
 
 source "arch/x86_64/Kconfig.debug"

Am just replicating the choice to put it in arch/s390/Kconfig - not sure why
it was in there rather than lib/Kconfig.debug - is there a reason here?

Having bashed *that* into place, I hit this at kernel link time:

WARNING: lib/built-in.o - Section mismatch: reference to .init.text:statistic_hotcpu from .data between 'statistic_hotcpu_notifier' (at offset 0x640) and 'io_tlb_lock'

Attachment: pgpvWi98dNe7D.pgp
Description: PGP signature


[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]
  Powered by Linux