linux-kernel-test/arch
Jean Pihet badc303a86 OMAP3: cpuidle: re-organize the C-states data
The current implementation defines an internal structure and a
C-states array. Using those structures is redundant to the
structs used by the cpuidle framework.

This patch provides a clean-up of the internal struct, removes the
internal C-states array, stores the data using the existing cpuidle
per C-state struct and registers the mach specific data to cpuidle
C-state driver_data (accessed using cpuidle_[gs]et_statedata).
Also removes unused macros, fields and code and compacts the repeating
code using an inline helper function.

The result is more compact and more readable code as well as
reduced data RAM usage.

Also retain C1 as the only always valid C-state and system safe state.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
2011-05-20 17:15:53 +02:00
..
alpha alpha: Wire up syscalls new to 2.6.39 2011-05-13 19:16:11 -04:00
arm OMAP3: cpuidle: re-organize the C-states data 2011-05-20 17:15:53 +02:00
avr32 avr32: add ATAG_BOARDINFO 2011-04-13 15:46:59 +02:00
blackfin Blackfin: SMP: fix cache flush loop 2011-04-13 19:34:06 -04:00
cris Fix common misspellings 2011-03-31 11:26:23 -03:00
frv Fix common misspellings 2011-03-31 11:26:23 -03:00
h8300 genirq: Remove the now obsolete config options and select statements 2011-03-30 14:13:23 +02:00
ia64 Merge branch 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6 2011-04-07 11:14:49 -07:00
m32r Fix common misspellings 2011-03-31 11:26:23 -03:00
m68k m68k/mm: Set all online nodes in N_NORMAL_MEMORY 2011-04-27 17:36:00 +02:00
microblaze usb: Fix Kconfig unmet dependencies for Microblaze EHCI 2011-04-13 15:43:59 -07:00
mips MIPS: Kludge IP27 build for 2.6.39. 2011-05-18 14:18:27 +01:00
mn10300 Fix common misspellings 2011-03-31 11:26:23 -03:00
parisc [PARISC] set memory ranges in N_NORMAL_MEMORY when onlined 2011-04-21 09:32:38 -05:00
powerpc drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
s390 [S390] fix alloc_pgste check in init_new_context 2011-05-10 17:13:43 +02:00
score Fix common misspellings 2011-03-31 11:26:23 -03:00
sh sh, hw_breakpoints: Fix racy access to ptrace breakpoints 2011-04-25 17:36:12 +02:00
sparc drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
tile Fix common misspellings 2011-03-31 11:26:23 -03:00
um um: fix abort 2011-05-18 02:55:23 -07:00
unicore32 Merge branch 'for-linus2' of git://git.profusion.mobi/users/lucas/linux-2.6 2011-04-07 11:14:49 -07:00
x86 Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-05-18 03:14:34 -07:00
xtensa xtensa: Fixup irq conversion fallout and nmi_count 2011-04-20 00:32:09 +02:00
.gitignore
Kconfig oprofile, s390: Cleanups 2011-03-16 14:30:40 +01:00