Skip to content

Commit

Permalink
openrisc: Use generic idle loop
Browse files Browse the repository at this point in the history
Idle poller with an extra check_pgt_cache() invocation. Use the core
code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20130321215234.886530981@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Apr 8, 2013
1 parent af695cd commit 6862c05
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 74 deletions.
1 change: 1 addition & 0 deletions arch/openrisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ config OPENRISC
select GENERIC_CLOCKEVENTS
select GENERIC_STRNCPY_FROM_USER
select GENERIC_STRNLEN_USER
select GENERIC_IDLE_LOOP
select MODULES_USE_ELF_RELA

config MMU
Expand Down
2 changes: 1 addition & 1 deletion arch/openrisc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

extra-y := head.o vmlinux.lds

obj-y := setup.o idle.o or32_ksyms.o process.o dma.o \
obj-y := setup.o or32_ksyms.o process.o dma.o \
traps.o time.o irq.o entry.o ptrace.o signal.o \
sys_call_table.o

Expand Down
73 changes: 0 additions & 73 deletions arch/openrisc/kernel/idle.c

This file was deleted.

0 comments on commit 6862c05

Please sign in to comment.