s390/idle: consolidate idle functions and definitions
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 1 Oct 2014 08:57:57 +0000 (10:57 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 9 Oct 2014 07:14:03 +0000 (09:14 +0200)
commitb5f87f15e20092c060f465b283b07a76af7f2e5f
treef6a7b227a09ce5fd47e28113e0f48208654dd82c
parentfe0f49768d807a8fe6336b097feb8c4441951710
s390/idle: consolidate idle functions and definitions

Move the C functions and definitions related to the idle state handling
to arch/s390/include/asm/idle.h and arch/s390/kernel/idle.c. The function
s390_get_idle_time is renamed to arch_cpu_idle_time and vtime_stop_cpu to
enabled_wait.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
12 files changed:
arch/s390/include/asm/cputime.h
arch/s390/include/asm/idle.h [new file with mode: 0644]
arch/s390/include/asm/processor.h
arch/s390/include/asm/vtimer.h
arch/s390/kernel/Makefile
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/entry.h
arch/s390/kernel/idle.c [new file with mode: 0644]
arch/s390/kernel/process.c
arch/s390/kernel/smp.c
arch/s390/kernel/vtime.c
arch/s390/lib/delay.c