2 * This file is part of OMAP DSP driver (DSP Gateway version 3.3.1)
4 * Copyright (C) 2004-2006 Nokia Corporation. All rights reserved.
6 * Contact: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
24 #ifndef ASM_ARCH_DSP_COMMON_H
25 #define ASM_ARCH_DSP_COMMON_H
27 #if defined(CONFIG_ARCH_OMAP1) && defined(CONFIG_OMAP_MMU_FWK)
28 extern void omap_dsp_request_mpui(void);
29 extern void omap_dsp_release_mpui(void);
30 extern int omap_dsp_request_mem(void);
31 extern int omap_dsp_release_mem(void);
33 static inline int omap_dsp_request_mem(void)
37 #define omap_dsp_release_mem() do {} while (0)
40 #endif /* ASM_ARCH_DSP_COMMON_H */