linux_dsm_epyc7002/arch
Mike Travis 9628937d5b x86: cleanup some remaining usages of NR_CPUS where s/b nr_cpu_ids
Impact: Reduce future system panics due to cpumask operations using NR_CPUS

Insure that code does not look at bits >= nr_cpu_ids as when cpumasks are
allocated based on nr_cpu_ids, these extra bits will not be defined.

Also some other minor updates:

   * change in to use cpu accessor function set_cpu_present() instead of
     directly accessing cpu_present_map w/cpu_clear() [arch/x86/kernel/reboot.c]

   * use cpumask_of() instead of &cpumask_of_cpu() [arch/x86/kernel/reboot.c]

   * optimize some cpu_mask_to_apicid_and functions.

Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-03 19:00:55 +01:00
..
alpha cpumask: convert kernel/irq 2009-01-01 10:12:26 +10:30
arm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-12-31 23:05:57 +10:30
avr32 avr32: define __fls 2009-01-01 10:12:16 +10:30
blackfin blackfin: define __fls 2009-01-01 10:12:17 +10:30
cris cris: define __fls 2009-01-03 15:37:14 +10:30
frv frv: fix mmap2 error handling 2008-12-01 19:55:24 -08:00
h8300 h8300: define __fls 2009-01-03 16:16:04 +10:30
ia64 ia64: cpumask fix for is_affinity_mask_valid() 2009-01-03 18:59:33 +01:00
m32r percpu: fix percpu accessors to potentially !cpu_possible() cpus: m32r 2009-01-01 10:12:14 +10:30
m68k m68k: fix trigraph ignored warning in setox.S 2008-12-28 20:00:05 +01:00
m68knommu m68knommu: define __fls 2009-01-01 10:12:18 +10:30
mips Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask into merge-rr-cpumask 2009-01-03 18:53:31 +01:00
mn10300 MN10300: Give correct size when reserving interrupt vector table 2008-12-10 13:34:33 -08:00
parisc parisc: remove gratuitous cpu_online_map declaration. 2009-01-01 10:12:16 +10:30
powerpc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask into merge-rr-cpumask 2009-01-03 18:53:31 +01:00
s390 cpumask: Introduce topology_core_cpumask()/topology_thread_cpumask(): s390 2009-01-01 10:12:20 +10:30
sh Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask into merge-rr-cpumask 2009-01-03 18:53:31 +01:00
sparc cpumask: Introduce topology_core_cpumask()/topology_thread_cpumask(): sparc 2009-01-01 10:12:20 +10:30
um Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-12-31 23:05:57 +10:30
x86 x86: cleanup some remaining usages of NR_CPUS where s/b nr_cpu_ids 2009-01-03 19:00:55 +01:00
xtensa xtensa: Kill directly reference of netdev->priv 2008-12-04 15:06:56 -08:00
.gitignore
Kconfig oprofile: select RING_BUFFER 2008-12-12 09:46:31 +01:00