From 57b3d0952540e643c03777da096580ca3dd0f11c Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Thu, 25 Mar 2010 18:17:54 +0000 Subject: mpegplayer: align video output data structure only on multicore git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25330 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mpegplayer/video_out_rockbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c index 450a8bc7a1..ee0efb8824 100644 --- a/apps/plugins/mpegplayer/video_out_rockbox.c +++ b/apps/plugins/mpegplayer/video_out_rockbox.c @@ -43,7 +43,7 @@ struct vo_data struct vo_rect rc_clip; }; -#ifdef PROC_NEEDS_CACHEALIGN +#if NUM_CORES > 1 /* Cache aligned and padded to avoid clobbering other processors' cacheable * data */ static uint8_t __vo_data[CACHEALIGN_UP(sizeof(struct vo_data))] -- cgit v1.2.3