aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/leon_pmc.c
Commit message (Collapse)AuthorAgeFilesLines
* sparc: Consistently use 'wr' and 'rd' instructions for ASRs.David S. Miller2013-04-061-2/+2
| | | | | | For consistency, don't use 'mov'. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc idle: rename pm_idle to sparc_idleLen Brown2013-02-171-2/+3
| | | | | | | | | | | | (pm_idle)() is being removed from linux/pm.h because Linux does not have such a cross-architecture concept. sparc uses an idle function pointer in its architecture specific code. So we re-name sparc use of pm_idle to sparc_idle. Signed-off-by: Len Brown <len.brown@intel.com> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Sam Ravnborg <sam@ravnborg.org>
* sparc32,leon: always include leon_pmc in buildSam Ravnborg2012-05-271-6/+9
| | | | | | Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Konrad Eisele <konrad@gaisler.com>
* SPARC/LEON: power down instruction different of different LEONsDaniel Hellstrom2011-03-161-0/+82
The way a LEON is powered down is implemented differently depending on CHIP type. The AMBA Plug&Play system ID tells revision of GRLIB and CHIP. This is for example needed by the GR-LEON4-ITX board and the UT699. Previously the power down support for LEON was limited to SMP, now both SMP and UP systems use the instruction. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>