Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173456
b: refs/heads/master
c: 159f8cd
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Oct 30, 2009
1 parent c964671 commit 870834a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da14909eb0749c2788fc704be6dbdebb620602f6
refs/heads/master: 159f8cd99ea0e3613cbb6aeea574af438f33d8d7
4 changes: 4 additions & 0 deletions trunk/arch/sh/include/asm/suspend.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ extern struct atomic_notifier_head sh_mobile_post_sleep_notifier_list;
#define SH_MOBILE_PRE(x) (x)
#define SH_MOBILE_POST(x) (-(x))

/* board code registration function for self-refresh assembly snippets */
void sh_mobile_register_self_refresh(unsigned long flags,
void *pre_start, void *pre_end,
void *post_start, void *post_end);
#endif

/* flags passed to assembly suspend code */
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/sh/kernel/cpu/shmobile/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ void sh_mobile_call_standby(unsigned long mode)
mode, NULL);
}

void sh_mobile_register_self_refresh(unsigned long flags,
void *pre_start, void *pre_end,
void *post_start, void *post_end)
{
}

static int sh_pm_enter(suspend_state_t state)
{
local_irq_disable();
Expand Down

0 comments on commit 870834a

Please sign in to comment.