File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
arch/mips/include/asm/mach-loongson2ef Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ extern void bonito_irq_init(void);
18
18
extern void mach_prepare_reboot (void );
19
19
extern void mach_prepare_shutdown (void );
20
20
21
+ /* machine-specific PROM functions */
22
+ extern void __init mach_prom_init_machtype (void );
23
+
21
24
/* environment arguments from bootloader */
22
25
extern u32 cpu_clock_freq ;
23
26
extern u32 memsize , highmemsize ;
@@ -45,6 +48,12 @@ extern void __init mach_init_irq(void);
45
48
extern void mach_irq_dispatch (unsigned int pending );
46
49
extern int mach_i8259_irq (void );
47
50
51
+ /* power management functions */
52
+ extern void setup_wakeup_events (void );
53
+ extern int wakeup_loongson (void );
54
+ extern void __weak mach_suspend (void );
55
+ extern void __weak mach_resume (void );
56
+
48
57
/* We need this in some places... */
49
58
#define delay () ({ \
50
59
int x; \
You can’t perform that action at this time.
0 commit comments