android_kernel_xiaomi_sm8350/include
Mike Travis 92cb7612ae x86: convert cpuinfo_x86 array to a per_cpu array
cpu_data is currently an array defined using NR_CPUS.  This means that
we overallocate since we will rarely really use maximum configured cpus.
When NR_CPU count is raised to 4096 the size of cpu_data becomes
3,145,728 bytes.

These changes were adopted from the sparc64 (and ia64) code.  An
additional field was added to cpuinfo_x86 to be a non-ambiguous cpu
index.  This corresponds to the index into a cpumask_t as well as the
per_cpu index.  It's used in various places like show_cpuinfo().

cpu_data is defined to be the boot_cpu_data structure for the NON-SMP
case.

Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-19 20:35:04 +02:00
..
acpi
asm-alpha alpha: lock bitops 2007-10-18 14:37:29 -07:00
asm-arm bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-arm26 softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-avr32 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-blackfin Replace __attribute_pure__ with __pure 2007-10-18 14:37:32 -07:00
asm-cris bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-frv bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-generic bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-h8300 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-ia64 ia64: lock bitops 2007-10-18 14:37:29 -07:00
asm-m32r bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-m68k bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-m68knommu bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2007-10-18 14:51:02 -07:00
asm-parisc bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-powerpc powerpc: lock bitops 2007-10-18 14:37:29 -07:00
asm-ppc Replace __attribute_pure__ with __pure 2007-10-18 14:37:32 -07:00
asm-s390 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-sh bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-sh64 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-sparc Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2007-10-18 14:39:44 -07:00
asm-sparc64 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2007-10-18 14:39:44 -07:00
asm-um x86: rename .i assembler includes to .h 2007-10-17 20:16:29 +02:00
asm-v850 bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
asm-x86 x86: convert cpuinfo_x86 array to a per_cpu array 2007-10-19 20:35:04 +02:00
asm-xtensa bitops: introduce lock ops 2007-10-18 14:37:29 -07:00
crypto
keys KEYS: Make request_key() and co fundamentally asynchronous 2007-10-17 08:42:57 -07:00
linux x86 & generic: change to __builtin_prefetch() 2007-10-19 20:35:04 +02:00
math-emu
media
mtd
net [IPSEC]: Rename mode to outer_mode and add inner_mode 2007-10-17 21:35:51 -07:00
pcmcia
rdma
rxrpc
scsi do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00
sound
video
xen
Kbuild do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00