diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-10-10 13:26:51 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-10-10 13:26:51 +0000 |
commit | 561999ebfff8d03d89140df20e3b687d0af77110 (patch) | |
tree | fd3e9bc924f0bac4a58dcc054bbb0345877b7344 /apps | |
parent | d0bf13b4867e9e59b5b58dbacfa744461d2c087e (diff) |
Make skin_render_playlistviewer() noinline. This function uses lots of stack (around 1 kilobyte), and is called from a recursive function. gcc's stack allocation strategy makes the calling function then use all this stack space when inlining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28231 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c index 304ebf140e..bd86c0bdf8 100644 --- a/apps/gui/skin_engine/skin_render.c +++ b/apps/gui/skin_engine/skin_render.c @@ -715,7 +715,7 @@ void skin_render(struct gui_wps *gwps, unsigned refresh_mode) } #ifdef HAVE_LCD_BITMAP -static void skin_render_playlistviewer(struct playlistviewer* viewer, +static __attribute__((noinline)) void skin_render_playlistviewer(struct playlistviewer* viewer, struct gui_wps *gwps, struct skin_viewport* skin_viewport, unsigned long refresh_type) |