summaryrefslogtreecommitdiff
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2013-02-09 23:27:26 -0500
committerLen Brown <len.brown@intel.com>2013-02-17 23:36:56 -0500
commitd472ba840d622e48f5c94369263ef3af18ab64f8 (patch)
treeed4984bb9f6d39a10a351ae8f07f4f7a795d9623 /arch/sparc/include
parent3738fa5bbc3acaf6a807cb45f4367cbab412faee (diff)
downloadlwn-d472ba840d622e48f5c94369263ef3af18ab64f8.tar.gz
lwn-d472ba840d622e48f5c94369263ef3af18ab64f8.zip
sparc idle: rename pm_idle to sparc_idle
(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>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/processor_32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/processor_32.h b/arch/sparc/include/asm/processor_32.h
index c1e01914fd98..2c7baa4c4505 100644
--- a/arch/sparc/include/asm/processor_32.h
+++ b/arch/sparc/include/asm/processor_32.h
@@ -118,6 +118,7 @@ extern unsigned long get_wchan(struct task_struct *);
extern struct task_struct *last_task_used_math;
#define cpu_relax() barrier()
+extern void (*sparc_idle)(void);
#endif