mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
fbe765680d
Setting the cpu restart parameters is done in three different fashions: - directly setting the four parameters individually - copying the four parameters with memcpy (using 4 * sizeof(long)) - copying the four parameters using a private structure In addition code in entry*.S relies on a certain order of the restart members of struct _lowcore. Make all of this more robust to future changes by adding a mem_absolute_assign(dest, val) define, which assigns val to dest using absolute addressing mode. Also the load multiple instructions in entry*.S have been split into separate load instruction so the order of the struct _lowcore members doesn't matter anymore. In addition move the prototypes of memcpy_real/absolute from uaccess.h to processor.h. These memcpy* variants are not related to uaccess at all. string.h doesn't seem to match as well, so lets use processor.h. Also replace the eight byte array in struct _lowcore which represents a misaliged u64 with a u64. The compiler will always create code that handles the misaligned u64 correctly. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> |
||
---|---|---|
.. | ||
airq.h | ||
appldata.h | ||
asm-offsets.h | ||
atomic.h | ||
auxvec.h | ||
barrier.h | ||
bitops.h | ||
bitsperlong.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
ccwdev.h | ||
ccwgroup.h | ||
checksum.h | ||
chpid.h | ||
chsc.h | ||
cio.h | ||
cmb.h | ||
cmpxchg.h | ||
compat.h | ||
cpcmd.h | ||
cpu.h | ||
cpu_mf.h | ||
cputime.h | ||
crw.h | ||
ctl_reg.h | ||
current.h | ||
dasd.h | ||
debug.h | ||
delay.h | ||
device.h | ||
diag.h | ||
div64.h | ||
dma.h | ||
ebcdic.h | ||
elf.h | ||
emergency-restart.h | ||
errno.h | ||
etr.h | ||
exec.h | ||
extmem.h | ||
facility.h | ||
fb.h | ||
fcntl.h | ||
fcx.h | ||
ftrace.h | ||
futex.h | ||
hardirq.h | ||
hugetlb.h | ||
idals.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
ipcbuf.h | ||
ipl.h | ||
irq.h | ||
irq_regs.h | ||
irqflags.h | ||
isc.h | ||
itcw.h | ||
jump_label.h | ||
Kbuild | ||
kdebug.h | ||
kexec.h | ||
kmap_types.h | ||
kprobes.h | ||
kvm.h | ||
kvm_host.h | ||
kvm_para.h | ||
kvm_virtio.h | ||
linkage.h | ||
local.h | ||
local64.h | ||
lowcore.h | ||
mathemu.h | ||
mman.h | ||
mmu.h | ||
mmu_context.h | ||
module.h | ||
monwriter.h | ||
msgbuf.h | ||
mutex.h | ||
nmi.h | ||
os_info.h | ||
page.h | ||
param.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
ptrace.h | ||
qdio.h | ||
qeth.h | ||
reset.h | ||
resource.h | ||
rwsem.h | ||
scatterlist.h | ||
schid.h | ||
sclp.h | ||
scsw.h | ||
seccomp.h | ||
sections.h | ||
segment.h | ||
sembuf.h | ||
setup.h | ||
sfp-machine.h | ||
sfp-util.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
sigp.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
sparsemem.h | ||
spinlock.h | ||
spinlock_types.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
swab.h | ||
switch_to.h | ||
syscall.h | ||
sysinfo.h | ||
tape390.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vdso.h | ||
vtoc.h | ||
xor.h | ||
zcrypt.h |