~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-msm/include/mach/cpu.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
 
2
 *
 
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.
 
6
 *
 
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.
 
11
 *
 
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.
 
16
 */
 
17
 
 
18
#ifndef __ARCH_ARM_MACH_MSM_CPU_H__
 
19
#define __ARCH_ARM_MACH_MSM_CPU_H__
 
20
 
 
21
/* TODO: For now, only one CPU can be compiled at a time. */
 
22
 
 
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
 
28
 
 
29
#ifdef CONFIG_ARCH_MSM7X00A
 
30
# undef cpu_is_msm7x01
 
31
# define cpu_is_msm7x01()       1
 
32
#endif
 
33
 
 
34
#ifdef CONFIG_ARCH_MSM7X30
 
35
# undef cpu_is_msm7x30
 
36
# define cpu_is_msm7x30()       1
 
37
#endif
 
38
 
 
39
#ifdef CONFIG_ARCH_QSD8X50
 
40
# undef cpu_is_qsd8x50
 
41
# define cpu_is_qsd8x50()       1
 
42
#endif
 
43
 
 
44
#ifdef CONFIG_ARCH_MSM8X60
 
45
# undef cpu_is_msm8x60
 
46
# define cpu_is_msm8x60()       1
 
47
#endif
 
48
 
 
49
#ifdef CONFIG_ARCH_MSM8960
 
50
# undef cpu_is_msm8960
 
51
# define cpu_is_msm8960()       1
 
52
#endif
 
53
 
 
54
#endif