Linus Torvalds
6496edfce9
This is the final removal (after several years!) of the obsolete cpus_*
...
functions, prompted by their mis-use in staging.
With these function removed, all cpu functions should only iterate to
nr_cpu_ids, so we finally only allocate that many bits when cpumasks
are allocated offstack.
Thanks,
Rusty.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJVNPMuAAoJENkgDmzRrbjx7ZIP/j65e6xs1jEyXR3WOYSdTU1x
bMo6JcII6O1oEZLgyKXgx9KiBg6uIIDta1NG/H/XIe354dwfHVsHvj5HHHQR5Xof
iRrjLOaHj4XglI3hvsk0eEEl3/OBBLgyo9bUwDvMF1fmr/9tW4caMs3Op6n7Evzm
YIvoAyeJ0A8BfEtOU5lXhcVIGmnHtSw0x6mdGXpXIBmWYQPCtdQP868s4lnl44w0
bSNpAYdzEqg64Ph3SK0prgWPrn5+5EiaAhV7HZzENZ5+o0DAdIXWq/W7uHyCWPKH
536cJDojec+nSUQkPYngngGprxrKO02aBcMw/3JGJ0tdCDj8yw3XAyVAFzz4hmMb
Lkmyv4QHHIILLvJ4ZRH5KHWCjjVBg41LNCs2H3HnoxFACdm0lZYKHsUAh2ucBVtU
Wb/eHmLxOG43UIkpX4yrhy3SfE1ZdnOVzEzOzPXtr51t8ojqk+bLFe/hJ6EkzrQX
X+90qHfBq+PMJlAnc3zdXHjxoJrL6KPWVwVvFrNeibgEKtVvy/BiwZkS6QceC1Ea
TatOYA5r6awFVHHQCooN1DGAxN5Juvu2SmdnTUA9ymsCNDghj1YUoAKRNP81u8Sa
pe3hco/63iCuPna+vlwNDU6SgsaMk9m0p+1n1BiDIfVJIkWYCNeG+u2gQkzbDKlQ
AJuKKQv1QuZiF0ylZ0wq
=VAgA
-----END PGP SIGNATURE-----
Merge tag 'cpumask-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
Pull final removal of deprecated cpus_* cpumask functions from Rusty Russell:
"This is the final removal (after several years!) of the obsolete
cpus_* functions, prompted by their mis-use in staging.
With these function removed, all cpu functions should only iterate to
nr_cpu_ids, so we finally only allocate that many bits when cpumasks
are allocated offstack"
* tag 'cpumask-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux: (25 commits)
cpumask: remove __first_cpu / __next_cpu
cpumask: resurrect CPU_MASK_CPU0
linux/cpumask.h: add typechecking to cpumask_test_cpu
cpumask: only allocate nr_cpumask_bits.
Fix weird uses of num_online_cpus().
cpumask: remove deprecated functions.
mips: fix obsolete cpumask_of_cpu usage.
x86: fix more deprecated cpu function usage.
ia64: remove deprecated cpus_ usage.
powerpc: fix deprecated CPU_MASK_CPU0 usage.
CPU_MASK_ALL/CPU_MASK_NONE: remove from deprecated region.
staging/lustre/o2iblnd: Don't use cpus_weight
staging/lustre/libcfs: replace deprecated cpus_ calls with cpumask_
staging/lustre/ptlrpc: Do not use deprecated cpus_* functions
blackfin: fix up obsolete cpu function usage.
parisc: fix up obsolete cpu function usage.
tile: fix up obsolete cpu function usage.
arm64: fix up obsolete cpu function usage.
mips: fix up obsolete cpu function usage.
x86: fix up obsolete cpu function usage.
...
2015-04-20 10:19:03 -07:00
..
.gitignore
8250-platform.c
mips: remove needless include of module.h from core kernel files.
2011-10-31 19:30:57 -04:00
asm-offsets.c
Merge branch 'exec_domain_rip_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc
2015-04-15 13:53:55 -07:00
binfmt_elfn32.c
MIPS: Compat: Fix cputime_to_timeval() arguments in compat binfmt_elf.
2013-06-06 16:11:26 +02:00
binfmt_elfo32.c
MIPS: Remove old core dump functions
2014-08-02 00:06:37 +02:00
bmips_vec.S
MIPS: BMIPS: Fix ".previous without corresponding .section" warnings
2014-11-24 07:44:05 +01:00
branch.c
MIPS: LLVMLinux: Fix a 'cast to type not present in union' error.
2015-04-01 17:21:46 +02:00
cevt-bcm1480.c
MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code
2013-07-14 19:36:51 -04:00
cevt-ds1287.c
MIPS: Whitespace cleanup.
2013-02-01 10:00:22 +01:00
cevt-gt641xx.c
MIPS: Whitespace cleanup.
2013-02-01 10:00:22 +01:00
cevt-r4k.c
MIPS: cevt-r4k: Cleanup c0_compare_interrupt.
2015-03-31 12:04:12 +02:00
cevt-sb1250.c
MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code
2013-07-14 19:36:51 -04:00
cevt-txx9.c
MIPS: cevt-txx9: Implement read_sched_clock
2015-04-01 17:21:30 +02:00
cps-vec.S
MIPS: kernel: cps-vec: Replace "addi" with "addiu"
2015-02-17 15:37:28 +00:00
cpu-bugs64.c
MIPS: kernel: cpu-bugs64: Do not check R6 cores for existing 64-bit bugs
2015-02-17 15:37:24 +00:00
cpu-probe.c
Merge branch '4.0-fixes' into mips-for-linux-next
2015-04-13 16:03:32 +02:00
crash.c
mips: fix up obsolete cpu function usage.
2015-03-05 15:25:06 +10:30
crash_dump.c
mips: Convert pr_warning to pr_warn
2014-11-24 07:44:51 +01:00
csrc-bcm1480.c
MIPS: csrc-bcm1480: Implement read_sched_clock
2015-04-01 17:21:27 +02:00
csrc-ioasic.c
MIPS: csrc-ioasic: Implement read_sched_clock
2015-04-01 17:21:28 +02:00
csrc-r4k.c
MIPS: csrc-r4k: Implement read_sched_clock
2015-04-01 17:21:27 +02:00
csrc-sb1250.c
MIPS: csrc-sb1250: Implement read_sched_clock
2015-04-01 17:21:33 +02:00
early_printk.c
early_printk: consolidate random copies of identical code
2013-04-29 18:28:13 -07:00
early_printk_8250.c
MIPS: Add 8250/16550 serial early printk driver
2013-10-29 21:24:36 +01:00
elf.c
MIPS: ELF: Drop `get_fp_abi'
2015-04-08 01:09:01 +02:00
entry.S
MIPS: kernel: entry.S: Set correct ISA level for mips_ihb
2015-04-10 15:41:46 +02:00
ftrace.c
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2014-08-07 08:47:00 -07:00
genex.S
Merge branch '4.1-fp' into mips-for-linux-next
2015-04-13 16:01:37 +02:00
gpio_txx9.c
head.S
MIPS: MT: Remove SMTC support
2014-05-24 00:07:01 +02:00
i8253.c
MIPS: irq: Remove IRQF_DISABLED
2011-12-07 22:03:45 +00:00
i8259.c
MIPS: i8259: Use IRQ domains
2014-11-24 07:44:52 +01:00
idle.c
MIPS: idle: Workaround wait + FDC problems
2015-03-31 12:04:12 +02:00
irq-gt641xx.c
MIPS: Whitespace cleanup.
2013-02-01 10:00:22 +01:00
irq-msc01.c
MIPS: MSC: Prevent out-of-bounds writes to MIPS SC ioremap'd region
2014-06-26 10:48:23 +01:00
irq-rm7000.c
MIPS: Whitespace cleanup.
2013-02-01 10:00:22 +01:00
irq.c
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2014-06-09 18:10:34 -07:00
irq_cpu.c
MIPS: IRQ: Fix disable_irq on CPU IRQs
2015-01-16 14:03:17 +01:00
irq_txx9.c
MIPS: Whitespace cleanup.
2013-02-01 10:00:22 +01:00
jump_label.c
MIPS: jump_label.c: Handle the microMIPS J instruction encoding
2014-11-19 18:22:09 +01:00
kgdb.c
MIPS: kernel: {ftrace,kgdb}: Set correct address limit for cache flushes
2014-03-26 23:09:18 +01:00
kprobes.c
mips: Replace __get_cpu_var uses
2014-08-26 13:45:51 -04:00
linux32.c
unify compat fanotify_mark(2), switch to COMPAT_SYSCALL_DEFINE
2013-05-09 13:46:38 -04:00
machine_kexec.c
MIPS: kdump: Set correct value to kexec_indirection_page variable
2014-08-25 16:33:44 +02:00
Makefile
MIPS: kernel: mips-r2-to-r6-emul: Add R2 emulator for MIPS R6
2015-02-17 15:37:37 +00:00
mcount.S
MIPS: mcount: Adjust stack pointer for static trace in MIPS32
2014-09-26 11:41:17 +02:00
mips-cm.c
MIPS: Replace use of phys_t with phys_addr_t.
2014-11-24 22:47:31 +01:00
mips-cpc.c
MIPS: Replace use of phys_t with phys_addr_t.
2014-11-24 22:47:31 +01:00
mips-mt-fpaff.c
mips: fix up obsolete cpu function usage.
2015-03-05 15:25:06 +10:30
mips-mt.c
MIPS: MT: Remove SMTC support
2014-05-24 00:07:01 +02:00
mips-r2-to-r6-emul.c
MIPS: Set `si_code' for SIGFPE signals sent from emulation too
2015-04-08 01:10:19 +02:00
mips_ksyms.c
Merge branch 'mipsr6-for-3.20' of git://git.linux-mips.org/pub/scm/mchandras/linux into mips-for-linux-next
2015-02-19 16:00:34 +01:00
mips_machine.c
MIPS: move mips_{set,get}_machine_name() to a more generic place
2013-05-08 01:19:07 +02:00
module-rela.c
MIPS: Whitespace cleanup.
2013-02-01 10:00:22 +01:00
module.c
mm: vmalloc: pass additional vm_flags to __vmalloc_node_range()
2015-02-13 21:21:42 -08:00
octeon_switch.S
MIPS: OCTEON: Delete unused COP2 saving code
2015-02-20 15:30:23 +01:00
perf_event.c
MIPS: perf: Reorganize contents of perf support files.
2011-10-24 23:34:26 +01:00
perf_event_mipsxx.c
MIPS: perf: Add hardware perf events support for Loongson-3
2015-04-01 17:22:17 +02:00
pm-cps.c
MIPS: {pm,smp}-cps: use cpu_vpe_id macro
2014-07-30 20:48:42 +02:00
pm.c
MIPS: PM: Implement PM helper macros
2014-05-02 16:39:10 +01:00
proc.c
MIPS: Add support for XPA.
2015-03-19 17:39:49 +01:00
process.c
This is the final removal (after several years!) of the obsolete cpus_*
2015-04-20 10:19:03 -07:00
prom.c
MIPS: Let __dt_register_buses accept a single bus type
2015-04-01 17:21:38 +02:00
ptrace.c
Merge branch '4.1-fp' into mips-for-linux-next
2015-04-13 16:01:37 +02:00
ptrace32.c
MIPS: Remove asm/user.h
2014-08-02 00:06:37 +02:00
r4k_fpu.S
MIPS: Push .set mips64r* into the functions needing it
2015-03-27 19:42:42 +01:00
r4k_switch.S
MIPS: Respect the ISA level in FCSR handling
2015-04-08 01:10:37 +02:00
r2300_fpu.S
MIPS: Fix build with binutils 2.24.51+
2014-11-07 15:07:36 +01:00
r2300_switch.S
MIPS: Respect the ISA level in FCSR handling
2015-04-08 01:10:37 +02:00
r6000_fpu.S
MIPS: Fix build with binutils 2.24.51+
2014-11-07 15:07:36 +01:00
relocate_kernel.S
MIPS: kdump: Skip walking indirection page for crashkernels
2013-09-05 20:53:37 +02:00
reset.c
MIPS: Provide fallback reboot/poweroff/halt implementations
2015-04-01 17:21:58 +02:00
rtlx-cmp.c
MIPS: APRP: Fix an issue when device_create() fails.
2014-08-01 17:30:35 +02:00
rtlx-mt.c
MIPS: APRP: Fix an issue when device_create() fails.
2014-08-01 17:30:35 +02:00
rtlx.c
MIPS: rtlx: Remove KERN_DEBUG from pr_debug() arguments in rtlx.c
2014-11-24 07:44:04 +01:00
scall32-o32.S
MIPS: Fix restart of indirect syscalls
2015-01-16 00:35:45 +01:00
scall64-64.S
MIPS: Wire up execveat(2).
2015-01-13 15:53:09 +01:00
scall64-n32.S
MIPS: Wire up execveat(2).
2015-01-13 15:53:09 +01:00
scall64-o32.S
MIPS: Fix restart of indirect syscalls
2015-01-16 00:35:45 +01:00
segment.c
MIPS: Add debugfs file to print the segmentation control registers
2014-01-22 20:19:00 +01:00
setup.c
MIPS, ttyFDC: Add early FDC console support
2015-03-31 12:04:12 +02:00
signal-common.h
mips: Use get_signal() signal_setup_done()
2014-08-06 13:03:08 +02:00
signal.c
all arches, signal: move restart_block to struct task_struct
2015-02-12 18:54:12 -08:00
signal32.c
all arches, signal: move restart_block to struct task_struct
2015-02-12 18:54:12 -08:00
signal_n32.c
mips: Use sigsp()
2014-08-06 13:04:30 +02:00
smp-bmips.c
mips: fix up obsolete cpu function usage.
2015-03-05 15:25:06 +10:30
smp-cmp.c
mips: fix up obsolete cpu function usage.
2015-03-05 15:25:06 +10:30
smp-cps.c
This is the final removal (after several years!) of the obsolete cpus_*
2015-04-20 10:19:03 -07:00
smp-gic.c
MIPS: Move gic.h to include/linux/irqchip/mips-gic.h
2014-11-24 07:44:59 +01:00
smp-mt.c
mips: fix up obsolete cpu function usage.
2015-03-05 15:25:06 +10:30
smp-up.c
MIPS: SMP: Remove plat_smp_ops cpus_done method.
2014-05-27 11:06:42 +02:00
smp.c
This is the final removal (after several years!) of the obsolete cpus_*
2015-04-20 10:19:03 -07:00
spinlock_test.c
mips: migrate core kernel file from module.h --> export.h
2011-10-31 19:30:56 -04:00
spram.c
MIPS: Add cases for CPU_QEMU_GENERIC
2015-02-16 10:01:24 +00:00
stacktrace.c
mips: migrate core kernel file from module.h --> export.h
2011-10-31 19:30:56 -04:00
sync-r4k.c
MIPS: MT: Remove SMTC support
2014-05-24 00:07:01 +02:00
syscall.c
MIPS: kernel: syscall: Set the appropriate ISA level for MIPS R6
2015-02-17 15:37:29 +00:00
time.c
MIPS: MT: Remove SMTC support
2014-05-24 00:07:01 +02:00
topology.c
traps.c
This is the final removal (after several years!) of the obsolete cpus_*
2015-04-20 10:19:03 -07:00
unaligned.c
Merge branch '4.0-fixes' into mips-for-linux-next
2015-04-13 16:03:32 +02:00
vdso.c
MIPS: Enable VDSO randomization
2014-11-24 07:45:38 +01:00
vmlinux.lds.S
MIPS: Discard .eh_frame sections in linker script.
2013-08-26 15:33:41 +02:00
vpe-cmp.c
MIPS: APRP: Add VPE loader support for CMP platforms.
2014-01-22 20:19:02 +01:00
vpe-mt.c
MIPS: MT: Remove SMTC support
2014-05-24 00:07:01 +02:00
vpe.c
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
2014-01-30 17:20:32 -08:00
watch.c
MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code
2013-07-14 19:36:51 -04:00