block: move down direct IO plugging
[linux/fpc-iii.git] / arch / arm / mach-msm / include / mach / cpu.h
bloba9481b08d5c751ec6b7381f91deac09dfb3b4e18
1 /* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15 * 02110-1301, USA.
18 #ifndef __ARCH_ARM_MACH_MSM_CPU_H__
19 #define __ARCH_ARM_MACH_MSM_CPU_H__
21 /* TODO: For now, only one CPU can be compiled at a time. */
23 #define cpu_is_msm7x01() 0
24 #define cpu_is_msm7x30() 0
25 #define cpu_is_qsd8x50() 0
26 #define cpu_is_msm8x60() 0
27 #define cpu_is_msm8960() 0
29 #ifdef CONFIG_ARCH_MSM7X00A
30 # undef cpu_is_msm7x01
31 # define cpu_is_msm7x01() 1
32 #endif
34 #ifdef CONFIG_ARCH_MSM7X30
35 # undef cpu_is_msm7x30
36 # define cpu_is_msm7x30() 1
37 #endif
39 #ifdef CONFIG_ARCH_QSD8X50
40 # undef cpu_is_qsd8x50
41 # define cpu_is_qsd8x50() 1
42 #endif
44 #ifdef CONFIG_ARCH_MSM8X60
45 # undef cpu_is_msm8x60
46 # define cpu_is_msm8x60() 1
47 #endif
49 #ifdef CONFIG_ARCH_MSM8960
50 # undef cpu_is_msm8960
51 # define cpu_is_msm8960() 1
52 #endif
54 #endif