linux/arch
Martin Schwidefsky 8b646bd759 [S390] rework smp code
Define struct pcpu and merge some of the NR_CPUS arrays into it, including
__cpu_logical_map, current_set and smp_cpu_state. Split smp related
functions to those operating on physical cpus and the functions operating
on a logical cpu number. Make the functions for physical cpus use a
pointer to a struct pcpu. This hides the knowledge about cpu addresses in
smp.c, entry[64].S and swsusp_asm64.S, thus remove the sigp.h header.

The PSW restart mechanism is used to start secondary cpus, calling a
function on an online cpu, calling a function on the ipl cpu, and for
the nmi signal. Replace the different assembler functions with a
single function restart_int_handler. The new entry point calls a function
whose pointer is stored in the lowcore of the target cpu and it can wait
for the source cpu to stop. This covers all existing use cases.

Overall the code is now simpler and there are ~380 lines less code.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-03-11 11:59:28 -04:00
..
alpha alpha: fix 32/64-bit bug in futex support 2012-03-05 15:49:43 -08:00
arm IOMMU fixes for Linux v3.3-rc6 2012-03-09 07:26:25 -08:00
avr32
blackfin
c6x C6X: fix KSTK_EIP and KSTK_ESP macros 2012-03-07 11:28:22 -05:00
cris
frv
h8300
hexagon
ia64
m32r
m68k
microblaze
mips MIPS: traps.c: Fix typo 2012-02-20 18:33:20 +01:00
mn10300
openrisc openrisc: Fix up audit_syscall_[entry|exit]() usage 2012-02-17 09:53:12 +01:00
parisc [PARISC] don't unconditionally override CROSS_COMPILE for 64 bit. 2012-02-28 09:39:28 -06:00
powerpc powerpc: Fix various issues with return to userspace 2012-02-22 16:48:53 +11:00
s390 [S390] rework smp code 2012-03-11 11:59:28 -04:00
score
sh SuperH fixes for 3.3-rc5 2012-02-24 08:56:51 -08:00
sparc
tile
um
unicore32
x86 x86: Derandom delay_tsc for 64 bit 2012-03-09 12:43:27 -08:00
xtensa
.gitignore
Kconfig