|
@@ -13,6 +13,7 @@
|
|
#include <linux/smp.h>
|
|
#include <linux/smp.h>
|
|
|
|
|
|
#include <asm/cacheflush.h>
|
|
#include <asm/cacheflush.h>
|
|
|
|
+#include <asm/system.h>
|
|
|
|
|
|
extern volatile int pen_release;
|
|
extern volatile int pen_release;
|
|
|
|
|
|
@@ -62,13 +63,7 @@ static inline void platform_do_lowpower(unsigned int cpu, int *spurious)
|
|
* code will have already disabled interrupts
|
|
* code will have already disabled interrupts
|
|
*/
|
|
*/
|
|
for (;;) {
|
|
for (;;) {
|
|
- /*
|
|
|
|
- * here's the WFI
|
|
|
|
- */
|
|
|
|
- asm(".word 0xe320f003\n"
|
|
|
|
- :
|
|
|
|
- :
|
|
|
|
- : "memory", "cc");
|
|
|
|
|
|
+ wfi();
|
|
|
|
|
|
if (pen_release == cpu) {
|
|
if (pen_release == cpu) {
|
|
/*
|
|
/*
|