/*
 * This was automagically generated from arch/arm/tools/mach-types!
 * Do NOT edit
 */

#ifndef __ASM_ARM_MACH_TYPE_H
#define __ASM_ARM_MACH_TYPE_H

#ifndef __ASSEMBLY__
/* The type of machine we're running on */
extern unsigned int __machine_arch_type;
#endif

/* see arch/arm/kernel/arch.c for a description of these */
#define MACH_TYPE_EBSA110              0
#define MACH_TYPE_RISCPC               1
#define MACH_TYPE_EBSA285              4
#define MACH_TYPE_NETWINDER            5
#define MACH_TYPE_CATS                 6
#define MACH_TYPE_SHARK                15
#define MACH_TYPE_BRUTUS               16
#define MACH_TYPE_PERSONAL_SERVER      17
#define MACH_TYPE_L7200                19
#define MACH_TYPE_PLEB                 20
#define MACH_TYPE_INTEGRATOR           21
#define MACH_TYPE_H3600                22
#define MACH_TYPE_P720T                24
#define MACH_TYPE_ASSABET              25
#define MACH_TYPE_LART                 27
#define MACH_TYPE_GRAPHICSCLIENT       29
#define MACH_TYPE_XP860                30
#define MACH_TYPE_CERF                 31
#define MACH_TYPE_NANOENGINE           32
#define MACH_TYPE_JORNADA720           48
#define MACH_TYPE_EDB7211              50
#define MACH_TYPE_PFS168               52
#define MACH_TYPE_FLEXANET             54
#define MACH_TYPE_SIMPAD               87
#define MACH_TYPE_LUBBOCK              89
#define MACH_TYPE_CLEP7212             91
#define MACH_TYPE_SHANNON              97
#define MACH_TYPE_CONSUS               105
#define MACH_TYPE_AAED2000             106
#define MACH_TYPE_CDB89712             107
#define MACH_TYPE_GRAPHICSMASTER       108
#define MACH_TYPE_ADSBITSY             109
#define MACH_TYPE_PXA_IDP              110
#define MACH_TYPE_PT_SYSTEM3           112
#define MACH_TYPE_AUTCPU12             118
#define MACH_TYPE_H3100                136
#define MACH_TYPE_COLLIE               146
#define MACH_TYPE_BADGE4               148
#define MACH_TYPE_FORTUNET             152
#define MACH_TYPE_MX1ADS               160
#define MACH_TYPE_H7201                161
#define MACH_TYPE_H7202                162
#define MACH_TYPE_IQ80321              169
#define MACH_TYPE_KS8695               180
#define MACH_TYPE_KARO                 190
#define MACH_TYPE_SMDK2410             193
#define MACH_TYPE_CEIVA                200
#define MACH_TYPE_VOICEBLUE            218
#define MACH_TYPE_H5400                220
#define MACH_TYPE_OMAP_INNOVATOR       234
#define MACH_TYPE_IXDP2400             242
#define MACH_TYPE_IXDP2800             243
#define MACH_TYPE_IXDP425              245
#define MACH_TYPE_HACKKIT              254
#define MACH_TYPE_IXCDP1100            260
#define MACH_TYPE_AT91RM9200DK         262
#define MACH_TYPE_CINTEGRATOR          275
#define MACH_TYPE_VIPER                283
#define MACH_TYPE_ADI_COYOTE           290
#define MACH_TYPE_IXDP2401             299
#define MACH_TYPE_IXDP2801             300
#define MACH_TYPE_IQ31244              327
#define MACH_TYPE_BAST                 331
#define MACH_TYPE_H1940                347
#define MACH_TYPE_ENP2611              356
#define MACH_TYPE_S3C2440              362
#define MACH_TYPE_GUMSTIX              373
#define MACH_TYPE_OMAP_H2              382
#define MACH_TYPE_E740                 384
#define MACH_TYPE_IQ80331              385
#define MACH_TYPE_VERSATILE_PB         387
#define MACH_TYPE_KEV7A400             388
#define MACH_TYPE_LPD7A400             389
#define MACH_TYPE_LPD7A404             390
#define MACH_TYPE_CSB337               399
#define MACH_TYPE_MAINSTONE            406
#define MACH_TYPE_XCEP                 413
#define MACH_TYPE_ARCOM_VULCAN         414
#define MACH_TYPE_NOMADIK              420
#define MACH_TYPE_CORGI                423
#define MACH_TYPE_POODLE               424
#define MACH_TYPE_ARMCORE              438
#define MACH_TYPE_MX31ADS              447
#define MACH_TYPE_HIMALAYA             448
#define MACH_TYPE_EDB9312              451
#define MACH_TYPE_OMAP_GENERIC         452
#define MACH_TYPE_EDB9301              462
#define MACH_TYPE_EDB9315              463
#define MACH_TYPE_VR1000               475
#define MACH_TYPE_OMAP_PERSEUS2        491
#define MACH_TYPE_E800                 496
#define MACH_TYPE_E750                 497
#define MACH_TYPE_SCB9328              508
#define MACH_TYPE_OMAP_H3              509
#define MACH_TYPE_OMAP_H4              510
#define MACH_TYPE_OMAP_OSK             515
#define MACH_TYPE_TOSA                 520
#define MACH_TYPE_AVILA                526
#define MACH_TYPE_EDB9302              538
#define MACH_TYPE_HUSKY                543
#define MACH_TYPE_SHEPHERD             545
#define MACH_TYPE_H4700                562
#define MACH_TYPE_RX3715               592
#define MACH_TYPE_NSLU2                597
#define MACH_TYPE_E400                 598
#define MACH_TYPE_IXDPG425             604
#define MACH_TYPE_VERSATILE_AB         606
#define MACH_TYPE_EDB9307              607
#define MACH_TYPE_KB9200               612
#define MACH_TYPE_SX1                  613
#define MACH_TYPE_IXDP465              618
#define MACH_TYPE_IXDP2351             619
#define MACH_TYPE_IQ80332              629
#define MACH_TYPE_GTWX5715             641
#define MACH_TYPE_CSB637               648
#define MACH_TYPE_N30                  656
#define MACH_TYPE_NEC_MP900            659
#define MACH_TYPE_KAFA                 662
#define MACH_TYPE_TS72XX               673
#define MACH_TYPE_OTOM                 680
#define MACH_TYPE_NEXCODER_2440        681
#define MACH_TYPE_ECO920               702
#define MACH_TYPE_ROADRUNNER           704
#define MACH_TYPE_AT91RM9200EK         705
#define MACH_TYPE_SPITZ                713
#define MACH_TYPE_ADSSPHERE            723
#define MACH_TYPE_COLIBRI              729
#define MACH_TYPE_GATEWAY7001          731
#define MACH_TYPE_PCM027               732
#define MACH_TYPE_ANUBIS               734
#define MACH_TYPE_AKITA                744
#define MACH_TYPE_E330                 753
#define MACH_TYPE_NOKIA770             755
#define MACH_TYPE_CARMEVA              769
#define MACH_TYPE_EDB9315A             772
#define MACH_TYPE_STARGATE2            774
#define MACH_TYPE_INTELMOTE2           775
#define MACH_TYPE_TRIZEPS4             776
#define MACH_TYPE_PNX4008              782
#define MACH_TYPE_CPUAT91              787
#define MACH_TYPE_IQ81340SC            799
#define MACH_TYPE_IQ81340MC            801
#define MACH_TYPE_MICRO9               811
#define MACH_TYPE_MICRO9L              812
#define MACH_TYPE_OMAP_PALMTE          817
#define MACH_TYPE_REALVIEW_EB          827
#define MACH_TYPE_BORZOI               831
#define MACH_TYPE_PALMLD               835
#define MACH_TYPE_IXDP28X5             838
#define MACH_TYPE_OMAP_PALMTT          839
#define MACH_TYPE_ARCOM_ZEUS           841
#define MACH_TYPE_OSIRIS               842
#define MACH_TYPE_PALMTE2              844
#define MACH_TYPE_MX27ADS              846
#define MACH_TYPE_AT91SAM9261EK        848
#define MACH_TYPE_LOFT                 849
#define MACH_TYPE_MX21ADS              851
#define MACH_TYPE_AMS_DELTA            862
#define MACH_TYPE_NAS100D              865
#define MACH_TYPE_MAGICIAN             875
#define MACH_TYPE_NXDKN                880
#define MACH_TYPE_PALMTX               885
#define MACH_TYPE_S3C2413              887
#define MACH_TYPE_WG302V2              890
#define MACH_TYPE_OMAP_2430SDP         900
#define MACH_TYPE_DAVINCI_EVM          901
#define MACH_TYPE_PALMZ72              904
#define MACH_TYPE_NXDB500              905
#define MACH_TYPE_APF9328              906
#define MACH_TYPE_PALMT5               917
#define MACH_TYPE_PALMTC               918
#define MACH_TYPE_OMAP_APOLLON         919
#define MACH_TYPE_ATEB9200             923
#define MACH_TYPE_N35                  927
#define MACH_TYPE_LOGICPD_PXA270       930
#define MACH_TYPE_NXEB500HMI           941
#define MACH_TYPE_ESPRESSO             949
#define MACH_TYPE_RX1950               952
#define MACH_TYPE_GESBC9312            958
#define MACH_TYPE_PICOTUX2XX           963
#define MACH_TYPE_DSMG600              964
#define MACH_TYPE_OMAP_FSAMPLE         970
#define MACH_TYPE_SNAPPER_CL15         986
#define MACH_TYPE_OMAP_PALMZ71         993
#define MACH_TYPE_SMDK2412             1009
#define MACH_TYPE_BKDE303              1021
#define MACH_TYPE_SMDK2413             1022
#define MACH_TYPE_AML_M5900            1024
#define MACH_TYPE_BALLOON3             1029
#define MACH_TYPE_ECBAT91              1072
#define MACH_TYPE_ONEARM               1075
#define MACH_TYPE_SMDK2443             1084
#define MACH_TYPE_FSG                  1091
#define MACH_TYPE_AT91SAM9260EK        1099
#define MACH_TYPE_GLANTANK             1100
#define MACH_TYPE_N2100                1101
#define MACH_TYPE_QT2410               1108
#define MACH_TYPE_KIXRP435             1109
#define MACH_TYPE_CC9P9360DEV          1114
#define MACH_TYPE_EDB9302A             1127
#define MACH_TYPE_EDB9307A             1128
#define MACH_TYPE_OMAP_3430SDP         1138
#define MACH_TYPE_VSTMS                1140
#define MACH_TYPE_MICRO9M              1169
#define MACH_TYPE_BUG                  1179
#define MACH_TYPE_AT91SAM9263EK        1202
#define MACH_TYPE_EM7210               1212
#define MACH_TYPE_VPAC270              1227
#define MACH_TYPE_TREO680              1230
#define MACH_TYPE_ZYLONITE             1233
#define MACH_TYPE_MX31LITE             1236
#define MACH_TYPE_MIOA701              1257
#define MACH_TYPE_ARMADILLO5X0         1260
#define MACH_TYPE_CC9P9360JS           1264
#define MACH_TYPE_SMDK6400             1270
#define MACH_TYPE_NOKIA_N800           1271
#define MACH_TYPE_EP80219              1281
#define MACH_TYPE_GORAMO_MLR           1292
#define MACH_TYPE_EM_X270              1297
#define MACH_TYPE_NEO1973_GTA02        1304
#define MACH_TYPE_AT91SAM9RLEK         1326
#define MACH_TYPE_COLIBRI320           1340
#define MACH_TYPE_CAM60                1351
#define MACH_TYPE_AT91EB01             1354
#define MACH_TYPE_DB88F5281            1358
#define MACH_TYPE_CSB726               1359
#define MACH_TYPE_DAVINCI_DM6467_EVM   1380
#define MACH_TYPE_DAVINCI_DM355_EVM    1381
#define MACH_TYPE_LITTLETON            1388
#define MACH_TYPE_REALVIEW_PB11MP      1407
#define MACH_TYPE_MX27_3DS             1430
#define MACH_TYPE_HALIBUT              1439
#define MACH_TYPE_TROUT                1440
#define MACH_TYPE_TCT_HAMMER           1460
#define MACH_TYPE_HERALD               1461
#define MACH_TYPE_SIM_ONE              1476
#define MACH_TYPE_JIVE                 1490
#define MACH_TYPE_SAM9_L9260           1501
#define MACH_TYPE_REALVIEW_PB1176      1504
#define MACH_TYPE_YL9200               1507
#define MACH_TYPE_RD88F5182            1508
#define MACH_TYPE_KUROBOX_PRO          1509
#define MACH_TYPE_MX31_3DS             1511
#define MACH_TYPE_QONG                 1524
#define MACH_TYPE_OMAP2EVM             1534
#define MACH_TYPE_OMAP3EVM             1535
#define MACH_TYPE_DNS323               1542
#define MACH_TYPE_OMAP3_BEAGLE         1546
#define MACH_TYPE_NOKIA_N810           1548
#define MACH_TYPE_PCM038               1551
#define MACH_TYPE_TS209                1565
#define MACH_TYPE_AT91CAP9ADK          1566
#define MACH_TYPE_MX31MOBOARD          1574
#define MACH_TYPE_VISION_EP9307        1578
#define MACH_TYPE_TERASTATION_PRO2     1584
#define MACH_TYPE_LINKSTATION_PRO      1585
#define MACH_TYPE_E350                 1596
#define MACH_TYPE_TS409                1601
#define MACH_TYPE_RSI_EWS              1609
#define MACH_TYPE_CM_X300              1616
#define MACH_TYPE_AT91SAM9G20EK        1624
#define MACH_TYPE_SMDK6410             1626
#define MACH_TYPE_U300                 1627
#define MACH_TYPE_WRT350N_V2           1633
#define MACH_TYPE_OMAP_LDP             1639
#define MACH_TYPE_MX35_3DS             1645
#define MACH_TYPE_NEUROS_OSD2          1647
#define MACH_TYPE_TRIZEPS4WL           1649
#define MACH_TYPE_TS78XX               1652
#define MACH_TYPE_SFFSDR               1657
#define MACH_TYPE_PCM037               1673
#define MACH_TYPE_DB88F6281_BP         1680
#define MACH_TYPE_RD88F6192_NAS        1681
#define MACH_TYPE_RD88F6281            1682
#define MACH_TYPE_DB78X00_BP           1683
#define MACH_TYPE_SMDK2416             1685
#define MACH_TYPE_WBD111               1690
#define MACH_TYPE_MV2120               1693
#define MACH_TYPE_MX51_3DS             1696
#define MACH_TYPE_IMX27LITE            1701
#define MACH_TYPE_USB_A9260            1709
#define MACH_TYPE_USB_A9263            1710
#define MACH_TYPE_QIL_A9260            1711
#define MACH_TYPE_KZM_ARM11_01         1722
#define MACH_TYPE_NOKIA_N810_WIMAX     1727
#define MACH_TYPE_SAPPHIRE             1729
#define MACH_TYPE_STMP37XX             1732
#define MACH_TYPE_STMP378X             1733
#define MACH_TYPE_EZX_A780             1740
#define MACH_TYPE_EZX_E680             1741
#define MACH_TYPE_EZX_A1200            1742
#define MACH_TYPE_EZX_E6               1743
#define MACH_TYPE_EZX_E2               1744
#define MACH_TYPE_EZX_A910             1745
#define MACH_TYPE_EDMINI_V2            1756
#define MACH_TYPE_ZIPIT2               1757
#define MACH_TYPE_OMAP3_PANDORA        1761
#define MACH_TYPE_MSS2                 1766
#define MACH_TYPE_LB88RC8480           1769
#define MACH_TYPE_MX25_3DS             1771
#define MACH_TYPE_OMAP3530_LV_SOM      1773
#define MACH_TYPE_DAVINCI_DA830_EVM    1781
#define MACH_TYPE_DOVE_DB              1788
#define MACH_TYPE_OVERO                1798
#define MACH_TYPE_AT2440EVB            1799
#define MACH_TYPE_NEOCORE926           1800
#define MACH_TYPE_WNR854T              1801
#define MACH_TYPE_RD88F5181L_GE        1812
#define MACH_TYPE_RD88F5181L_FXO       1818
#define MACH_TYPE_STAMP9G20            1824
#define MACH_TYPE_SMDKC100             1826
#define MACH_TYPE_TAVOREVB             1827
#define MACH_TYPE_SAAR                 1828
#define MACH_TYPE_AT91SAM9M10G45EK     1830
#define MACH_TYPE_USB_A9G20            1841
#define MACH_TYPE_MXLADS               1851
#define MACH_TYPE_LINKSTATION_MINI     1858
#define MACH_TYPE_AFEB9260             1859
#define MACH_TYPE_IMX27IPCAM           1871
#define MACH_TYPE_RD88F6183AP_GE       1894
#define MACH_TYPE_REALVIEW_PBA8        1897
#define MACH_TYPE_REALVIEW_PBX         1901
#define MACH_TYPE_MICRO9S              1902
#define MACH_TYPE_RUT100               1908
#define MACH_TYPE_G3EVM                1919
#define MACH_TYPE_W90P910EVB           1921
#define MACH_TYPE_W90P950EVB           1923
#define MACH_TYPE_W90N960EVB           1924
#define MACH_TYPE_MV88F6281GTW_GE      1932
#define MACH_TYPE_NCP                  1933
#define MACH_TYPE_DAVINCI_DM365_EVM    1939
#define MACH_TYPE_CENTRO               1944
#define MACH_TYPE_NOKIA_RX51           1955
#define MACH_TYPE_OMAP_ZOOM2           1967
#define MACH_TYPE_CPUAT9260            1973
#define MACH_TYPE_EUKREA_CPUIMX27      1975
#define MACH_TYPE_ACS5K                1982
#define MACH_TYPE_SNAPPER_9260         1987
#define MACH_TYPE_DSM320               1988
#define MACH_TYPE_EXEDA                1994
#define MACH_TYPE_MINI2440             1999
#define MACH_TYPE_COLIBRI300           2000
#define MACH_TYPE_LINKSTATION_LS_HGL   2005
#define MACH_TYPE_CPUAT9G20            2031
#define MACH_TYPE_SMDK6440             2032
#define MACH_TYPE_NAS4220B             2038
#define MACH_TYPE_ZYLONITE2            2042
#define MACH_TYPE_ASPENITE             2043
#define MACH_TYPE_TTC_DKB              2045
#define MACH_TYPE_PCM043               2072
#define MACH_TYPE_SHEEVAPLUG           2097
#define MACH_TYPE_AVENGERS_LITE        2104
#define MACH_TYPE_MX51_BABBAGE         2125
#define MACH_TYPE_TX37                 2127
#define MACH_TYPE_RD78X00_MASA         2135
#define MACH_TYPE_DM355_LEOPARD        2138
#define MACH_TYPE_TS219                2139
#define MACH_TYPE_PCA100               2149
#define MACH_TYPE_DAVINCI_DA850_EVM    2157
#define MACH_TYPE_AT91SAM9G10EK        2159
#define MACH_TYPE_OMAP_4430SDP         2160
#define MACH_TYPE_MAGX_ZN5             2162
#define MACH_TYPE_TX25                 2177
#define MACH_TYPE_OMAP3_TORPEDO        2178
#define MACH_TYPE_ANW6410              2183
#define MACH_TYPE_IMX27_VISSTRIM_M10   2187
#define MACH_TYPE_PORTUXG20            2191
#define MACH_TYPE_SMDKC110             2193
#define MACH_TYPE_OMAP3517EVM          2200
#define MACH_TYPE_NETSPACE_V2          2201
#define MACH_TYPE_NETSPACE_MAX_V2      2202
#define MACH_TYPE_D2NET_V2             2203
#define MACH_TYPE_NET2BIG_V2           2204
#define MACH_TYPE_NET5BIG_V2           2206
#define MACH_TYPE_INETSPACE_V2         2208
#define MACH_TYPE_AT91SAM9G45EKES      2212
#define MACH_TYPE_SPEAR600             2236
#define MACH_TYPE_SPEAR300             2237
#define MACH_TYPE_LILLY1131            2239
#define MACH_TYPE_HMT                  2254
#define MACH_TYPE_VEXPRESS             2272
#define MACH_TYPE_D2NET                2282
#define MACH_TYPE_BIGDISK              2283
#define MACH_TYPE_AT91SAM9G20EK_2MMC   2288
#define MACH_TYPE_BCMRING              2289
#define MACH_TYPE_MAHIMAHI             2304
#define MACH_TYPE_SMDK6442             2324
#define MACH_TYPE_OPENRD_BASE          2325
#define MACH_TYPE_DEVKIT8000           2330
#define MACH_TYPE_MX51_EFIKAMX         2336
#define MACH_TYPE_CM_T35               2341
#define MACH_TYPE_NET2BIG              2342
#define MACH_TYPE_IGEP0020             2344
#define MACH_TYPE_NUC932EVB            2356
#define MACH_TYPE_OPENRD_CLIENT        2361
#define MACH_TYPE_U8500                2368
#define MACH_TYPE_MX51_EFIKASB         2370
#define MACH_TYPE_MARVELL_JASPER       2382
#define MACH_TYPE_FLINT                2383
#define MACH_TYPE_TAVOREVB3            2384
#define MACH_TYPE_TOUCHBOOK            2393
#define MACH_TYPE_RAUMFELD_RC          2413
#define MACH_TYPE_RAUMFELD_CONNECTOR   2414
#define MACH_TYPE_RAUMFELD_SPEAKER     2415
#define MACH_TYPE_TNETV107X            2418
#define MACH_TYPE_MX51_M2ID            2428
#define MACH_TYPE_SMDKV210             2456
#define MACH_TYPE_OMAP_ZOOM3           2464
#define MACH_TYPE_OMAP_3630SDP         2465
#define MACH_TYPE_SMARTQ7              2479
#define MACH_TYPE_WATSON_EFM_PLUGIN    2491
#define MACH_TYPE_G4EVM                2493
#define MACH_TYPE_OMAPL138_HAWKBOARD   2495
#define MACH_TYPE_TS41X                2502
#define MACH_TYPE_PHY3250              2511
#define MACH_TYPE_MINI6410             2520
#define MACH_TYPE_TX51                 2529
#define MACH_TYPE_MX28EVK              2531
#define MACH_TYPE_SMARTQ5              2534
#define MACH_TYPE_DAVINCI_DM6467TEVM   2548
#define MACH_TYPE_MXT_TD60             2550
#define MACH_TYPE_PCA101               2595
#define MACH_TYPE_CAPC7117             2612
#define MACH_TYPE_ICONTROL             2624
#define MACH_TYPE_GPLUGD               2625
#define MACH_TYPE_QSD8X50A_ST1_5       2627
#define MACH_TYPE_MX23EVK              2629
#define MACH_TYPE_AP4EVB               2630
#define MACH_TYPE_MITYOMAPL138         2650
#define MACH_TYPE_GURUPLUG             2659
#define MACH_TYPE_SPEAR310             2660
#define MACH_TYPE_SPEAR320             2661
#define MACH_TYPE_AQUILA               2676
#define MACH_TYPE_ESATA_SHEEVAPLUG     2678
#define MACH_TYPE_MSM7X30_SURF         2679
#define MACH_TYPE_TERASTATION_WXL      2697
#define MACH_TYPE_MSM7X25_SURF         2703
#define MACH_TYPE_MSM7X25_FFA          2704
#define MACH_TYPE_MSM7X27_SURF         2705
#define MACH_TYPE_MSM7X27_FFA          2706
#define MACH_TYPE_MSM7X30_FFA          2707
#define MACH_TYPE_QSD8X50_SURF         2708
#define MACH_TYPE_MX53_EVK             2716
#define MACH_TYPE_IGEP0030             2717
#define MACH_TYPE_SBC3530              2722
#define MACH_TYPE_SAARB                2727
#define MACH_TYPE_HARMONY              2731
#define MACH_TYPE_MSM7X30_FLUID        2741
#define MACH_TYPE_CM_T3517             2750
#define MACH_TYPE_WBD222               2753
#define MACH_TYPE_MSM8X60_SURF         2755
#define MACH_TYPE_MSM8X60_SIM          2756
#define MACH_TYPE_TCC8000_SDK          2758
#define MACH_TYPE_CNS3420VB            2776
#define MACH_TYPE_OMAP4_PANDA          2791
#define MACH_TYPE_TI8168EVM            2800
#define MACH_TYPE_TETON_BGA            2816
#define MACH_TYPE_EUKREA_CPUIMX25SD    2820
#define MACH_TYPE_EUKREA_CPUIMX35SD    2821
#define MACH_TYPE_EUKREA_CPUIMX51SD    2822
#define MACH_TYPE_EUKREA_CPUIMX51      2823
#define MACH_TYPE_SMDKC210             2838
#define MACH_TYPE_PCAAL1               2843
#define MACH_TYPE_T5325                2846
#define MACH_TYPE_INCOME               2849
#define MACH_TYPE_MX257SX              2861
#define MACH_TYPE_GONI                 2862
#define MACH_TYPE_BV07                 2882
#define MACH_TYPE_OPENRD_ULTIMATE      2884
#define MACH_TYPE_DEVIXP               2885
#define MACH_TYPE_MICCPT               2886
#define MACH_TYPE_MIC256               2887
#define MACH_TYPE_U5500                2890
#define MACH_TYPE_POV15HD              2910
#define MACH_TYPE_LINKSTATION_LSCHL    2913
#define MACH_TYPE_SMDKV310             2925
#define MACH_TYPE_WM8505_7IN_NETBOOK   2928
#define MACH_TYPE_CRANEBOARD           2932
#define MACH_TYPE_SMDK6450             2938
#define MACH_TYPE_BROWNSTONE           2957
#define MACH_TYPE_FLEXIBITY            2965
#define MACH_TYPE_MX50_RDP             2988
#define MACH_TYPE_UNIVERSAL_C210       2989
#define MACH_TYPE_REAL6410             2990
#define MACH_TYPE_DOCKSTAR             2998
#define MACH_TYPE_TI8148EVM            3004
#define MACH_TYPE_SEABOARD             3005
#define MACH_TYPE_MX53_ARD             3010
#define MACH_TYPE_MX53_SMD             3011
#define MACH_TYPE_MSM8X60_RUMI3        3016
#define MACH_TYPE_MSM8X60_FFA          3017
#define MACH_TYPE_CM_A510              3020
#define MACH_TYPE_TX28                 3043
#define MACH_TYPE_PCONTROL_G20         3062
#define MACH_TYPE_VPR200               3087
#define MACH_TYPE_TORBRECK             3090
#define MACH_TYPE_PRIMA2_EVB           3103
#define MACH_TYPE_PAZ00                3128
#define MACH_TYPE_ACMENETUSFOXG20      3129
#define MACH_TYPE_AG5EVM               3189
#define MACH_TYPE_TSUNAGI              3197
#define MACH_TYPE_ICS_IF_VOIP          3206
#define MACH_TYPE_WLF_CRAGG_6410       3207
#define MACH_TYPE_TRIMSLICE            3209
#define MACH_TYPE_MACKEREL             3211
#define MACH_TYPE_KAEN                 3217
#define MACH_TYPE_NOKIA_RM680          3220
#define MACH_TYPE_MSM8960_SIM          3230
#define MACH_TYPE_MSM8960_RUMI3        3231
#define MACH_TYPE_GSIA18S              3234
#define MACH_TYPE_MX53_LOCO            3273
#define MACH_TYPE_TX53                 3279
#define MACH_TYPE_ENCORE               3284
#define MACH_TYPE_WARIO                3288
#define MACH_TYPE_CM_T3730             3290
#define MACH_TYPE_HREFV60              3293
#define MACH_TYPE_ARMLEX4210           3361
#define MACH_TYPE_SNOWBALL             3363
#define MACH_TYPE_XILINX_EP107         3378
#define MACH_TYPE_NURI                 3379
#define MACH_TYPE_WTPLUG               3412
#define MACH_TYPE_VERIDIS_A300         3448
#define MACH_TYPE_ORIGEN               3455
#define MACH_TYPE_WM8650REFBOARD       3472
#define MACH_TYPE_XARINA               3476
#define MACH_TYPE_SDVR                 3478
#define MACH_TYPE_ACER_MAYA            3479
#define MACH_TYPE_PICO                 3480
#define MACH_TYPE_CWMX233              3481
#define MACH_TYPE_CWAM1808             3482
#define MACH_TYPE_CWDM365              3483
#define MACH_TYPE_MX51_MORAY           3484
#define MACH_TYPE_THALES_CBC           3485
#define MACH_TYPE_BLUEPOINT            3486
#define MACH_TYPE_DIR665               3487
#define MACH_TYPE_ACMEROVER1           3488
#define MACH_TYPE_SHOOTER_CT           3489
#define MACH_TYPE_BLISS                3490
#define MACH_TYPE_BLISSC               3491
#define MACH_TYPE_THALES_ADC           3492
#define MACH_TYPE_UBISYS_P9D_EVP       3493
#define MACH_TYPE_ATDGP318             3494
#define MACH_TYPE_DMA210U              3495
#define MACH_TYPE_EM_T3                3496
#define MACH_TYPE_HTX3250              3497
#define MACH_TYPE_G50                  3498
#define MACH_TYPE_ECO5                 3499
#define MACH_TYPE_WINTERGRASP          3500
#define MACH_TYPE_PURO                 3501
#define MACH_TYPE_SHOOTER_K            3502
#define MACH_TYPE_NSPIRE               3503
#define MACH_TYPE_MICKXX               3504
#define MACH_TYPE_LXMB                 3505
#define MACH_TYPE_ADAM                 3507
#define MACH_TYPE_B1004                3508
#define MACH_TYPE_OBOEA                3509
#define MACH_TYPE_A1015                3510
#define MACH_TYPE_ROBIN_VBDT30         3511
#define MACH_TYPE_TEGRA_ENTERPRISE     3512
#define MACH_TYPE_RFL108200_MK10       3513
#define MACH_TYPE_RFL108300_MK16       3514
#define MACH_TYPE_ROVER_V7             3515
#define MACH_TYPE_MIPHONE              3516
#define MACH_TYPE_FEMTOBTS             3517
#define MACH_TYPE_MONOPOLI             3518
#define MACH_TYPE_BOSS                 3519
#define MACH_TYPE_DAVINCI_DM368_VTAM   3520
#define MACH_TYPE_CLCON                3521
#define MACH_TYPE_NOKIA_RM696          3522
#define MACH_TYPE_TAHITI               3523
#define MACH_TYPE_FIGHTER              3524
#define MACH_TYPE_SGH_I710             3525
#define MACH_TYPE_INTEGREPROSCB        3526
#define MACH_TYPE_MONZA                3527
#define MACH_TYPE_CALIMAIN             3528
#define MACH_TYPE_MX6Q_SABREAUTO       3529
#define MACH_TYPE_GMA01X               3530
#define MACH_TYPE_SBC51                3531
#define MACH_TYPE_FIT                  3532
#define MACH_TYPE_STEELHEAD            3533
#define MACH_TYPE_PANTHER              3534
#define MACH_TYPE_MSM8960_LIQUID       3535
#define MACH_TYPE_LEXIKONCT            3536
#define MACH_TYPE_NS2816_STB           3537
#define MACH_TYPE_SEI_MM2_LPC3250      3538
#define MACH_TYPE_CMIMX53              3539
#define MACH_TYPE_SANDWICH             3540
#define MACH_TYPE_CHIEF                3541
#define MACH_TYPE_POGO_E02             3542
#define MACH_TYPE_MIKRAP_X168          3543
#define MACH_TYPE_HTCMOZART            3544
#define MACH_TYPE_HTCGOLD              3545
#define MACH_TYPE_MT72XX               3546
#define MACH_TYPE_MX51_IVY             3547
#define MACH_TYPE_MX51_LVD             3548
#define MACH_TYPE_OMAP3_WISER2         3549
#define MACH_TYPE_DREAMPLUG            3550
#define MACH_TYPE_COBAS_C_111          3551
#define MACH_TYPE_COBAS_U_411          3552
#define MACH_TYPE_HSSD                 3553
#define MACH_TYPE_IOM35X               3554
#define MACH_TYPE_PSOM_OMAP            3555
#define MACH_TYPE_IPHONE_2G            3556
#define MACH_TYPE_IPHONE_3G            3557
#define MACH_TYPE_IPOD_TOUCH_1G        3558
#define MACH_TYPE_PHAROS_TPC           3559
#define MACH_TYPE_MX53_HYDRA           3560
#define MACH_TYPE_NS2816_DEV_BOARD     3561
#define MACH_TYPE_IPHONE_3GS           3562
#define MACH_TYPE_IPHONE_4             3563
#define MACH_TYPE_IPOD_TOUCH_4G        3564
#define MACH_TYPE_DRAGON_E1100         3565
#define MACH_TYPE_TOPSIDE              3566
#define MACH_TYPE_IRISIII              3567
#define MACH_TYPE_DETO_MACARM9         3568
#define MACH_TYPE_ETI_D1               3569
#define MACH_TYPE_SOM3530SDK           3570
#define MACH_TYPE_OC_ENGINE            3571
#define MACH_TYPE_APQ8064_SIM          3572
#define MACH_TYPE_ALPS                 3575
#define MACH_TYPE_TNY_T3730            3576
#define MACH_TYPE_GERYON_NFE           3577
#define MACH_TYPE_NS2816_REF_BOARD     3578
#define MACH_TYPE_SILVERSTONE          3579
#define MACH_TYPE_MTT2440              3580
#define MACH_TYPE_YNICDB               3581
#define MACH_TYPE_BCT                  3582
#define MACH_TYPE_TUSCAN               3583
#define MACH_TYPE_XBT_SAM9G45          3584
#define MACH_TYPE_ENBW_CMC             3585
#define MACH_TYPE_CH104MX257           3587
#define MACH_TYPE_OPENPRI              3588
#define MACH_TYPE_AM335XEVM            3589
#define MACH_TYPE_PICODMB              3590
#define MACH_TYPE_WALUIGI              3591
#define MACH_TYPE_PUNICAG7             3592
#define MACH_TYPE_IPAD_1G              3593
#define MACH_TYPE_APPLETV_2G           3594
#define MACH_TYPE_MACH_ECOG45          3595
#define MACH_TYPE_AIT_CAM_ENC_4XX      3596
#define MACH_TYPE_RUNNYMEDE            3597
#define MACH_TYPE_PLAY                 3598
#define MACH_TYPE_HW90260              3599
#define MACH_TYPE_TAGH                 3600
#define MACH_TYPE_FILBERT              3601
#define MACH_TYPE_GETINGE_NETCOMV3     3602
#define MACH_TYPE_CW20                 3603
#define MACH_TYPE_CINEMA               3604
#define MACH_TYPE_CINEMA_TEA           3605
#define MACH_TYPE_CINEMA_COFFEE        3606
#define MACH_TYPE_CINEMA_JUICE         3607
#define MACH_TYPE_MX53_MIRAGE2         3609
#define MACH_TYPE_MX53_EFIKASB         3610
#define MACH_TYPE_STM_B2000            3612
#define MACH_TYPE_M28EVK               3613
#define MACH_TYPE_PDA                  3614
#define MACH_TYPE_MERAKI_MR58          3615
#define MACH_TYPE_KOTA2                3616
#define MACH_TYPE_LETCOOL              3617
#define MACH_TYPE_MX27IAT              3618
#define MACH_TYPE_APOLLO_TD            3619
#define MACH_TYPE_ARENA                3620
#define MACH_TYPE_GSNGATEWAY           3621
#define MACH_TYPE_LF2000               3622
#define MACH_TYPE_BONITO               3623
#define MACH_TYPE_ASYMPTOTE            3624
#define MACH_TYPE_BST2BRD              3625
#define MACH_TYPE_TX335S               3626
#define MACH_TYPE_PELCO_TESLA          3627
#define MACH_TYPE_RRHTESTPLAT          3628
#define MACH_TYPE_VIDTONIC_PRO         3629
#define MACH_TYPE_PL_APOLLO            3630
#define MACH_TYPE_PL_PHOENIX           3631
#define MACH_TYPE_M28CU3               3632
#define MACH_TYPE_VVBOX_HD             3633
#define MACH_TYPE_COREWARE_SAM9260_    3634
#define MACH_TYPE_MARMADUKE            3635
#define MACH_TYPE_AMG_XLCORE_CAMERA    3636
#define MACH_TYPE_OMAP3_EGF            3637
#define MACH_TYPE_SMDK4212             3638
#define MACH_TYPE_DNP9200              3639
#define MACH_TYPE_TF101                3640
#define MACH_TYPE_OMAP3SILVIO          3641
#define MACH_TYPE_PICASSO2             3642
#define MACH_TYPE_VANGOGH2             3643
#define MACH_TYPE_OLPC_XO_1_75         3644
#define MACH_TYPE_GX400                3645
#define MACH_TYPE_GS300                3646
#define MACH_TYPE_ACER_A9              3647
#define MACH_TYPE_VIVOW_EVM            3648
#define MACH_TYPE_VELOCE_CXQ           3649
#define MACH_TYPE_VELOCE_CXM           3650
#define MACH_TYPE_P1852                3651
#define MACH_TYPE_NAXY100              3652
#define MACH_TYPE_TAISHAN              3653
#define MACH_TYPE_TOUCHLINK            3654
#define MACH_TYPE_STM32F103ZE          3655
#define MACH_TYPE_MCX                  3656
#define MACH_TYPE_STM_NMHDK_FLI7610    3657
#define MACH_TYPE_TOP28X               3658
#define MACH_TYPE_OKL4VP_MICROVISOR    3659
#define MACH_TYPE_POP                  3660
#define MACH_TYPE_LAYER                3661
#define MACH_TYPE_TRONDHEIM            3662
#define MACH_TYPE_EVA                  3663
#define MACH_TYPE_TRUST_TAURUS         3664
#define MACH_TYPE_NS2816_HUASHAN       3665
#define MACH_TYPE_NS2816_YANGCHENG     3666
#define MACH_TYPE_P852                 3667
#define MACH_TYPE_FLEA3                3668
#define MACH_TYPE_BOWFIN               3669
#define MACH_TYPE_MV88DE3100           3670
#define MACH_TYPE_PIA_AM35X            3671
#define MACH_TYPE_CEDAR                3672
#define MACH_TYPE_PICASSO_E            3673
#define MACH_TYPE_SAMSUNG_E60          3674
#define MACH_TYPE_SDVR_MINI            3676
#define MACH_TYPE_OMAP3_IJ3K           3677
#define MACH_TYPE_MODASMC1             3678
#define MACH_TYPE_APQ8064_RUMI3        3679
#define MACH_TYPE_MATRIX506            3680
#define MACH_TYPE_MSM9615_MTP          3681
#define MACH_TYPE_DM36X_SPAWNDC        3682
#define MACH_TYPE_SFF792               3683
#define MACH_TYPE_AM335XIAEVM          3684
#define MACH_TYPE_G3C2440              3685
#define MACH_TYPE_TION270              3686
#define MACH_TYPE_W22Q7ARM02           3687
#define MACH_TYPE_OMAP_CAT             3688
#define MACH_TYPE_AT91SAM9N12EK        3689
#define MACH_TYPE_MORRISON             3690
#define MACH_TYPE_SVDU                 3691
#define MACH_TYPE_LPP01                3692
#define MACH_TYPE_UBC283               3693
#define MACH_TYPE_ZEPPELIN             3694
#define MACH_TYPE_MOTUS                3695
#define MACH_TYPE_NEOMAINBOARD         3696
#define MACH_TYPE_DEVKIT3250           3697
#define MACH_TYPE_DEVKIT7000           3698
#define MACH_TYPE_FMC_UIC              3699
#define MACH_TYPE_FMC_DCM              3700
#define MACH_TYPE_BATWM                3701
#define MACH_TYPE_ATLAS6CB             3702
#define MACH_TYPE_BLUE                 3705
#define MACH_TYPE_COLORADO             3706
#define MACH_TYPE_POPC                 3707
#define MACH_TYPE_PROMWAD_JADE         3708
#define MACH_TYPE_AMP                  3709
#define MACH_TYPE_GNET_AMP             3710
#define MACH_TYPE_TOQUES               3711
#define MACH_TYPE_APX4DEVKIT           3712
#define MACH_TYPE_DCT_STORM            3713
#define MACH_TYPE_OWL                  3715
#define MACH_TYPE_COGENT_CSB1741       3716
#define MACH_TYPE_ADILLUSTRA610        3718
#define MACH_TYPE_ECAFE_NA04           3719
#define MACH_TYPE_POPCT                3720
#define MACH_TYPE_OMAP3_HELENA         3721
#define MACH_TYPE_ACH                  3722
#define MACH_TYPE_MODULE_DTB           3723
#define MACH_TYPE_OSLO_ELISABETH       3725
#define MACH_TYPE_TT01                 3726
#define MACH_TYPE_MSM8930_CDP          3727
#define MACH_TYPE_MSM8930_MTP          3728
#define MACH_TYPE_MSM8930_FLUID        3729
#define MACH_TYPE_LTU11                3730
#define MACH_TYPE_AM1808_SPAWNCO       3731
#define MACH_TYPE_FLX6410              3732
#define MACH_TYPE_MX6Q_QSB             3733
#define MACH_TYPE_MX53_PLT424          3734
#define MACH_TYPE_JASMINE              3735
#define MACH_TYPE_L138_OWLBOARD_PLUS   3736
#define MACH_TYPE_WR21                 3737
#define MACH_TYPE_PEABOY               3739
#define MACH_TYPE_MX28_PLATO           3740
#define MACH_TYPE_KACOM2               3741
#define MACH_TYPE_SLCO                 3742
#define MACH_TYPE_IMX51PICO            3743
#define MACH_TYPE_GLINK1               3744
#define MACH_TYPE_DIAMOND              3745
#define MACH_TYPE_D9000                3746
#define MACH_TYPE_W5300E01             3747
#define MACH_TYPE_IM6000               3748
#define MACH_TYPE_MX51_FRED51          3749
#define MACH_TYPE_STM32F2              3750
#define MACH_TYPE_VILLE                3751
#define MACH_TYPE_PTIP_MURNAU          3752
#define MACH_TYPE_PTIP_CLASSIC         3753
#define MACH_TYPE_MX53GRB              3754
#define MACH_TYPE_GAGARIN              3755
#define MACH_TYPE_NAS2BIG              3757
#define MACH_TYPE_SUPERFEMTO           3758
#define MACH_TYPE_TEUFEL               3759
#define MACH_TYPE_DINARA               3760
#define MACH_TYPE_VANQUISH             3761
#define MACH_TYPE_ZIPABOX1             3762
#define MACH_TYPE_U9540                3763
#define MACH_TYPE_JET                  3764
#define MACH_TYPE_SMDK4412             3765
#define MACH_TYPE_ELITE                3766
#define MACH_TYPE_SPEAR320_HMI         3767
#define MACH_TYPE_ONTARIO              3768
#define MACH_TYPE_MX6Q_SABRELITE       3769
#define MACH_TYPE_VC200                3770
#define MACH_TYPE_MSM7625A_FFA         3771
#define MACH_TYPE_MSM7625A_SURF        3772
#define MACH_TYPE_BENTHOSSBP           3773
#define MACH_TYPE_SMDK5210             3774
#define MACH_TYPE_EMPQ2300             3775
#define MACH_TYPE_MINIPOS              3776
#define MACH_TYPE_OMAP5_SEVM           3777
#define MACH_TYPE_SHELTER              3778
#define MACH_TYPE_OMAP3_DEVKIT8500     3779
#define MACH_TYPE_EDGETD               3780
#define MACH_TYPE_COPPERYARD           3781
#define MACH_TYPE_EDGE_U               3783
#define MACH_TYPE_EDGE_TD              3784
#define MACH_TYPE_WDSS                 3785
#define MACH_TYPE_DL_PB25              3786
#define MACH_TYPE_DSS11                3787
#define MACH_TYPE_CPA                  3788
#define MACH_TYPE_APTP2000             3789
#define MACH_TYPE_MARZEN               3790
#define MACH_TYPE_ST_TURBINE           3791
#define MACH_TYPE_GTL_IT3300           3792
#define MACH_TYPE_MX6_MULE             3793
#define MACH_TYPE_V7PXA_DT             3794
#define MACH_TYPE_V7MMP_DT             3795
#define MACH_TYPE_DRAGON7              3796
#define MACH_TYPE_KROME                3797
#define MACH_TYPE_ORATISDANTE          3798
#define MACH_TYPE_FATHOM               3799
#define MACH_TYPE_DNS325               3800
#define MACH_TYPE_SARNEN               3801
#define MACH_TYPE_UBISYS_G1            3802
#define MACH_TYPE_MX53_PF1             3803
#define MACH_TYPE_ASANTI               3804
#define MACH_TYPE_VOLTA                3805
#define MACH_TYPE_KNIGHT               3807
#define MACH_TYPE_BEAGLEBONE           3808
#define MACH_TYPE_BECKER               3809
#define MACH_TYPE_FC360                3810
#define MACH_TYPE_PMI2_XLS             3811
#define MACH_TYPE_TARANTO              3812
#define MACH_TYPE_PLUTUX               3813
#define MACH_TYPE_IPMP_MEDCOM          3814
#define MACH_TYPE_ABSOLUT              3815
#define MACH_TYPE_AWPB3                3816
#define MACH_TYPE_NFP32XX_DT           3817
#define MACH_TYPE_DL_PB53              3818
#define MACH_TYPE_ACU_II               3819
#define MACH_TYPE_AVALON               3820
#define MACH_TYPE_SPHINX               3821
#define MACH_TYPE_TITAN_T              3822
#define MACH_TYPE_HARVEST_BORIS        3823
#define MACH_TYPE_MACH_MSM7X30_M3S     3824
#define MACH_TYPE_SMDK5250             3825
#define MACH_TYPE_IMXT_LITE            3826
#define MACH_TYPE_IMXT_STD             3827
#define MACH_TYPE_IMXT_LOG             3828
#define MACH_TYPE_IMXT_NAV             3829
#define MACH_TYPE_IMXT_FULL            3830
#define MACH_TYPE_AG09015              3831
#define MACH_TYPE_AM3517_MT_VENTOUX    3832
#define MACH_TYPE_DP1ARM9              3833
#define MACH_TYPE_PICASSO_M            3834
#define MACH_TYPE_VIDEO_GADGET         3835
#define MACH_TYPE_MTT_OM3X             3836
#define MACH_TYPE_MX6Q_ARM2            3837
#define MACH_TYPE_PICOSAM9G45          3838
#define MACH_TYPE_VPM_DM365            3839
#define MACH_TYPE_BONFIRE              3840
#define MACH_TYPE_MT2P2D               3841
#define MACH_TYPE_SIGPDA01             3842
#define MACH_TYPE_CN27                 3843
#define MACH_TYPE_MX25_CWTAP           3844
#define MACH_TYPE_APF28                3845
#define MACH_TYPE_PELCO_MAXWELL        3846
#define MACH_TYPE_GE_PHOENIX           3847
#define MACH_TYPE_EMPC_A500            3848
#define MACH_TYPE_IMS_ARM9             3849
#define MACH_TYPE_MINI2416             3850
#define MACH_TYPE_MINI2450             3851
#define MACH_TYPE_MINI310              3852
#define MACH_TYPE_SPEAR_HURRICANE      3853
#define MACH_TYPE_MT7208               3854
#define MACH_TYPE_LPC178X              3855
#define MACH_TYPE_FARLEYS              3856
#define MACH_TYPE_EFM32GG_DK3750       3857
#define MACH_TYPE_ZEUS_BOARD           3858
#define MACH_TYPE_CC51                 3859
#define MACH_TYPE_FXI_C210             3860
#define MACH_TYPE_MSM8627_CDP          3861
#define MACH_TYPE_MSM8627_MTP          3862
#define MACH_TYPE_ARMADILLO800EVA      3863
#define MACH_TYPE_PRIMOU               3864
#define MACH_TYPE_PRIMOC               3865
#define MACH_TYPE_PRIMOCT              3866
#define MACH_TYPE_A9500                3867
#define MACH_TYPE_PLUTO                3869
#define MACH_TYPE_ACFX100              3870
#define MACH_TYPE_MSM8625_RUMI3        3871
#define MACH_TYPE_VALENTE              3872
#define MACH_TYPE_CRFS_RFEYE           3873
#define MACH_TYPE_RFEYE                3874
#define MACH_TYPE_PHIDGET_SBC3         3875
#define MACH_TYPE_TCW_MIKA             3876
#define MACH_TYPE_IMX28_EGF            3877
#define MACH_TYPE_VALENTE_WX           3878
#define MACH_TYPE_HUANGSHANS           3879
#define MACH_TYPE_BOSPHORUS1           3880
#define MACH_TYPE_PRIMA                3881
#define MACH_TYPE_EVITA_ULK            3884
#define MACH_TYPE_MERISC600            3885
#define MACH_TYPE_DOLAK                3886
#define MACH_TYPE_SBC53                3887
#define MACH_TYPE_ELITE_ULK            3888
#define MACH_TYPE_POV2                 3889
#define MACH_TYPE_IPOD_TOUCH_2G        3890
#define MACH_TYPE_DA850_PQAB           3891
#define MACH_TYPE_FERMI                3892
#define MACH_TYPE_CCARDWMX28           3893
#define MACH_TYPE_CCARDMX28            3894
#define MACH_TYPE_FS20_FCM2050         3895
#define MACH_TYPE_KINETIS              3896
#define MACH_TYPE_KAI                  3897
#define MACH_TYPE_BCTHB2               3898
#define MACH_TYPE_INELS3_CU            3899
#define MACH_TYPE_DA850_APOLLO         3901
#define MACH_TYPE_TRACNAS              3902
#define MACH_TYPE_MITYARM335X          3903
#define MACH_TYPE_XCGZ7X               3904
#define MACH_TYPE_CUBOX                3905
#define MACH_TYPE_TERMINATOR           3906
#define MACH_TYPE_EYE03                3907
#define MACH_TYPE_KOTA3                3908
#define MACH_TYPE_PSCPE                3910
#define MACH_TYPE_AKT1100              3911
#define MACH_TYPE_PCAAXL2              3912
#define MACH_TYPE_PRIMODD_CT           3913
#define MACH_TYPE_NSBC                 3914
#define MACH_TYPE_MESON2_SKT           3915
#define MACH_TYPE_MESON2_REF           3916
#define MACH_TYPE_CCARDWMX28JS         3917
#define MACH_TYPE_CCARDMX28JS          3918
#define MACH_TYPE_INDICO               3919
#define MACH_TYPE_MSM8960DT            3920
#define MACH_TYPE_PRIMODS              3921
#define MACH_TYPE_BELUGA_M1388         3922
#define MACH_TYPE_PRIMOTD              3923
#define MACH_TYPE_VARAN_MASTER         3924
#define MACH_TYPE_PRIMODD              3925
#define MACH_TYPE_JETDUO               3926
#define MACH_TYPE_MX53_UMOBO           3927
#define MACH_TYPE_TRATS                3928
#define MACH_TYPE_STARCRAFT            3929
#define MACH_TYPE_QSEVEN_TEGRA2        3930
#define MACH_TYPE_LICHEE_SUN4I_DEVBD   3931
#define MACH_TYPE_MOVENOW              3932
#define MACH_TYPE_GOLF_U               3933
#define MACH_TYPE_MSM7627A_EVB         3934
#define MACH_TYPE_RAMBO                3935
#define MACH_TYPE_GOLFU                3936
#define MACH_TYPE_MANGO310             3937
#define MACH_TYPE_DNS343               3938
#define MACH_TYPE_VAR_SOM_OM44         3939
#define MACH_TYPE_NAON                 3940
#define MACH_TYPE_VP4000               3941
#define MACH_TYPE_IMPCARD              3942
#define MACH_TYPE_SMOOVCAM             3943
#define MACH_TYPE_COBHAM3725           3944
#define MACH_TYPE_COBHAM3730           3945
#define MACH_TYPE_COBHAM3703           3946
#define MACH_TYPE_QUETZAL              3947
#define MACH_TYPE_APQ8064_CDP          3948
#define MACH_TYPE_APQ8064_MTP          3949
#define MACH_TYPE_APQ8064_FLUID        3950
#define MACH_TYPE_APQ8064_LIQUID       3951
#define MACH_TYPE_MANGO210             3952
#define MACH_TYPE_MANGO100             3953
#define MACH_TYPE_MANGO24              3954
#define MACH_TYPE_MANGO64              3955
#define MACH_TYPE_NSA320               3956
#define MACH_TYPE_ELV_CCU2             3957
#define MACH_TYPE_TRITON_X00           3958
#define MACH_TYPE_TRITON_1500_2000     3959
#define MACH_TYPE_POGOPLUGV4           3960
#define MACH_TYPE_VENUS_CL             3961
#define MACH_TYPE_VULCANO_G20          3962
#define MACH_TYPE_SGS_I9100            3963
#define MACH_TYPE_STSV2                3964
#define MACH_TYPE_CSB1724              3965
#define MACH_TYPE_OMAPL138_LCDK        3966
#define MACH_TYPE_PVD_MX25             3968
#define MACH_TYPE_MESON6_SKT           3969
#define MACH_TYPE_MESON6_REF           3970
#define MACH_TYPE_PXM                  3971
#define MACH_TYPE_POGOPLUGV3           3973
#define MACH_TYPE_MLP89626             3974
#define MACH_TYPE_IOMEGAHMNDCE         3975
#define MACH_TYPE_POGOPLUGV3PCI        3976
#define MACH_TYPE_BNTV250              3977
#define MACH_TYPE_MX53_QSEVEN          3978
#define MACH_TYPE_GTL_IT1100           3979
#define MACH_TYPE_MX6Q_SABRESD         3980
#define MACH_TYPE_MT4                  3981
#define MACH_TYPE_JUMBO_D              3982
#define MACH_TYPE_JUMBO_I              3983
#define MACH_TYPE_FS20_DMP             3984
#define MACH_TYPE_DNS320               3985
#define MACH_TYPE_MX28BACOS            3986
#define MACH_TYPE_TL80                 3987
#define MACH_TYPE_POLATIS_NIC_1001     3988
#define MACH_TYPE_TELY                 3989
#define MACH_TYPE_U8520                3990
#define MACH_TYPE_MANTA                3991
#define MACH_TYPE_MPQ8064_CDP          3993
#define MACH_TYPE_MPQ8064_DTV          3995
#define MACH_TYPE_DM368SOM             3996
#define MACH_TYPE_GPRISB2              3997
#define MACH_TYPE_CHAMMID              3998
#define MACH_TYPE_SEOUL2               3999
#define MACH_TYPE_OMAP4_NOOKTABLET     4000
#define MACH_TYPE_AALTO                4001
#define MACH_TYPE_METRO                4002
#define MACH_TYPE_CYDM3730             4003
#define MACH_TYPE_TQMA53               4004
#define MACH_TYPE_MSM7627A_QRD3        4005
#define MACH_TYPE_MX28_CANBY           4006
#define MACH_TYPE_TIGER                4007
#define MACH_TYPE_PCATS_9307_TYPE_A    4008
#define MACH_TYPE_PCATS_9307_TYPE_O    4009
#define MACH_TYPE_PCATS_9307_TYPE_R    4010
#define MACH_TYPE_STREAMPLUG           4011
#define MACH_TYPE_ICECHICKEN_DEV       4012
#define MACH_TYPE_HEDGEHOG             4013
#define MACH_TYPE_YUSEND_OBC           4014
#define MACH_TYPE_IMXNINJA             4015
#define MACH_TYPE_OMAP4_JAROD          4016
#define MACH_TYPE_ECO5_PK              4017
#define MACH_TYPE_QJ2440               4018
#define MACH_TYPE_MX6Q_MERCURY         4019
#define MACH_TYPE_CM6810               4020
#define MACH_TYPE_OMAP4_TORPEDO        4021
#define MACH_TYPE_NSA310               4022
#define MACH_TYPE_TMX536               4023
#define MACH_TYPE_KTT20                4024
#define MACH_TYPE_DRAGONIX             4025
#define MACH_TYPE_LUNGCHING            4026
#define MACH_TYPE_BULOGICS             4027
#define MACH_TYPE_MX535_SX             4028
#define MACH_TYPE_NGUI3250             4029
#define MACH_TYPE_SALUTEC_DAC          4030
#define MACH_TYPE_LOCO                 4031
#define MACH_TYPE_CTERA_PLUG_USI       4032
#define MACH_TYPE_SCEPTER              4033
#define MACH_TYPE_SGA                  4034
#define MACH_TYPE_P_81_J5              4035
#define MACH_TYPE_P_81_O4              4036
#define MACH_TYPE_MSM8625_SURF         4037
#define MACH_TYPE_CARALLON_SHARK       4038
#define MACH_TYPE_ORDOG                4040
#define MACH_TYPE_PUENTE_IO            4041
#define MACH_TYPE_MSM8625_EVB          4042
#define MACH_TYPE_EV_AM1707            4043
#define MACH_TYPE_EV_AM1707E2          4044
#define MACH_TYPE_EV_AM3517E2          4045
#define MACH_TYPE_CALABRIA             4046
#define MACH_TYPE_EV_IMX287            4047
#define MACH_TYPE_ERAU                 4048
#define MACH_TYPE_SICHUAN              4049
#define MACH_TYPE_DAVINCI_DA850        4051
#define MACH_TYPE_OMAP138_TRUNARC      4052
#define MACH_TYPE_BCM4761              4053
#define MACH_TYPE_PICASSO_E2           4054
#define MACH_TYPE_PICASSO_MF           4055
#define MACH_TYPE_MIRO                 4056
#define MACH_TYPE_AT91SAM9G20EWON3     4057
#define MACH_TYPE_YOYO                 4058
#define MACH_TYPE_WINDJKL              4059
#define MACH_TYPE_MONARUDO             4060
#define MACH_TYPE_BATAN                4061
#define MACH_TYPE_TADAO                4062
#define MACH_TYPE_BASO                 4063
#define MACH_TYPE_MAHON                4064
#define MACH_TYPE_VILLEC2              4065
#define MACH_TYPE_ASI1230              4066
#define MACH_TYPE_ALASKA               4067
#define MACH_TYPE_SWARCO_SHDSL2        4068
#define MACH_TYPE_OXRTU                4069
#define MACH_TYPE_OMAP5_PANDA          4070
#define MACH_TYPE_C8000                4072
#define MACH_TYPE_BJE_DISPLAY3_5       4073
#define MACH_TYPE_PICOMOD7             4074
#define MACH_TYPE_PICOCOM5             4075
#define MACH_TYPE_QBLISSA8             4076
#define MACH_TYPE_ARMSTONEA8           4077
#define MACH_TYPE_NETDCU14             4078
#define MACH_TYPE_AT91SAM9X5_EPIPHAN   4079
#define MACH_TYPE_P2U                  4080
#define MACH_TYPE_DORIS                4081
#define MACH_TYPE_J49                  4082
#define MACH_TYPE_VDSS2E               4083
#define MACH_TYPE_VC300                4084
#define MACH_TYPE_NS115_PAD_TEST       4085
#define MACH_TYPE_NS115_PAD_REF        4086
#define MACH_TYPE_NS115_PHONE_TEST     4087
#define MACH_TYPE_NS115_PHONE_REF      4088
#define MACH_TYPE_GOLFC                4089
#define MACH_TYPE_XEROX_OLYMPUS        4090
#define MACH_TYPE_MX6SL_ARM2           4091
#define MACH_TYPE_CSB1701_CSB1726      4092
#define MACH_TYPE_AT91SAM9XEEK         4093
#define MACH_TYPE_EBV210               4094
#define MACH_TYPE_MSM7627A_QRD7        4095
#define MACH_TYPE_SVTHIN               4096
#define MACH_TYPE_DUOVERO              4097
#define MACH_TYPE_CHUPACABRA           4098
#define MACH_TYPE_SCORPION             4099
#define MACH_TYPE_DAVINCI_HE_HMI10     4100
#define MACH_TYPE_TOPKICK              4101
#define MACH_TYPE_M3_AUGUESTRUSH       4102
#define MACH_TYPE_IPC335X              4103
#define MACH_TYPE_SUN4I                4104
#define MACH_TYPE_IMX233_OLINUXINO     4105
#define MACH_TYPE_K2_WL                4106
#define MACH_TYPE_K2_UL                4107
#define MACH_TYPE_K2_CL                4108
#define MACH_TYPE_MINBARI_W            4109
#define MACH_TYPE_MINBARI_M            4110
#define MACH_TYPE_K035                 4111
#define MACH_TYPE_ARIEL                4112
#define MACH_TYPE_ARIELSAARC           4113
#define MACH_TYPE_ARIELDKB             4114
#define MACH_TYPE_ARMADILLO810         4115
#define MACH_TYPE_TAM335X              4116
#define MACH_TYPE_GROUPER              4117
#define MACH_TYPE_MPCSA21_9G20         4118
#define MACH_TYPE_M6U_CPU              4119
#define MACH_TYPE_DAVINCI_DP10         4120
#define MACH_TYPE_GINKGO               4121
#define MACH_TYPE_CGT_QMX6             4122
#define MACH_TYPE_PROFPGA              4123
#define MACH_TYPE_ACFX100OC            4124
#define MACH_TYPE_ACFX100NB            4125
#define MACH_TYPE_CAPRICORN            4126
#define MACH_TYPE_PISCES               4127
#define MACH_TYPE_ARIES                4128
#define MACH_TYPE_CANCER               4129
#define MACH_TYPE_LEO                  4130
#define MACH_TYPE_VIRGO                4131
#define MACH_TYPE_SAGITTARIUS          4132
#define MACH_TYPE_DEVIL                4133
#define MACH_TYPE_BALLANTINES          4134
#define MACH_TYPE_OMAP3_PROCERUSVPU    4135
#define MACH_TYPE_MY27                 4136
#define MACH_TYPE_SUN6I                4137
#define MACH_TYPE_SUN5I                4138
#define MACH_TYPE_MX512_MX             4139
#define MACH_TYPE_KZM9G                4140
#define MACH_TYPE_VDSTBN               4141
#define MACH_TYPE_CFA10036             4142
#define MACH_TYPE_CFA10049             4143
#define MACH_TYPE_PCM051               4144
#define MACH_TYPE_VYBRID_VF7XX         4145
#define MACH_TYPE_VYBRID_VF6XX         4146
#define MACH_TYPE_VYBRID_VF5XX         4147
#define MACH_TYPE_VYBRID_VF4XX         4148
#define MACH_TYPE_ARIA_G25             4149
#define MACH_TYPE_BCM21553             4150
#define MACH_TYPE_SMDK5410             4151
#define MACH_TYPE_LPC18XX              4152
#define MACH_TYPE_ORATISPARTY          4153
#define MACH_TYPE_QSEVEN               4154
#define MACH_TYPE_GMV_GENERIC          4155
#define MACH_TYPE_TH_LINK_ETH          4156
#define MACH_TYPE_TN_MUNINN            4157
#define MACH_TYPE_RAMPAGE              4158
#define MACH_TYPE_VISSTRIM_MV10        4159
#define MACH_TYPE_MX28_WILMA           4164
#define MACH_TYPE_MSM8625_FFA          4166
#define MACH_TYPE_VPU101               4167
#define MACH_TYPE_BAILEYS              4169
#define MACH_TYPE_FAMILYBOX            4170
#define MACH_TYPE_ENSEMBLE_MX35        4171
#define MACH_TYPE_SC_SPS_1             4172

#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EBSA110
# endif
# define machine_is_ebsa110()	(machine_arch_type == MACH_TYPE_EBSA110)
#else
# define machine_is_ebsa110()	(0)
#endif

#ifdef CONFIG_ARCH_RPC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RISCPC
# endif
# define machine_is_riscpc()	(machine_arch_type == MACH_TYPE_RISCPC)
#else
# define machine_is_riscpc()	(0)
#endif

#ifdef CONFIG_ARCH_EBSA285
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EBSA285
# endif
# define machine_is_ebsa285()	(machine_arch_type == MACH_TYPE_EBSA285)
#else
# define machine_is_ebsa285()	(0)
#endif

#ifdef CONFIG_ARCH_NETWINDER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NETWINDER
# endif
# define machine_is_netwinder()	(machine_arch_type == MACH_TYPE_NETWINDER)
#else
# define machine_is_netwinder()	(0)
#endif

#ifdef CONFIG_ARCH_CATS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CATS
# endif
# define machine_is_cats()	(machine_arch_type == MACH_TYPE_CATS)
#else
# define machine_is_cats()	(0)
#endif

#ifdef CONFIG_ARCH_SHARK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHARK
# endif
# define machine_is_shark()	(machine_arch_type == MACH_TYPE_SHARK)
#else
# define machine_is_shark()	(0)
#endif

#ifdef CONFIG_SA1100_BRUTUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BRUTUS
# endif
# define machine_is_brutus()	(machine_arch_type == MACH_TYPE_BRUTUS)
#else
# define machine_is_brutus()	(0)
#endif

#ifdef CONFIG_ARCH_PERSONAL_SERVER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PERSONAL_SERVER
# endif
# define machine_is_personal_server()	(machine_arch_type == MACH_TYPE_PERSONAL_SERVER)
#else
# define machine_is_personal_server()	(0)
#endif

#ifdef CONFIG_ARCH_L7200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_L7200
# endif
# define machine_is_l7200()	(machine_arch_type == MACH_TYPE_L7200)
#else
# define machine_is_l7200()	(0)
#endif

#ifdef CONFIG_SA1100_PLEB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PLEB
# endif
# define machine_is_pleb()	(machine_arch_type == MACH_TYPE_PLEB)
#else
# define machine_is_pleb()	(0)
#endif

#ifdef CONFIG_ARCH_INTEGRATOR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INTEGRATOR
# endif
# define machine_is_integrator()	(machine_arch_type == MACH_TYPE_INTEGRATOR)
#else
# define machine_is_integrator()	(0)
#endif

#ifdef CONFIG_SA1100_H3600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H3600
# endif
# define machine_is_h3600()	(machine_arch_type == MACH_TYPE_H3600)
#else
# define machine_is_h3600()	(0)
#endif

#ifdef CONFIG_ARCH_P720T
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_P720T
# endif
# define machine_is_p720t()	(machine_arch_type == MACH_TYPE_P720T)
#else
# define machine_is_p720t()	(0)
#endif

#ifdef CONFIG_SA1100_ASSABET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ASSABET
# endif
# define machine_is_assabet()	(machine_arch_type == MACH_TYPE_ASSABET)
#else
# define machine_is_assabet()	(0)
#endif

#ifdef CONFIG_SA1100_LART
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LART
# endif
# define machine_is_lart()	(machine_arch_type == MACH_TYPE_LART)
#else
# define machine_is_lart()	(0)
#endif

#ifdef CONFIG_SA1100_GRAPHICSCLIENT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GRAPHICSCLIENT
# endif
# define machine_is_graphicsclient()	(machine_arch_type == MACH_TYPE_GRAPHICSCLIENT)
#else
# define machine_is_graphicsclient()	(0)
#endif

#ifdef CONFIG_SA1100_XP860
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XP860
# endif
# define machine_is_xp860()	(machine_arch_type == MACH_TYPE_XP860)
#else
# define machine_is_xp860()	(0)
#endif

#ifdef CONFIG_SA1100_CERF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CERF
# endif
# define machine_is_cerf()	(machine_arch_type == MACH_TYPE_CERF)
#else
# define machine_is_cerf()	(0)
#endif

#ifdef CONFIG_SA1100_NANOENGINE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NANOENGINE
# endif
# define machine_is_nanoengine()	(machine_arch_type == MACH_TYPE_NANOENGINE)
#else
# define machine_is_nanoengine()	(0)
#endif

#ifdef CONFIG_SA1100_JORNADA720
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_JORNADA720
# endif
# define machine_is_jornada720()	(machine_arch_type == MACH_TYPE_JORNADA720)
#else
# define machine_is_jornada720()	(0)
#endif

#ifdef CONFIG_ARCH_EDB7211
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB7211
# endif
# define machine_is_edb7211()	(machine_arch_type == MACH_TYPE_EDB7211)
#else
# define machine_is_edb7211()	(0)
#endif

#ifdef CONFIG_SA1100_PFS168
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PFS168
# endif
# define machine_is_pfs168()	(machine_arch_type == MACH_TYPE_PFS168)
#else
# define machine_is_pfs168()	(0)
#endif

#ifdef CONFIG_SA1100_FLEXANET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FLEXANET
# endif
# define machine_is_flexanet()	(machine_arch_type == MACH_TYPE_FLEXANET)
#else
# define machine_is_flexanet()	(0)
#endif

#ifdef CONFIG_SA1100_SIMPAD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SIMPAD
# endif
# define machine_is_simpad()	(machine_arch_type == MACH_TYPE_SIMPAD)
#else
# define machine_is_simpad()	(0)
#endif

#ifdef CONFIG_ARCH_LUBBOCK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LUBBOCK
# endif
# define machine_is_lubbock()	(machine_arch_type == MACH_TYPE_LUBBOCK)
#else
# define machine_is_lubbock()	(0)
#endif

#ifdef CONFIG_ARCH_CLEP7212
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CLEP7212
# endif
# define machine_is_clep7212()	(machine_arch_type == MACH_TYPE_CLEP7212)
#else
# define machine_is_clep7212()	(0)
#endif

#ifdef CONFIG_SA1100_SHANNON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHANNON
# endif
# define machine_is_shannon()	(machine_arch_type == MACH_TYPE_SHANNON)
#else
# define machine_is_shannon()	(0)
#endif

#ifdef CONFIG_SA1100_CONSUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CONSUS
# endif
# define machine_is_consus()	(machine_arch_type == MACH_TYPE_CONSUS)
#else
# define machine_is_consus()	(0)
#endif

#ifdef CONFIG_ARCH_AAED2000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AAED2000
# endif
# define machine_is_aaed2000()	(machine_arch_type == MACH_TYPE_AAED2000)
#else
# define machine_is_aaed2000()	(0)
#endif

#ifdef CONFIG_ARCH_CDB89712
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CDB89712
# endif
# define machine_is_cdb89712()	(machine_arch_type == MACH_TYPE_CDB89712)
#else
# define machine_is_cdb89712()	(0)
#endif

#ifdef CONFIG_SA1100_GRAPHICSMASTER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GRAPHICSMASTER
# endif
# define machine_is_graphicsmaster()	(machine_arch_type == MACH_TYPE_GRAPHICSMASTER)
#else
# define machine_is_graphicsmaster()	(0)
#endif

#ifdef CONFIG_SA1100_ADSBITSY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ADSBITSY
# endif
# define machine_is_adsbitsy()	(machine_arch_type == MACH_TYPE_ADSBITSY)
#else
# define machine_is_adsbitsy()	(0)
#endif

#ifdef CONFIG_ARCH_PXA_IDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PXA_IDP
# endif
# define machine_is_pxa_idp()	(machine_arch_type == MACH_TYPE_PXA_IDP)
#else
# define machine_is_pxa_idp()	(0)
#endif

#ifdef CONFIG_SA1100_PT_SYSTEM3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PT_SYSTEM3
# endif
# define machine_is_pt_system3()	(machine_arch_type == MACH_TYPE_PT_SYSTEM3)
#else
# define machine_is_pt_system3()	(0)
#endif

#ifdef CONFIG_ARCH_AUTCPU12
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AUTCPU12
# endif
# define machine_is_autcpu12()	(machine_arch_type == MACH_TYPE_AUTCPU12)
#else
# define machine_is_autcpu12()	(0)
#endif

#ifdef CONFIG_SA1100_H3100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H3100
# endif
# define machine_is_h3100()	(machine_arch_type == MACH_TYPE_H3100)
#else
# define machine_is_h3100()	(0)
#endif

#ifdef CONFIG_SA1100_COLLIE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COLLIE
# endif
# define machine_is_collie()	(machine_arch_type == MACH_TYPE_COLLIE)
#else
# define machine_is_collie()	(0)
#endif

#ifdef CONFIG_SA1100_BADGE4
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BADGE4
# endif
# define machine_is_badge4()	(machine_arch_type == MACH_TYPE_BADGE4)
#else
# define machine_is_badge4()	(0)
#endif

#ifdef CONFIG_ARCH_FORTUNET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FORTUNET
# endif
# define machine_is_fortunet()	(machine_arch_type == MACH_TYPE_FORTUNET)
#else
# define machine_is_fortunet()	(0)
#endif

#ifdef CONFIG_ARCH_MX1ADS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX1ADS
# endif
# define machine_is_mx1ads()	(machine_arch_type == MACH_TYPE_MX1ADS)
#else
# define machine_is_mx1ads()	(0)
#endif

#ifdef CONFIG_ARCH_H7201
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H7201
# endif
# define machine_is_h7201()	(machine_arch_type == MACH_TYPE_H7201)
#else
# define machine_is_h7201()	(0)
#endif

#ifdef CONFIG_ARCH_H7202
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H7202
# endif
# define machine_is_h7202()	(machine_arch_type == MACH_TYPE_H7202)
#else
# define machine_is_h7202()	(0)
#endif

#ifdef CONFIG_ARCH_IQ80321
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IQ80321
# endif
# define machine_is_iq80321()	(machine_arch_type == MACH_TYPE_IQ80321)
#else
# define machine_is_iq80321()	(0)
#endif

#ifdef CONFIG_ARCH_KS8695
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KS8695
# endif
# define machine_is_ks8695()	(machine_arch_type == MACH_TYPE_KS8695)
#else
# define machine_is_ks8695()	(0)
#endif

#ifdef CONFIG_ARCH_KARO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KARO
# endif
# define machine_is_karo()	(machine_arch_type == MACH_TYPE_KARO)
#else
# define machine_is_karo()	(0)
#endif

#ifdef CONFIG_ARCH_SMDK2410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK2410
# endif
# define machine_is_smdk2410()	(machine_arch_type == MACH_TYPE_SMDK2410)
#else
# define machine_is_smdk2410()	(0)
#endif

#ifdef CONFIG_ARCH_CEIVA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CEIVA
# endif
# define machine_is_ceiva()	(machine_arch_type == MACH_TYPE_CEIVA)
#else
# define machine_is_ceiva()	(0)
#endif

#ifdef CONFIG_MACH_VOICEBLUE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VOICEBLUE
# endif
# define machine_is_voiceblue()	(machine_arch_type == MACH_TYPE_VOICEBLUE)
#else
# define machine_is_voiceblue()	(0)
#endif

#ifdef CONFIG_ARCH_H5400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H5400
# endif
# define machine_is_h5400()	(machine_arch_type == MACH_TYPE_H5400)
#else
# define machine_is_h5400()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_INNOVATOR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_INNOVATOR
# endif
# define machine_is_omap_innovator()	(machine_arch_type == MACH_TYPE_OMAP_INNOVATOR)
#else
# define machine_is_omap_innovator()	(0)
#endif

#ifdef CONFIG_ARCH_IXDP2400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP2400
# endif
# define machine_is_ixdp2400()	(machine_arch_type == MACH_TYPE_IXDP2400)
#else
# define machine_is_ixdp2400()	(0)
#endif

#ifdef CONFIG_ARCH_IXDP2800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP2800
# endif
# define machine_is_ixdp2800()	(machine_arch_type == MACH_TYPE_IXDP2800)
#else
# define machine_is_ixdp2800()	(0)
#endif

#ifdef CONFIG_ARCH_IXDP425
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP425
# endif
# define machine_is_ixdp425()	(machine_arch_type == MACH_TYPE_IXDP425)
#else
# define machine_is_ixdp425()	(0)
#endif

#ifdef CONFIG_SA1100_HACKKIT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HACKKIT
# endif
# define machine_is_hackkit()	(machine_arch_type == MACH_TYPE_HACKKIT)
#else
# define machine_is_hackkit()	(0)
#endif

#ifdef CONFIG_ARCH_IXCDP1100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXCDP1100
# endif
# define machine_is_ixcdp1100()	(machine_arch_type == MACH_TYPE_IXCDP1100)
#else
# define machine_is_ixcdp1100()	(0)
#endif

#ifdef CONFIG_ARCH_AT91RM9200DK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91RM9200DK
# endif
# define machine_is_at91rm9200dk()	(machine_arch_type == MACH_TYPE_AT91RM9200DK)
#else
# define machine_is_at91rm9200dk()	(0)
#endif

#ifdef CONFIG_ARCH_CINTEGRATOR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CINTEGRATOR
# endif
# define machine_is_cintegrator()	(machine_arch_type == MACH_TYPE_CINTEGRATOR)
#else
# define machine_is_cintegrator()	(0)
#endif

#ifdef CONFIG_ARCH_VIPER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VIPER
# endif
# define machine_is_viper()	(machine_arch_type == MACH_TYPE_VIPER)
#else
# define machine_is_viper()	(0)
#endif

#ifdef CONFIG_ARCH_ADI_COYOTE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ADI_COYOTE
# endif
# define machine_is_adi_coyote()	(machine_arch_type == MACH_TYPE_ADI_COYOTE)
#else
# define machine_is_adi_coyote()	(0)
#endif

#ifdef CONFIG_ARCH_IXDP2401
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP2401
# endif
# define machine_is_ixdp2401()	(machine_arch_type == MACH_TYPE_IXDP2401)
#else
# define machine_is_ixdp2401()	(0)
#endif

#ifdef CONFIG_ARCH_IXDP2801
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP2801
# endif
# define machine_is_ixdp2801()	(machine_arch_type == MACH_TYPE_IXDP2801)
#else
# define machine_is_ixdp2801()	(0)
#endif

#ifdef CONFIG_ARCH_IQ31244
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IQ31244
# endif
# define machine_is_iq31244()	(machine_arch_type == MACH_TYPE_IQ31244)
#else
# define machine_is_iq31244()	(0)
#endif

#ifdef CONFIG_ARCH_BAST
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BAST
# endif
# define machine_is_bast()	(machine_arch_type == MACH_TYPE_BAST)
#else
# define machine_is_bast()	(0)
#endif

#ifdef CONFIG_ARCH_H1940
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H1940
# endif
# define machine_is_h1940()	(machine_arch_type == MACH_TYPE_H1940)
#else
# define machine_is_h1940()	(0)
#endif

#ifdef CONFIG_ARCH_ENP2611
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ENP2611
# endif
# define machine_is_enp2611()	(machine_arch_type == MACH_TYPE_ENP2611)
#else
# define machine_is_enp2611()	(0)
#endif

#ifdef CONFIG_ARCH_S3C2440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_S3C2440
# endif
# define machine_is_s3c2440()	(machine_arch_type == MACH_TYPE_S3C2440)
#else
# define machine_is_s3c2440()	(0)
#endif

#ifdef CONFIG_ARCH_GUMSTIX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GUMSTIX
# endif
# define machine_is_gumstix()	(machine_arch_type == MACH_TYPE_GUMSTIX)
#else
# define machine_is_gumstix()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_H2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_H2
# endif
# define machine_is_omap_h2()	(machine_arch_type == MACH_TYPE_OMAP_H2)
#else
# define machine_is_omap_h2()	(0)
#endif

#ifdef CONFIG_MACH_E740
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_E740
# endif
# define machine_is_e740()	(machine_arch_type == MACH_TYPE_E740)
#else
# define machine_is_e740()	(0)
#endif

#ifdef CONFIG_ARCH_IQ80331
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IQ80331
# endif
# define machine_is_iq80331()	(machine_arch_type == MACH_TYPE_IQ80331)
#else
# define machine_is_iq80331()	(0)
#endif

#ifdef CONFIG_ARCH_VERSATILE_PB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VERSATILE_PB
# endif
# define machine_is_versatile_pb()	(machine_arch_type == MACH_TYPE_VERSATILE_PB)
#else
# define machine_is_versatile_pb()	(0)
#endif

#ifdef CONFIG_MACH_KEV7A400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KEV7A400
# endif
# define machine_is_kev7a400()	(machine_arch_type == MACH_TYPE_KEV7A400)
#else
# define machine_is_kev7a400()	(0)
#endif

#ifdef CONFIG_MACH_LPD7A400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LPD7A400
# endif
# define machine_is_lpd7a400()	(machine_arch_type == MACH_TYPE_LPD7A400)
#else
# define machine_is_lpd7a400()	(0)
#endif

#ifdef CONFIG_MACH_LPD7A404
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LPD7A404
# endif
# define machine_is_lpd7a404()	(machine_arch_type == MACH_TYPE_LPD7A404)
#else
# define machine_is_lpd7a404()	(0)
#endif

#ifdef CONFIG_MACH_CSB337
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CSB337
# endif
# define machine_is_csb337()	(machine_arch_type == MACH_TYPE_CSB337)
#else
# define machine_is_csb337()	(0)
#endif

#ifdef CONFIG_MACH_MAINSTONE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MAINSTONE
# endif
# define machine_is_mainstone()	(machine_arch_type == MACH_TYPE_MAINSTONE)
#else
# define machine_is_mainstone()	(0)
#endif

#ifdef CONFIG_MACH_XCEP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XCEP
# endif
# define machine_is_xcep()	(machine_arch_type == MACH_TYPE_XCEP)
#else
# define machine_is_xcep()	(0)
#endif

#ifdef CONFIG_MACH_ARCOM_VULCAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARCOM_VULCAN
# endif
# define machine_is_arcom_vulcan()	(machine_arch_type == MACH_TYPE_ARCOM_VULCAN)
#else
# define machine_is_arcom_vulcan()	(0)
#endif

#ifdef CONFIG_MACH_NOMADIK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOMADIK
# endif
# define machine_is_nomadik()	(machine_arch_type == MACH_TYPE_NOMADIK)
#else
# define machine_is_nomadik()	(0)
#endif

#ifdef CONFIG_MACH_CORGI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CORGI
# endif
# define machine_is_corgi()	(machine_arch_type == MACH_TYPE_CORGI)
#else
# define machine_is_corgi()	(0)
#endif

#ifdef CONFIG_MACH_POODLE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POODLE
# endif
# define machine_is_poodle()	(machine_arch_type == MACH_TYPE_POODLE)
#else
# define machine_is_poodle()	(0)
#endif

#ifdef CONFIG_MACH_ARMCORE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARMCORE
# endif
# define machine_is_armcore()	(machine_arch_type == MACH_TYPE_ARMCORE)
#else
# define machine_is_armcore()	(0)
#endif

#ifdef CONFIG_MACH_MX31ADS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX31ADS
# endif
# define machine_is_mx31ads()	(machine_arch_type == MACH_TYPE_MX31ADS)
#else
# define machine_is_mx31ads()	(0)
#endif

#ifdef CONFIG_MACH_HIMALAYA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HIMALAYA
# endif
# define machine_is_himalaya()	(machine_arch_type == MACH_TYPE_HIMALAYA)
#else
# define machine_is_himalaya()	(0)
#endif

#ifdef CONFIG_MACH_EDB9312
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9312
# endif
# define machine_is_edb9312()	(machine_arch_type == MACH_TYPE_EDB9312)
#else
# define machine_is_edb9312()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_GENERIC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_GENERIC
# endif
# define machine_is_omap_generic()	(machine_arch_type == MACH_TYPE_OMAP_GENERIC)
#else
# define machine_is_omap_generic()	(0)
#endif

#ifdef CONFIG_MACH_EDB9301
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9301
# endif
# define machine_is_edb9301()	(machine_arch_type == MACH_TYPE_EDB9301)
#else
# define machine_is_edb9301()	(0)
#endif

#ifdef CONFIG_MACH_EDB9315
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9315
# endif
# define machine_is_edb9315()	(machine_arch_type == MACH_TYPE_EDB9315)
#else
# define machine_is_edb9315()	(0)
#endif

#ifdef CONFIG_MACH_VR1000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VR1000
# endif
# define machine_is_vr1000()	(machine_arch_type == MACH_TYPE_VR1000)
#else
# define machine_is_vr1000()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_PERSEUS2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_PERSEUS2
# endif
# define machine_is_omap_perseus2()	(machine_arch_type == MACH_TYPE_OMAP_PERSEUS2)
#else
# define machine_is_omap_perseus2()	(0)
#endif

#ifdef CONFIG_MACH_E800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_E800
# endif
# define machine_is_e800()	(machine_arch_type == MACH_TYPE_E800)
#else
# define machine_is_e800()	(0)
#endif

#ifdef CONFIG_MACH_E750
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_E750
# endif
# define machine_is_e750()	(machine_arch_type == MACH_TYPE_E750)
#else
# define machine_is_e750()	(0)
#endif

#ifdef CONFIG_MACH_SCB9328
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SCB9328
# endif
# define machine_is_scb9328()	(machine_arch_type == MACH_TYPE_SCB9328)
#else
# define machine_is_scb9328()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_H3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_H3
# endif
# define machine_is_omap_h3()	(machine_arch_type == MACH_TYPE_OMAP_H3)
#else
# define machine_is_omap_h3()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_H4
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_H4
# endif
# define machine_is_omap_h4()	(machine_arch_type == MACH_TYPE_OMAP_H4)
#else
# define machine_is_omap_h4()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_OSK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_OSK
# endif
# define machine_is_omap_osk()	(machine_arch_type == MACH_TYPE_OMAP_OSK)
#else
# define machine_is_omap_osk()	(0)
#endif

#ifdef CONFIG_MACH_TOSA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TOSA
# endif
# define machine_is_tosa()	(machine_arch_type == MACH_TYPE_TOSA)
#else
# define machine_is_tosa()	(0)
#endif

#ifdef CONFIG_MACH_AVILA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AVILA
# endif
# define machine_is_avila()	(machine_arch_type == MACH_TYPE_AVILA)
#else
# define machine_is_avila()	(0)
#endif

#ifdef CONFIG_MACH_EDB9302
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9302
# endif
# define machine_is_edb9302()	(machine_arch_type == MACH_TYPE_EDB9302)
#else
# define machine_is_edb9302()	(0)
#endif

#ifdef CONFIG_MACH_HUSKY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HUSKY
# endif
# define machine_is_husky()	(machine_arch_type == MACH_TYPE_HUSKY)
#else
# define machine_is_husky()	(0)
#endif

#ifdef CONFIG_MACH_SHEPHERD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHEPHERD
# endif
# define machine_is_shepherd()	(machine_arch_type == MACH_TYPE_SHEPHERD)
#else
# define machine_is_shepherd()	(0)
#endif

#ifdef CONFIG_MACH_H4700
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_H4700
# endif
# define machine_is_h4700()	(machine_arch_type == MACH_TYPE_H4700)
#else
# define machine_is_h4700()	(0)
#endif

#ifdef CONFIG_MACH_RX3715
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RX3715
# endif
# define machine_is_rx3715()	(machine_arch_type == MACH_TYPE_RX3715)
#else
# define machine_is_rx3715()	(0)
#endif

#ifdef CONFIG_MACH_NSLU2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NSLU2
# endif
# define machine_is_nslu2()	(machine_arch_type == MACH_TYPE_NSLU2)
#else
# define machine_is_nslu2()	(0)
#endif

#ifdef CONFIG_MACH_E400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_E400
# endif
# define machine_is_e400()	(machine_arch_type == MACH_TYPE_E400)
#else
# define machine_is_e400()	(0)
#endif

#ifdef CONFIG_MACH_IXDPG425
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDPG425
# endif
# define machine_is_ixdpg425()	(machine_arch_type == MACH_TYPE_IXDPG425)
#else
# define machine_is_ixdpg425()	(0)
#endif

#ifdef CONFIG_MACH_VERSATILE_AB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VERSATILE_AB
# endif
# define machine_is_versatile_ab()	(machine_arch_type == MACH_TYPE_VERSATILE_AB)
#else
# define machine_is_versatile_ab()	(0)
#endif

#ifdef CONFIG_MACH_EDB9307
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9307
# endif
# define machine_is_edb9307()	(machine_arch_type == MACH_TYPE_EDB9307)
#else
# define machine_is_edb9307()	(0)
#endif

#ifdef CONFIG_MACH_KB9200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KB9200
# endif
# define machine_is_kb9200()	(machine_arch_type == MACH_TYPE_KB9200)
#else
# define machine_is_kb9200()	(0)
#endif

#ifdef CONFIG_MACH_SX1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SX1
# endif
# define machine_is_sx1()	(machine_arch_type == MACH_TYPE_SX1)
#else
# define machine_is_sx1()	(0)
#endif

#ifdef CONFIG_MACH_IXDP465
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP465
# endif
# define machine_is_ixdp465()	(machine_arch_type == MACH_TYPE_IXDP465)
#else
# define machine_is_ixdp465()	(0)
#endif

#ifdef CONFIG_MACH_IXDP2351
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP2351
# endif
# define machine_is_ixdp2351()	(machine_arch_type == MACH_TYPE_IXDP2351)
#else
# define machine_is_ixdp2351()	(0)
#endif

#ifdef CONFIG_MACH_IQ80332
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IQ80332
# endif
# define machine_is_iq80332()	(machine_arch_type == MACH_TYPE_IQ80332)
#else
# define machine_is_iq80332()	(0)
#endif

#ifdef CONFIG_MACH_GTWX5715
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GTWX5715
# endif
# define machine_is_gtwx5715()	(machine_arch_type == MACH_TYPE_GTWX5715)
#else
# define machine_is_gtwx5715()	(0)
#endif

#ifdef CONFIG_MACH_CSB637
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CSB637
# endif
# define machine_is_csb637()	(machine_arch_type == MACH_TYPE_CSB637)
#else
# define machine_is_csb637()	(0)
#endif

#ifdef CONFIG_MACH_N30
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_N30
# endif
# define machine_is_n30()	(machine_arch_type == MACH_TYPE_N30)
#else
# define machine_is_n30()	(0)
#endif

#ifdef CONFIG_MACH_NEC_MP900
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NEC_MP900
# endif
# define machine_is_nec_mp900()	(machine_arch_type == MACH_TYPE_NEC_MP900)
#else
# define machine_is_nec_mp900()	(0)
#endif

#ifdef CONFIG_MACH_KAFA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KAFA
# endif
# define machine_is_kafa()	(machine_arch_type == MACH_TYPE_KAFA)
#else
# define machine_is_kafa()	(0)
#endif

#ifdef CONFIG_MACH_TS72XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TS72XX
# endif
# define machine_is_ts72xx()	(machine_arch_type == MACH_TYPE_TS72XX)
#else
# define machine_is_ts72xx()	(0)
#endif

#ifdef CONFIG_MACH_OTOM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OTOM
# endif
# define machine_is_otom()	(machine_arch_type == MACH_TYPE_OTOM)
#else
# define machine_is_otom()	(0)
#endif

#ifdef CONFIG_MACH_NEXCODER_2440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NEXCODER_2440
# endif
# define machine_is_nexcoder_2440()	(machine_arch_type == MACH_TYPE_NEXCODER_2440)
#else
# define machine_is_nexcoder_2440()	(0)
#endif

#ifdef CONFIG_MACH_ECO920
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ECO920
# endif
# define machine_is_eco920()	(machine_arch_type == MACH_TYPE_ECO920)
#else
# define machine_is_eco920()	(0)
#endif

#ifdef CONFIG_MACH_ROADRUNNER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ROADRUNNER
# endif
# define machine_is_roadrunner()	(machine_arch_type == MACH_TYPE_ROADRUNNER)
#else
# define machine_is_roadrunner()	(0)
#endif

#ifdef CONFIG_MACH_AT91RM9200EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91RM9200EK
# endif
# define machine_is_at91rm9200ek()	(machine_arch_type == MACH_TYPE_AT91RM9200EK)
#else
# define machine_is_at91rm9200ek()	(0)
#endif

#ifdef CONFIG_MACH_SPITZ
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPITZ
# endif
# define machine_is_spitz()	(machine_arch_type == MACH_TYPE_SPITZ)
#else
# define machine_is_spitz()	(0)
#endif

#ifdef CONFIG_MACH_ADSSPHERE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ADSSPHERE
# endif
# define machine_is_adssphere()	(machine_arch_type == MACH_TYPE_ADSSPHERE)
#else
# define machine_is_adssphere()	(0)
#endif

#ifdef CONFIG_MACH_COLIBRI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COLIBRI
# endif
# define machine_is_colibri()	(machine_arch_type == MACH_TYPE_COLIBRI)
#else
# define machine_is_colibri()	(0)
#endif

#ifdef CONFIG_MACH_GATEWAY7001
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GATEWAY7001
# endif
# define machine_is_gateway7001()	(machine_arch_type == MACH_TYPE_GATEWAY7001)
#else
# define machine_is_gateway7001()	(0)
#endif

#ifdef CONFIG_MACH_PCM027
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCM027
# endif
# define machine_is_pcm027()	(machine_arch_type == MACH_TYPE_PCM027)
#else
# define machine_is_pcm027()	(0)
#endif

#ifdef CONFIG_MACH_ANUBIS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ANUBIS
# endif
# define machine_is_anubis()	(machine_arch_type == MACH_TYPE_ANUBIS)
#else
# define machine_is_anubis()	(0)
#endif

#ifdef CONFIG_MACH_AKITA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AKITA
# endif
# define machine_is_akita()	(machine_arch_type == MACH_TYPE_AKITA)
#else
# define machine_is_akita()	(0)
#endif

#ifdef CONFIG_MACH_E330
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_E330
# endif
# define machine_is_e330()	(machine_arch_type == MACH_TYPE_E330)
#else
# define machine_is_e330()	(0)
#endif

#ifdef CONFIG_MACH_NOKIA770
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOKIA770
# endif
# define machine_is_nokia770()	(machine_arch_type == MACH_TYPE_NOKIA770)
#else
# define machine_is_nokia770()	(0)
#endif

#ifdef CONFIG_MACH_CARMEVA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CARMEVA
# endif
# define machine_is_carmeva()	(machine_arch_type == MACH_TYPE_CARMEVA)
#else
# define machine_is_carmeva()	(0)
#endif

#ifdef CONFIG_MACH_EDB9315A
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9315A
# endif
# define machine_is_edb9315a()	(machine_arch_type == MACH_TYPE_EDB9315A)
#else
# define machine_is_edb9315a()	(0)
#endif

#ifdef CONFIG_MACH_STARGATE2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STARGATE2
# endif
# define machine_is_stargate2()	(machine_arch_type == MACH_TYPE_STARGATE2)
#else
# define machine_is_stargate2()	(0)
#endif

#ifdef CONFIG_MACH_INTELMOTE2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INTELMOTE2
# endif
# define machine_is_intelmote2()	(machine_arch_type == MACH_TYPE_INTELMOTE2)
#else
# define machine_is_intelmote2()	(0)
#endif

#ifdef CONFIG_MACH_TRIZEPS4
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRIZEPS4
# endif
# define machine_is_trizeps4()	(machine_arch_type == MACH_TYPE_TRIZEPS4)
#else
# define machine_is_trizeps4()	(0)
#endif

#ifdef CONFIG_MACH_PNX4008
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PNX4008
# endif
# define machine_is_pnx4008()	(machine_arch_type == MACH_TYPE_PNX4008)
#else
# define machine_is_pnx4008()	(0)
#endif

#ifdef CONFIG_MACH_CPUAT91
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CPUAT91
# endif
# define machine_is_cpuat91()	(machine_arch_type == MACH_TYPE_CPUAT91)
#else
# define machine_is_cpuat91()	(0)
#endif

#ifdef CONFIG_MACH_IQ81340SC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IQ81340SC
# endif
# define machine_is_iq81340sc()	(machine_arch_type == MACH_TYPE_IQ81340SC)
#else
# define machine_is_iq81340sc()	(0)
#endif

#ifdef CONFIG_MACH_IQ81340MC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IQ81340MC
# endif
# define machine_is_iq81340mc()	(machine_arch_type == MACH_TYPE_IQ81340MC)
#else
# define machine_is_iq81340mc()	(0)
#endif

#ifdef CONFIG_MACH_MICRO9
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MICRO9
# endif
# define machine_is_micro9()	(machine_arch_type == MACH_TYPE_MICRO9)
#else
# define machine_is_micro9()	(0)
#endif

#ifdef CONFIG_MACH_MICRO9L
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MICRO9L
# endif
# define machine_is_micro9l()	(machine_arch_type == MACH_TYPE_MICRO9L)
#else
# define machine_is_micro9l()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_PALMTE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_PALMTE
# endif
# define machine_is_omap_palmte()	(machine_arch_type == MACH_TYPE_OMAP_PALMTE)
#else
# define machine_is_omap_palmte()	(0)
#endif

#ifdef CONFIG_MACH_REALVIEW_EB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_REALVIEW_EB
# endif
# define machine_is_realview_eb()	(machine_arch_type == MACH_TYPE_REALVIEW_EB)
#else
# define machine_is_realview_eb()	(0)
#endif

#ifdef CONFIG_MACH_BORZOI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BORZOI
# endif
# define machine_is_borzoi()	(machine_arch_type == MACH_TYPE_BORZOI)
#else
# define machine_is_borzoi()	(0)
#endif

#ifdef CONFIG_MACH_PALMLD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PALMLD
# endif
# define machine_is_palmld()	(machine_arch_type == MACH_TYPE_PALMLD)
#else
# define machine_is_palmld()	(0)
#endif

#ifdef CONFIG_MACH_IXDP28X5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IXDP28X5
# endif
# define machine_is_ixdp28x5()	(machine_arch_type == MACH_TYPE_IXDP28X5)
#else
# define machine_is_ixdp28x5()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_PALMTT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_PALMTT
# endif
# define machine_is_omap_palmtt()	(machine_arch_type == MACH_TYPE_OMAP_PALMTT)
#else
# define machine_is_omap_palmtt()	(0)
#endif

#ifdef CONFIG_MACH_ARCOM_ZEUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARCOM_ZEUS
# endif
# define machine_is_arcom_zeus()	(machine_arch_type == MACH_TYPE_ARCOM_ZEUS)
#else
# define machine_is_arcom_zeus()	(0)
#endif

#ifdef CONFIG_MACH_OSIRIS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OSIRIS
# endif
# define machine_is_osiris()	(machine_arch_type == MACH_TYPE_OSIRIS)
#else
# define machine_is_osiris()	(0)
#endif

#ifdef CONFIG_MACH_PALMTE2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PALMTE2
# endif
# define machine_is_palmte2()	(machine_arch_type == MACH_TYPE_PALMTE2)
#else
# define machine_is_palmte2()	(0)
#endif

#ifdef CONFIG_MACH_MX27ADS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX27ADS
# endif
# define machine_is_mx27ads()	(machine_arch_type == MACH_TYPE_MX27ADS)
#else
# define machine_is_mx27ads()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9261EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9261EK
# endif
# define machine_is_at91sam9261ek()	(machine_arch_type == MACH_TYPE_AT91SAM9261EK)
#else
# define machine_is_at91sam9261ek()	(0)
#endif

#ifdef CONFIG_MACH_LOFT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LOFT
# endif
# define machine_is_loft()	(machine_arch_type == MACH_TYPE_LOFT)
#else
# define machine_is_loft()	(0)
#endif

#ifdef CONFIG_MACH_MX21ADS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX21ADS
# endif
# define machine_is_mx21ads()	(machine_arch_type == MACH_TYPE_MX21ADS)
#else
# define machine_is_mx21ads()	(0)
#endif

#ifdef CONFIG_MACH_AMS_DELTA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AMS_DELTA
# endif
# define machine_is_ams_delta()	(machine_arch_type == MACH_TYPE_AMS_DELTA)
#else
# define machine_is_ams_delta()	(0)
#endif

#ifdef CONFIG_MACH_NAS100D
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NAS100D
# endif
# define machine_is_nas100d()	(machine_arch_type == MACH_TYPE_NAS100D)
#else
# define machine_is_nas100d()	(0)
#endif

#ifdef CONFIG_MACH_MAGICIAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MAGICIAN
# endif
# define machine_is_magician()	(machine_arch_type == MACH_TYPE_MAGICIAN)
#else
# define machine_is_magician()	(0)
#endif

#ifdef CONFIG_MACH_NXDKN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NXDKN
# endif
# define machine_is_nxdkn()	(machine_arch_type == MACH_TYPE_NXDKN)
#else
# define machine_is_nxdkn()	(0)
#endif

#ifdef CONFIG_MACH_PALMTX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PALMTX
# endif
# define machine_is_palmtx()	(machine_arch_type == MACH_TYPE_PALMTX)
#else
# define machine_is_palmtx()	(0)
#endif

#ifdef CONFIG_MACH_S3C2413
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_S3C2413
# endif
# define machine_is_s3c2413()	(machine_arch_type == MACH_TYPE_S3C2413)
#else
# define machine_is_s3c2413()	(0)
#endif

#ifdef CONFIG_MACH_WG302V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WG302V2
# endif
# define machine_is_wg302v2()	(machine_arch_type == MACH_TYPE_WG302V2)
#else
# define machine_is_wg302v2()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_2430SDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_2430SDP
# endif
# define machine_is_omap_2430sdp()	(machine_arch_type == MACH_TYPE_OMAP_2430SDP)
#else
# define machine_is_omap_2430sdp()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_EVM
# endif
# define machine_is_davinci_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_EVM)
#else
# define machine_is_davinci_evm()	(0)
#endif

#ifdef CONFIG_MACH_PALMZ72
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PALMZ72
# endif
# define machine_is_palmz72()	(machine_arch_type == MACH_TYPE_PALMZ72)
#else
# define machine_is_palmz72()	(0)
#endif

#ifdef CONFIG_MACH_NXDB500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NXDB500
# endif
# define machine_is_nxdb500()	(machine_arch_type == MACH_TYPE_NXDB500)
#else
# define machine_is_nxdb500()	(0)
#endif

#ifdef CONFIG_MACH_APF9328
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APF9328
# endif
# define machine_is_apf9328()	(machine_arch_type == MACH_TYPE_APF9328)
#else
# define machine_is_apf9328()	(0)
#endif

#ifdef CONFIG_MACH_PALMT5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PALMT5
# endif
# define machine_is_palmt5()	(machine_arch_type == MACH_TYPE_PALMT5)
#else
# define machine_is_palmt5()	(0)
#endif

#ifdef CONFIG_MACH_PALMTC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PALMTC
# endif
# define machine_is_palmtc()	(machine_arch_type == MACH_TYPE_PALMTC)
#else
# define machine_is_palmtc()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_APOLLON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_APOLLON
# endif
# define machine_is_omap_apollon()	(machine_arch_type == MACH_TYPE_OMAP_APOLLON)
#else
# define machine_is_omap_apollon()	(0)
#endif

#ifdef CONFIG_MACH_ATEB9200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ATEB9200
# endif
# define machine_is_ateb9200()	(machine_arch_type == MACH_TYPE_ATEB9200)
#else
# define machine_is_ateb9200()	(0)
#endif

#ifdef CONFIG_MACH_N35
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_N35
# endif
# define machine_is_n35()	(machine_arch_type == MACH_TYPE_N35)
#else
# define machine_is_n35()	(0)
#endif

#ifdef CONFIG_MACH_LOGICPD_PXA270
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LOGICPD_PXA270
# endif
# define machine_is_logicpd_pxa270()	(machine_arch_type == MACH_TYPE_LOGICPD_PXA270)
#else
# define machine_is_logicpd_pxa270()	(0)
#endif

#ifdef CONFIG_MACH_NXEB500HMI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NXEB500HMI
# endif
# define machine_is_nxeb500hmi()	(machine_arch_type == MACH_TYPE_NXEB500HMI)
#else
# define machine_is_nxeb500hmi()	(0)
#endif

#ifdef CONFIG_MACH_ESPRESSO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ESPRESSO
# endif
# define machine_is_espresso()	(machine_arch_type == MACH_TYPE_ESPRESSO)
#else
# define machine_is_espresso()	(0)
#endif

#ifdef CONFIG_MACH_RX1950
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RX1950
# endif
# define machine_is_rx1950()	(machine_arch_type == MACH_TYPE_RX1950)
#else
# define machine_is_rx1950()	(0)
#endif

#ifdef CONFIG_MACH_GESBC9312
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GESBC9312
# endif
# define machine_is_gesbc9312()	(machine_arch_type == MACH_TYPE_GESBC9312)
#else
# define machine_is_gesbc9312()	(0)
#endif

#ifdef CONFIG_MACH_PICOTUX2XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICOTUX2XX
# endif
# define machine_is_picotux2xx()	(machine_arch_type == MACH_TYPE_PICOTUX2XX)
#else
# define machine_is_picotux2xx()	(0)
#endif

#ifdef CONFIG_MACH_DSMG600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DSMG600
# endif
# define machine_is_dsmg600()	(machine_arch_type == MACH_TYPE_DSMG600)
#else
# define machine_is_dsmg600()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_FSAMPLE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_FSAMPLE
# endif
# define machine_is_omap_fsample()	(machine_arch_type == MACH_TYPE_OMAP_FSAMPLE)
#else
# define machine_is_omap_fsample()	(0)
#endif

#ifdef CONFIG_MACH_SNAPPER_CL15
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SNAPPER_CL15
# endif
# define machine_is_snapper_cl15()	(machine_arch_type == MACH_TYPE_SNAPPER_CL15)
#else
# define machine_is_snapper_cl15()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_PALMZ71
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_PALMZ71
# endif
# define machine_is_omap_palmz71()	(machine_arch_type == MACH_TYPE_OMAP_PALMZ71)
#else
# define machine_is_omap_palmz71()	(0)
#endif

#ifdef CONFIG_MACH_SMDK2412
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK2412
# endif
# define machine_is_smdk2412()	(machine_arch_type == MACH_TYPE_SMDK2412)
#else
# define machine_is_smdk2412()	(0)
#endif

#ifdef CONFIG_MACH_BKDE303
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BKDE303
# endif
# define machine_is_bkde303()	(machine_arch_type == MACH_TYPE_BKDE303)
#else
# define machine_is_bkde303()	(0)
#endif

#ifdef CONFIG_MACH_SMDK2413
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK2413
# endif
# define machine_is_smdk2413()	(machine_arch_type == MACH_TYPE_SMDK2413)
#else
# define machine_is_smdk2413()	(0)
#endif

#ifdef CONFIG_MACH_AML_M5900
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AML_M5900
# endif
# define machine_is_aml_m5900()	(machine_arch_type == MACH_TYPE_AML_M5900)
#else
# define machine_is_aml_m5900()	(0)
#endif

#ifdef CONFIG_MACH_BALLOON3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BALLOON3
# endif
# define machine_is_balloon3()	(machine_arch_type == MACH_TYPE_BALLOON3)
#else
# define machine_is_balloon3()	(0)
#endif

#ifdef CONFIG_MACH_ECBAT91
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ECBAT91
# endif
# define machine_is_ecbat91()	(machine_arch_type == MACH_TYPE_ECBAT91)
#else
# define machine_is_ecbat91()	(0)
#endif

#ifdef CONFIG_MACH_ONEARM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ONEARM
# endif
# define machine_is_onearm()	(machine_arch_type == MACH_TYPE_ONEARM)
#else
# define machine_is_onearm()	(0)
#endif

#ifdef CONFIG_MACH_SMDK2443
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK2443
# endif
# define machine_is_smdk2443()	(machine_arch_type == MACH_TYPE_SMDK2443)
#else
# define machine_is_smdk2443()	(0)
#endif

#ifdef CONFIG_MACH_FSG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FSG
# endif
# define machine_is_fsg()	(machine_arch_type == MACH_TYPE_FSG)
#else
# define machine_is_fsg()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9260EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9260EK
# endif
# define machine_is_at91sam9260ek()	(machine_arch_type == MACH_TYPE_AT91SAM9260EK)
#else
# define machine_is_at91sam9260ek()	(0)
#endif

#ifdef CONFIG_MACH_GLANTANK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GLANTANK
# endif
# define machine_is_glantank()	(machine_arch_type == MACH_TYPE_GLANTANK)
#else
# define machine_is_glantank()	(0)
#endif

#ifdef CONFIG_MACH_N2100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_N2100
# endif
# define machine_is_n2100()	(machine_arch_type == MACH_TYPE_N2100)
#else
# define machine_is_n2100()	(0)
#endif

#ifdef CONFIG_MACH_QT2410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QT2410
# endif
# define machine_is_qt2410()	(machine_arch_type == MACH_TYPE_QT2410)
#else
# define machine_is_qt2410()	(0)
#endif

#ifdef CONFIG_MACH_KIXRP435
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KIXRP435
# endif
# define machine_is_kixrp435()	(machine_arch_type == MACH_TYPE_KIXRP435)
#else
# define machine_is_kixrp435()	(0)
#endif

#ifdef CONFIG_MACH_CC9P9360DEV
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CC9P9360DEV
# endif
# define machine_is_cc9p9360dev()	(machine_arch_type == MACH_TYPE_CC9P9360DEV)
#else
# define machine_is_cc9p9360dev()	(0)
#endif

#ifdef CONFIG_MACH_EDB9302A
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9302A
# endif
# define machine_is_edb9302a()	(machine_arch_type == MACH_TYPE_EDB9302A)
#else
# define machine_is_edb9302a()	(0)
#endif

#ifdef CONFIG_MACH_EDB9307A
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDB9307A
# endif
# define machine_is_edb9307a()	(machine_arch_type == MACH_TYPE_EDB9307A)
#else
# define machine_is_edb9307a()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_3430SDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_3430SDP
# endif
# define machine_is_omap_3430sdp()	(machine_arch_type == MACH_TYPE_OMAP_3430SDP)
#else
# define machine_is_omap_3430sdp()	(0)
#endif

#ifdef CONFIG_MACH_VSTMS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VSTMS
# endif
# define machine_is_vstms()	(machine_arch_type == MACH_TYPE_VSTMS)
#else
# define machine_is_vstms()	(0)
#endif

#ifdef CONFIG_MACH_MICRO9M
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MICRO9M
# endif
# define machine_is_micro9m()	(machine_arch_type == MACH_TYPE_MICRO9M)
#else
# define machine_is_micro9m()	(0)
#endif

#ifdef CONFIG_MACH_BUG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BUG
# endif
# define machine_is_bug()	(machine_arch_type == MACH_TYPE_BUG)
#else
# define machine_is_bug()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9263EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9263EK
# endif
# define machine_is_at91sam9263ek()	(machine_arch_type == MACH_TYPE_AT91SAM9263EK)
#else
# define machine_is_at91sam9263ek()	(0)
#endif

#ifdef CONFIG_MACH_EM7210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EM7210
# endif
# define machine_is_em7210()	(machine_arch_type == MACH_TYPE_EM7210)
#else
# define machine_is_em7210()	(0)
#endif

#ifdef CONFIG_MACH_VPAC270
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VPAC270
# endif
# define machine_is_vpac270()	(machine_arch_type == MACH_TYPE_VPAC270)
#else
# define machine_is_vpac270()	(0)
#endif

#ifdef CONFIG_MACH_TREO680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TREO680
# endif
# define machine_is_treo680()	(machine_arch_type == MACH_TYPE_TREO680)
#else
# define machine_is_treo680()	(0)
#endif

#ifdef CONFIG_MACH_ZYLONITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ZYLONITE
# endif
# define machine_is_zylonite()	(machine_arch_type == MACH_TYPE_ZYLONITE)
#else
# define machine_is_zylonite()	(0)
#endif

#ifdef CONFIG_MACH_MX31LITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX31LITE
# endif
# define machine_is_mx31lite()	(machine_arch_type == MACH_TYPE_MX31LITE)
#else
# define machine_is_mx31lite()	(0)
#endif

#ifdef CONFIG_MACH_MIOA701
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MIOA701
# endif
# define machine_is_mioa701()	(machine_arch_type == MACH_TYPE_MIOA701)
#else
# define machine_is_mioa701()	(0)
#endif

#ifdef CONFIG_MACH_ARMADILLO5X0
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARMADILLO5X0
# endif
# define machine_is_armadillo5x0()	(machine_arch_type == MACH_TYPE_ARMADILLO5X0)
#else
# define machine_is_armadillo5x0()	(0)
#endif

#ifdef CONFIG_MACH_CC9P9360JS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CC9P9360JS
# endif
# define machine_is_cc9p9360js()	(machine_arch_type == MACH_TYPE_CC9P9360JS)
#else
# define machine_is_cc9p9360js()	(0)
#endif

#ifdef CONFIG_MACH_SMDK6400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK6400
# endif
# define machine_is_smdk6400()	(machine_arch_type == MACH_TYPE_SMDK6400)
#else
# define machine_is_smdk6400()	(0)
#endif

#ifdef CONFIG_MACH_NOKIA_N800
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOKIA_N800
# endif
# define machine_is_nokia_n800()	(machine_arch_type == MACH_TYPE_NOKIA_N800)
#else
# define machine_is_nokia_n800()	(0)
#endif

#ifdef CONFIG_MACH_EP80219
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EP80219
# endif
# define machine_is_ep80219()	(machine_arch_type == MACH_TYPE_EP80219)
#else
# define machine_is_ep80219()	(0)
#endif

#ifdef CONFIG_MACH_GORAMO_MLR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GORAMO_MLR
# endif
# define machine_is_goramo_mlr()	(machine_arch_type == MACH_TYPE_GORAMO_MLR)
#else
# define machine_is_goramo_mlr()	(0)
#endif

#ifdef CONFIG_MACH_EM_X270
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EM_X270
# endif
# define machine_is_em_x270()	(machine_arch_type == MACH_TYPE_EM_X270)
#else
# define machine_is_em_x270()	(0)
#endif

#ifdef CONFIG_MACH_NEO1973_GTA02
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NEO1973_GTA02
# endif
# define machine_is_neo1973_gta02()	(machine_arch_type == MACH_TYPE_NEO1973_GTA02)
#else
# define machine_is_neo1973_gta02()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9RLEK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9RLEK
# endif
# define machine_is_at91sam9rlek()	(machine_arch_type == MACH_TYPE_AT91SAM9RLEK)
#else
# define machine_is_at91sam9rlek()	(0)
#endif

#ifdef CONFIG_MACH_COLIBRI320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COLIBRI320
# endif
# define machine_is_colibri320()	(machine_arch_type == MACH_TYPE_COLIBRI320)
#else
# define machine_is_colibri320()	(0)
#endif

#ifdef CONFIG_MACH_CAM60
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CAM60
# endif
# define machine_is_cam60()	(machine_arch_type == MACH_TYPE_CAM60)
#else
# define machine_is_cam60()	(0)
#endif

#ifdef CONFIG_MACH_AT91EB01
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91EB01
# endif
# define machine_is_at91eb01()	(machine_arch_type == MACH_TYPE_AT91EB01)
#else
# define machine_is_at91eb01()	(0)
#endif

#ifdef CONFIG_MACH_DB88F5281
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DB88F5281
# endif
# define machine_is_db88f5281()	(machine_arch_type == MACH_TYPE_DB88F5281)
#else
# define machine_is_db88f5281()	(0)
#endif

#ifdef CONFIG_MACH_CSB726
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CSB726
# endif
# define machine_is_csb726()	(machine_arch_type == MACH_TYPE_CSB726)
#else
# define machine_is_csb726()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DM6467_EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM6467_EVM
# endif
# define machine_is_davinci_dm6467_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM6467_EVM)
#else
# define machine_is_davinci_dm6467_evm()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DM355_EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM355_EVM
# endif
# define machine_is_davinci_dm355_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM355_EVM)
#else
# define machine_is_davinci_dm355_evm()	(0)
#endif

#ifdef CONFIG_MACH_LITTLETON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LITTLETON
# endif
# define machine_is_littleton()	(machine_arch_type == MACH_TYPE_LITTLETON)
#else
# define machine_is_littleton()	(0)
#endif

#ifdef CONFIG_MACH_REALVIEW_PB11MP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_REALVIEW_PB11MP
# endif
# define machine_is_realview_pb11mp()	(machine_arch_type == MACH_TYPE_REALVIEW_PB11MP)
#else
# define machine_is_realview_pb11mp()	(0)
#endif

#ifdef CONFIG_MACH_MX27_3DS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX27_3DS
# endif
# define machine_is_mx27_3ds()	(machine_arch_type == MACH_TYPE_MX27_3DS)
#else
# define machine_is_mx27_3ds()	(0)
#endif

#ifdef CONFIG_MACH_HALIBUT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HALIBUT
# endif
# define machine_is_halibut()	(machine_arch_type == MACH_TYPE_HALIBUT)
#else
# define machine_is_halibut()	(0)
#endif

#ifdef CONFIG_MACH_TROUT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TROUT
# endif
# define machine_is_trout()	(machine_arch_type == MACH_TYPE_TROUT)
#else
# define machine_is_trout()	(0)
#endif

#ifdef CONFIG_MACH_TCT_HAMMER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TCT_HAMMER
# endif
# define machine_is_tct_hammer()	(machine_arch_type == MACH_TYPE_TCT_HAMMER)
#else
# define machine_is_tct_hammer()	(0)
#endif

#ifdef CONFIG_MACH_HERALD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HERALD
# endif
# define machine_is_herald()	(machine_arch_type == MACH_TYPE_HERALD)
#else
# define machine_is_herald()	(0)
#endif

#ifdef CONFIG_MACH_SIM_ONE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SIM_ONE
# endif
# define machine_is_sim_one()	(machine_arch_type == MACH_TYPE_SIM_ONE)
#else
# define machine_is_sim_one()	(0)
#endif

#ifdef CONFIG_MACH_JIVE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_JIVE
# endif
# define machine_is_jive()	(machine_arch_type == MACH_TYPE_JIVE)
#else
# define machine_is_jive()	(0)
#endif

#ifdef CONFIG_MACH_SAM9_L9260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SAM9_L9260
# endif
# define machine_is_sam9_l9260()	(machine_arch_type == MACH_TYPE_SAM9_L9260)
#else
# define machine_is_sam9_l9260()	(0)
#endif

#ifdef CONFIG_MACH_REALVIEW_PB1176
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_REALVIEW_PB1176
# endif
# define machine_is_realview_pb1176()	(machine_arch_type == MACH_TYPE_REALVIEW_PB1176)
#else
# define machine_is_realview_pb1176()	(0)
#endif

#ifdef CONFIG_MACH_YL9200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_YL9200
# endif
# define machine_is_yl9200()	(machine_arch_type == MACH_TYPE_YL9200)
#else
# define machine_is_yl9200()	(0)
#endif

#ifdef CONFIG_MACH_RD88F5182
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RD88F5182
# endif
# define machine_is_rd88f5182()	(machine_arch_type == MACH_TYPE_RD88F5182)
#else
# define machine_is_rd88f5182()	(0)
#endif

#ifdef CONFIG_MACH_KUROBOX_PRO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KUROBOX_PRO
# endif
# define machine_is_kurobox_pro()	(machine_arch_type == MACH_TYPE_KUROBOX_PRO)
#else
# define machine_is_kurobox_pro()	(0)
#endif

#ifdef CONFIG_MACH_MX31_3DS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX31_3DS
# endif
# define machine_is_mx31_3ds()	(machine_arch_type == MACH_TYPE_MX31_3DS)
#else
# define machine_is_mx31_3ds()	(0)
#endif

#ifdef CONFIG_MACH_QONG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QONG
# endif
# define machine_is_qong()	(machine_arch_type == MACH_TYPE_QONG)
#else
# define machine_is_qong()	(0)
#endif

#ifdef CONFIG_MACH_OMAP2EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP2EVM
# endif
# define machine_is_omap2evm()	(machine_arch_type == MACH_TYPE_OMAP2EVM)
#else
# define machine_is_omap2evm()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3EVM
# endif
# define machine_is_omap3evm()	(machine_arch_type == MACH_TYPE_OMAP3EVM)
#else
# define machine_is_omap3evm()	(0)
#endif

#ifdef CONFIG_MACH_DNS323
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DNS323
# endif
# define machine_is_dns323()	(machine_arch_type == MACH_TYPE_DNS323)
#else
# define machine_is_dns323()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_BEAGLE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_BEAGLE
# endif
# define machine_is_omap3_beagle()	(machine_arch_type == MACH_TYPE_OMAP3_BEAGLE)
#else
# define machine_is_omap3_beagle()	(0)
#endif

#ifdef CONFIG_MACH_NOKIA_N810
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOKIA_N810
# endif
# define machine_is_nokia_n810()	(machine_arch_type == MACH_TYPE_NOKIA_N810)
#else
# define machine_is_nokia_n810()	(0)
#endif

#ifdef CONFIG_MACH_PCM038
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCM038
# endif
# define machine_is_pcm038()	(machine_arch_type == MACH_TYPE_PCM038)
#else
# define machine_is_pcm038()	(0)
#endif

#ifdef CONFIG_MACH_TS209
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TS209
# endif
# define machine_is_ts209()	(machine_arch_type == MACH_TYPE_TS209)
#else
# define machine_is_ts209()	(0)
#endif

#ifdef CONFIG_MACH_AT91CAP9ADK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91CAP9ADK
# endif
# define machine_is_at91cap9adk()	(machine_arch_type == MACH_TYPE_AT91CAP9ADK)
#else
# define machine_is_at91cap9adk()	(0)
#endif

#ifdef CONFIG_MACH_MX31MOBOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX31MOBOARD
# endif
# define machine_is_mx31moboard()	(machine_arch_type == MACH_TYPE_MX31MOBOARD)
#else
# define machine_is_mx31moboard()	(0)
#endif

#ifdef CONFIG_MACH_VISION_EP9307
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VISION_EP9307
# endif
# define machine_is_vision_ep9307()	(machine_arch_type == MACH_TYPE_VISION_EP9307)
#else
# define machine_is_vision_ep9307()	(0)
#endif

#ifdef CONFIG_MACH_TERASTATION_PRO2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TERASTATION_PRO2
# endif
# define machine_is_terastation_pro2()	(machine_arch_type == MACH_TYPE_TERASTATION_PRO2)
#else
# define machine_is_terastation_pro2()	(0)
#endif

#ifdef CONFIG_MACH_LINKSTATION_PRO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LINKSTATION_PRO
# endif
# define machine_is_linkstation_pro()	(machine_arch_type == MACH_TYPE_LINKSTATION_PRO)
#else
# define machine_is_linkstation_pro()	(0)
#endif

#ifdef CONFIG_MACH_E350
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_E350
# endif
# define machine_is_e350()	(machine_arch_type == MACH_TYPE_E350)
#else
# define machine_is_e350()	(0)
#endif

#ifdef CONFIG_MACH_TS409
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TS409
# endif
# define machine_is_ts409()	(machine_arch_type == MACH_TYPE_TS409)
#else
# define machine_is_ts409()	(0)
#endif

#ifdef CONFIG_MACH_RSI_EWS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RSI_EWS
# endif
# define machine_is_rsi_ews()	(machine_arch_type == MACH_TYPE_RSI_EWS)
#else
# define machine_is_rsi_ews()	(0)
#endif

#ifdef CONFIG_MACH_CM_X300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CM_X300
# endif
# define machine_is_cm_x300()	(machine_arch_type == MACH_TYPE_CM_X300)
#else
# define machine_is_cm_x300()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9G20EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9G20EK
# endif
# define machine_is_at91sam9g20ek()	(machine_arch_type == MACH_TYPE_AT91SAM9G20EK)
#else
# define machine_is_at91sam9g20ek()	(0)
#endif

#ifdef CONFIG_MACH_SMDK6410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK6410
# endif
# define machine_is_smdk6410()	(machine_arch_type == MACH_TYPE_SMDK6410)
#else
# define machine_is_smdk6410()	(0)
#endif

#ifdef CONFIG_MACH_U300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_U300
# endif
# define machine_is_u300()	(machine_arch_type == MACH_TYPE_U300)
#else
# define machine_is_u300()	(0)
#endif

#ifdef CONFIG_MACH_WRT350N_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WRT350N_V2
# endif
# define machine_is_wrt350n_v2()	(machine_arch_type == MACH_TYPE_WRT350N_V2)
#else
# define machine_is_wrt350n_v2()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_LDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_LDP
# endif
# define machine_is_omap_ldp()	(machine_arch_type == MACH_TYPE_OMAP_LDP)
#else
# define machine_is_omap_ldp()	(0)
#endif

#ifdef CONFIG_MACH_MX35_3DS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX35_3DS
# endif
# define machine_is_mx35_3ds()	(machine_arch_type == MACH_TYPE_MX35_3DS)
#else
# define machine_is_mx35_3ds()	(0)
#endif

#ifdef CONFIG_MACH_NEUROS_OSD2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NEUROS_OSD2
# endif
# define machine_is_neuros_osd2()	(machine_arch_type == MACH_TYPE_NEUROS_OSD2)
#else
# define machine_is_neuros_osd2()	(0)
#endif

#ifdef CONFIG_MACH_TRIZEPS4WL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRIZEPS4WL
# endif
# define machine_is_trizeps4wl()	(machine_arch_type == MACH_TYPE_TRIZEPS4WL)
#else
# define machine_is_trizeps4wl()	(0)
#endif

#ifdef CONFIG_MACH_TS78XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TS78XX
# endif
# define machine_is_ts78xx()	(machine_arch_type == MACH_TYPE_TS78XX)
#else
# define machine_is_ts78xx()	(0)
#endif

#ifdef CONFIG_MACH_SFFSDR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SFFSDR
# endif
# define machine_is_sffsdr()	(machine_arch_type == MACH_TYPE_SFFSDR)
#else
# define machine_is_sffsdr()	(0)
#endif

#ifdef CONFIG_MACH_PCM037
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCM037
# endif
# define machine_is_pcm037()	(machine_arch_type == MACH_TYPE_PCM037)
#else
# define machine_is_pcm037()	(0)
#endif

#ifdef CONFIG_MACH_DB88F6281_BP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DB88F6281_BP
# endif
# define machine_is_db88f6281_bp()	(machine_arch_type == MACH_TYPE_DB88F6281_BP)
#else
# define machine_is_db88f6281_bp()	(0)
#endif

#ifdef CONFIG_MACH_RD88F6192_NAS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RD88F6192_NAS
# endif
# define machine_is_rd88f6192_nas()	(machine_arch_type == MACH_TYPE_RD88F6192_NAS)
#else
# define machine_is_rd88f6192_nas()	(0)
#endif

#ifdef CONFIG_MACH_RD88F6281
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RD88F6281
# endif
# define machine_is_rd88f6281()	(machine_arch_type == MACH_TYPE_RD88F6281)
#else
# define machine_is_rd88f6281()	(0)
#endif

#ifdef CONFIG_MACH_DB78X00_BP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DB78X00_BP
# endif
# define machine_is_db78x00_bp()	(machine_arch_type == MACH_TYPE_DB78X00_BP)
#else
# define machine_is_db78x00_bp()	(0)
#endif

#ifdef CONFIG_MACH_SMDK2416
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK2416
# endif
# define machine_is_smdk2416()	(machine_arch_type == MACH_TYPE_SMDK2416)
#else
# define machine_is_smdk2416()	(0)
#endif

#ifdef CONFIG_MACH_WBD111
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WBD111
# endif
# define machine_is_wbd111()	(machine_arch_type == MACH_TYPE_WBD111)
#else
# define machine_is_wbd111()	(0)
#endif

#ifdef CONFIG_MACH_MV2120
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MV2120
# endif
# define machine_is_mv2120()	(machine_arch_type == MACH_TYPE_MV2120)
#else
# define machine_is_mv2120()	(0)
#endif

#ifdef CONFIG_MACH_MX51_3DS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_3DS
# endif
# define machine_is_mx51_3ds()	(machine_arch_type == MACH_TYPE_MX51_3DS)
#else
# define machine_is_mx51_3ds()	(0)
#endif

#ifdef CONFIG_MACH_IMX27LITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMX27LITE
# endif
# define machine_is_imx27lite()	(machine_arch_type == MACH_TYPE_IMX27LITE)
#else
# define machine_is_imx27lite()	(0)
#endif

#ifdef CONFIG_MACH_USB_A9260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_USB_A9260
# endif
# define machine_is_usb_a9260()	(machine_arch_type == MACH_TYPE_USB_A9260)
#else
# define machine_is_usb_a9260()	(0)
#endif

#ifdef CONFIG_MACH_USB_A9263
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_USB_A9263
# endif
# define machine_is_usb_a9263()	(machine_arch_type == MACH_TYPE_USB_A9263)
#else
# define machine_is_usb_a9263()	(0)
#endif

#ifdef CONFIG_MACH_QIL_A9260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QIL_A9260
# endif
# define machine_is_qil_a9260()	(machine_arch_type == MACH_TYPE_QIL_A9260)
#else
# define machine_is_qil_a9260()	(0)
#endif

#ifdef CONFIG_MACH_KZM_ARM11_01
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KZM_ARM11_01
# endif
# define machine_is_kzm_arm11_01()	(machine_arch_type == MACH_TYPE_KZM_ARM11_01)
#else
# define machine_is_kzm_arm11_01()	(0)
#endif

#ifdef CONFIG_MACH_NOKIA_N810_WIMAX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOKIA_N810_WIMAX
# endif
# define machine_is_nokia_n810_wimax()	(machine_arch_type == MACH_TYPE_NOKIA_N810_WIMAX)
#else
# define machine_is_nokia_n810_wimax()	(0)
#endif

#ifdef CONFIG_MACH_SAPPHIRE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SAPPHIRE
# endif
# define machine_is_sapphire()	(machine_arch_type == MACH_TYPE_SAPPHIRE)
#else
# define machine_is_sapphire()	(0)
#endif

#ifdef CONFIG_MACH_STMP37XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STMP37XX
# endif
# define machine_is_stmp37xx()	(machine_arch_type == MACH_TYPE_STMP37XX)
#else
# define machine_is_stmp37xx()	(0)
#endif

#ifdef CONFIG_MACH_STMP378X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STMP378X
# endif
# define machine_is_stmp378x()	(machine_arch_type == MACH_TYPE_STMP378X)
#else
# define machine_is_stmp378x()	(0)
#endif

#ifdef CONFIG_MACH_EZX_A780
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EZX_A780
# endif
# define machine_is_ezx_a780()	(machine_arch_type == MACH_TYPE_EZX_A780)
#else
# define machine_is_ezx_a780()	(0)
#endif

#ifdef CONFIG_MACH_EZX_E680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EZX_E680
# endif
# define machine_is_ezx_e680()	(machine_arch_type == MACH_TYPE_EZX_E680)
#else
# define machine_is_ezx_e680()	(0)
#endif

#ifdef CONFIG_MACH_EZX_A1200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EZX_A1200
# endif
# define machine_is_ezx_a1200()	(machine_arch_type == MACH_TYPE_EZX_A1200)
#else
# define machine_is_ezx_a1200()	(0)
#endif

#ifdef CONFIG_MACH_EZX_E6
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EZX_E6
# endif
# define machine_is_ezx_e6()	(machine_arch_type == MACH_TYPE_EZX_E6)
#else
# define machine_is_ezx_e6()	(0)
#endif

#ifdef CONFIG_MACH_EZX_E2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EZX_E2
# endif
# define machine_is_ezx_e2()	(machine_arch_type == MACH_TYPE_EZX_E2)
#else
# define machine_is_ezx_e2()	(0)
#endif

#ifdef CONFIG_MACH_EZX_A910
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EZX_A910
# endif
# define machine_is_ezx_a910()	(machine_arch_type == MACH_TYPE_EZX_A910)
#else
# define machine_is_ezx_a910()	(0)
#endif

#ifdef CONFIG_MACH_EDMINI_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDMINI_V2
# endif
# define machine_is_edmini_v2()	(machine_arch_type == MACH_TYPE_EDMINI_V2)
#else
# define machine_is_edmini_v2()	(0)
#endif

#ifdef CONFIG_MACH_ZIPIT2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ZIPIT2
# endif
# define machine_is_zipit2()	(machine_arch_type == MACH_TYPE_ZIPIT2)
#else
# define machine_is_zipit2()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_PANDORA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_PANDORA
# endif
# define machine_is_omap3_pandora()	(machine_arch_type == MACH_TYPE_OMAP3_PANDORA)
#else
# define machine_is_omap3_pandora()	(0)
#endif

#ifdef CONFIG_MACH_MSS2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSS2
# endif
# define machine_is_mss2()	(machine_arch_type == MACH_TYPE_MSS2)
#else
# define machine_is_mss2()	(0)
#endif

#ifdef CONFIG_MACH_LB88RC8480
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LB88RC8480
# endif
# define machine_is_lb88rc8480()	(machine_arch_type == MACH_TYPE_LB88RC8480)
#else
# define machine_is_lb88rc8480()	(0)
#endif

#ifdef CONFIG_MACH_MX25_3DS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX25_3DS
# endif
# define machine_is_mx25_3ds()	(machine_arch_type == MACH_TYPE_MX25_3DS)
#else
# define machine_is_mx25_3ds()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3530_LV_SOM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3530_LV_SOM
# endif
# define machine_is_omap3530_lv_som()	(machine_arch_type == MACH_TYPE_OMAP3530_LV_SOM)
#else
# define machine_is_omap3530_lv_som()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DA830_EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DA830_EVM
# endif
# define machine_is_davinci_da830_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DA830_EVM)
#else
# define machine_is_davinci_da830_evm()	(0)
#endif

#ifdef CONFIG_MACH_DOVE_DB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DOVE_DB
# endif
# define machine_is_dove_db()	(machine_arch_type == MACH_TYPE_DOVE_DB)
#else
# define machine_is_dove_db()	(0)
#endif

#ifdef CONFIG_MACH_OVERO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OVERO
# endif
# define machine_is_overo()	(machine_arch_type == MACH_TYPE_OVERO)
#else
# define machine_is_overo()	(0)
#endif

#ifdef CONFIG_MACH_AT2440EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT2440EVB
# endif
# define machine_is_at2440evb()	(machine_arch_type == MACH_TYPE_AT2440EVB)
#else
# define machine_is_at2440evb()	(0)
#endif

#ifdef CONFIG_MACH_NEOCORE926
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NEOCORE926
# endif
# define machine_is_neocore926()	(machine_arch_type == MACH_TYPE_NEOCORE926)
#else
# define machine_is_neocore926()	(0)
#endif

#ifdef CONFIG_MACH_WNR854T
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WNR854T
# endif
# define machine_is_wnr854t()	(machine_arch_type == MACH_TYPE_WNR854T)
#else
# define machine_is_wnr854t()	(0)
#endif

#ifdef CONFIG_MACH_RD88F5181L_GE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RD88F5181L_GE
# endif
# define machine_is_rd88f5181l_ge()	(machine_arch_type == MACH_TYPE_RD88F5181L_GE)
#else
# define machine_is_rd88f5181l_ge()	(0)
#endif

#ifdef CONFIG_MACH_RD88F5181L_FXO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RD88F5181L_FXO
# endif
# define machine_is_rd88f5181l_fxo()	(machine_arch_type == MACH_TYPE_RD88F5181L_FXO)
#else
# define machine_is_rd88f5181l_fxo()	(0)
#endif

#ifdef CONFIG_MACH_STAMP9G20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STAMP9G20
# endif
# define machine_is_stamp9g20()	(machine_arch_type == MACH_TYPE_STAMP9G20)
#else
# define machine_is_stamp9g20()	(0)
#endif

#ifdef CONFIG_MACH_SMDKC100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDKC100
# endif
# define machine_is_smdkc100()	(machine_arch_type == MACH_TYPE_SMDKC100)
#else
# define machine_is_smdkc100()	(0)
#endif

#ifdef CONFIG_MACH_TAVOREVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TAVOREVB
# endif
# define machine_is_tavorevb()	(machine_arch_type == MACH_TYPE_TAVOREVB)
#else
# define machine_is_tavorevb()	(0)
#endif

#ifdef CONFIG_MACH_SAAR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SAAR
# endif
# define machine_is_saar()	(machine_arch_type == MACH_TYPE_SAAR)
#else
# define machine_is_saar()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9M10G45EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9M10G45EK
# endif
# define machine_is_at91sam9m10g45ek()	(machine_arch_type == MACH_TYPE_AT91SAM9M10G45EK)
#else
# define machine_is_at91sam9m10g45ek()	(0)
#endif

#ifdef CONFIG_MACH_USB_A9G20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_USB_A9G20
# endif
# define machine_is_usb_a9g20()	(machine_arch_type == MACH_TYPE_USB_A9G20)
#else
# define machine_is_usb_a9g20()	(0)
#endif

#ifdef CONFIG_MACH_MXLADS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MXLADS
# endif
# define machine_is_mxlads()	(machine_arch_type == MACH_TYPE_MXLADS)
#else
# define machine_is_mxlads()	(0)
#endif

#ifdef CONFIG_MACH_LINKSTATION_MINI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LINKSTATION_MINI
# endif
# define machine_is_linkstation_mini()	(machine_arch_type == MACH_TYPE_LINKSTATION_MINI)
#else
# define machine_is_linkstation_mini()	(0)
#endif

#ifdef CONFIG_MACH_AFEB9260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AFEB9260
# endif
# define machine_is_afeb9260()	(machine_arch_type == MACH_TYPE_AFEB9260)
#else
# define machine_is_afeb9260()	(0)
#endif

#ifdef CONFIG_MACH_IMX27IPCAM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMX27IPCAM
# endif
# define machine_is_imx27ipcam()	(machine_arch_type == MACH_TYPE_IMX27IPCAM)
#else
# define machine_is_imx27ipcam()	(0)
#endif

#ifdef CONFIG_MACH_RD88F6183AP_GE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RD88F6183AP_GE
# endif
# define machine_is_rd88f6183ap_ge()	(machine_arch_type == MACH_TYPE_RD88F6183AP_GE)
#else
# define machine_is_rd88f6183ap_ge()	(0)
#endif

#ifdef CONFIG_MACH_REALVIEW_PBA8
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_REALVIEW_PBA8
# endif
# define machine_is_realview_pba8()	(machine_arch_type == MACH_TYPE_REALVIEW_PBA8)
#else
# define machine_is_realview_pba8()	(0)
#endif

#ifdef CONFIG_MACH_REALVIEW_PBX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_REALVIEW_PBX
# endif
# define machine_is_realview_pbx()	(machine_arch_type == MACH_TYPE_REALVIEW_PBX)
#else
# define machine_is_realview_pbx()	(0)
#endif

#ifdef CONFIG_MACH_MICRO9S
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MICRO9S
# endif
# define machine_is_micro9s()	(machine_arch_type == MACH_TYPE_MICRO9S)
#else
# define machine_is_micro9s()	(0)
#endif

#ifdef CONFIG_MACH_RUT100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RUT100
# endif
# define machine_is_rut100()	(machine_arch_type == MACH_TYPE_RUT100)
#else
# define machine_is_rut100()	(0)
#endif

#ifdef CONFIG_MACH_G3EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_G3EVM
# endif
# define machine_is_g3evm()	(machine_arch_type == MACH_TYPE_G3EVM)
#else
# define machine_is_g3evm()	(0)
#endif

#ifdef CONFIG_MACH_W90P910EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_W90P910EVB
# endif
# define machine_is_w90p910evb()	(machine_arch_type == MACH_TYPE_W90P910EVB)
#else
# define machine_is_w90p910evb()	(0)
#endif

#ifdef CONFIG_MACH_W90P950EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_W90P950EVB
# endif
# define machine_is_w90p950evb()	(machine_arch_type == MACH_TYPE_W90P950EVB)
#else
# define machine_is_w90p950evb()	(0)
#endif

#ifdef CONFIG_MACH_W90N960EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_W90N960EVB
# endif
# define machine_is_w90n960evb()	(machine_arch_type == MACH_TYPE_W90N960EVB)
#else
# define machine_is_w90n960evb()	(0)
#endif

#ifdef CONFIG_MACH_MV88F6281GTW_GE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MV88F6281GTW_GE
# endif
# define machine_is_mv88f6281gtw_ge()	(machine_arch_type == MACH_TYPE_MV88F6281GTW_GE)
#else
# define machine_is_mv88f6281gtw_ge()	(0)
#endif

#ifdef CONFIG_MACH_NCP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NCP
# endif
# define machine_is_ncp()	(machine_arch_type == MACH_TYPE_NCP)
#else
# define machine_is_ncp()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DM365_EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM365_EVM
# endif
# define machine_is_davinci_dm365_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM365_EVM)
#else
# define machine_is_davinci_dm365_evm()	(0)
#endif

#ifdef CONFIG_MACH_CENTRO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CENTRO
# endif
# define machine_is_centro()	(machine_arch_type == MACH_TYPE_CENTRO)
#else
# define machine_is_centro()	(0)
#endif

#ifdef CONFIG_MACH_NOKIA_RX51
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOKIA_RX51
# endif
# define machine_is_nokia_rx51()	(machine_arch_type == MACH_TYPE_NOKIA_RX51)
#else
# define machine_is_nokia_rx51()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_ZOOM2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_ZOOM2
# endif
# define machine_is_omap_zoom2()	(machine_arch_type == MACH_TYPE_OMAP_ZOOM2)
#else
# define machine_is_omap_zoom2()	(0)
#endif

#ifdef CONFIG_MACH_CPUAT9260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CPUAT9260
# endif
# define machine_is_cpuat9260()	(machine_arch_type == MACH_TYPE_CPUAT9260)
#else
# define machine_is_cpuat9260()	(0)
#endif

#ifdef CONFIG_MACH_EUKREA_CPUIMX27
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX27
# endif
# define machine_is_eukrea_cpuimx27()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX27)
#else
# define machine_is_eukrea_cpuimx27()	(0)
#endif

#ifdef CONFIG_MACH_ACS5K
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACS5K
# endif
# define machine_is_acs5k()	(machine_arch_type == MACH_TYPE_ACS5K)
#else
# define machine_is_acs5k()	(0)
#endif

#ifdef CONFIG_MACH_SNAPPER_9260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SNAPPER_9260
# endif
# define machine_is_snapper_9260()	(machine_arch_type == MACH_TYPE_SNAPPER_9260)
#else
# define machine_is_snapper_9260()	(0)
#endif

#ifdef CONFIG_MACH_DSM320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DSM320
# endif
# define machine_is_dsm320()	(machine_arch_type == MACH_TYPE_DSM320)
#else
# define machine_is_dsm320()	(0)
#endif

#ifdef CONFIG_MACH_EXEDA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EXEDA
# endif
# define machine_is_exeda()	(machine_arch_type == MACH_TYPE_EXEDA)
#else
# define machine_is_exeda()	(0)
#endif

#ifdef CONFIG_MACH_MINI2440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINI2440
# endif
# define machine_is_mini2440()	(machine_arch_type == MACH_TYPE_MINI2440)
#else
# define machine_is_mini2440()	(0)
#endif

#ifdef CONFIG_MACH_COLIBRI300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COLIBRI300
# endif
# define machine_is_colibri300()	(machine_arch_type == MACH_TYPE_COLIBRI300)
#else
# define machine_is_colibri300()	(0)
#endif

#ifdef CONFIG_MACH_LINKSTATION_LS_HGL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LINKSTATION_LS_HGL
# endif
# define machine_is_linkstation_ls_hgl()	(machine_arch_type == MACH_TYPE_LINKSTATION_LS_HGL)
#else
# define machine_is_linkstation_ls_hgl()	(0)
#endif

#ifdef CONFIG_MACH_CPUAT9G20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CPUAT9G20
# endif
# define machine_is_cpuat9g20()	(machine_arch_type == MACH_TYPE_CPUAT9G20)
#else
# define machine_is_cpuat9g20()	(0)
#endif

#ifdef CONFIG_MACH_SMDK6440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK6440
# endif
# define machine_is_smdk6440()	(machine_arch_type == MACH_TYPE_SMDK6440)
#else
# define machine_is_smdk6440()	(0)
#endif

#ifdef CONFIG_MACH_NAS4220B
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NAS4220B
# endif
# define machine_is_nas4220b()	(machine_arch_type == MACH_TYPE_NAS4220B)
#else
# define machine_is_nas4220b()	(0)
#endif

#ifdef CONFIG_MACH_ZYLONITE2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ZYLONITE2
# endif
# define machine_is_zylonite2()	(machine_arch_type == MACH_TYPE_ZYLONITE2)
#else
# define machine_is_zylonite2()	(0)
#endif

#ifdef CONFIG_MACH_ASPENITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ASPENITE
# endif
# define machine_is_aspenite()	(machine_arch_type == MACH_TYPE_ASPENITE)
#else
# define machine_is_aspenite()	(0)
#endif

#ifdef CONFIG_MACH_TTC_DKB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TTC_DKB
# endif
# define machine_is_ttc_dkb()	(machine_arch_type == MACH_TYPE_TTC_DKB)
#else
# define machine_is_ttc_dkb()	(0)
#endif

#ifdef CONFIG_MACH_PCM043
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCM043
# endif
# define machine_is_pcm043()	(machine_arch_type == MACH_TYPE_PCM043)
#else
# define machine_is_pcm043()	(0)
#endif

#ifdef CONFIG_MACH_SHEEVAPLUG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHEEVAPLUG
# endif
# define machine_is_sheevaplug()	(machine_arch_type == MACH_TYPE_SHEEVAPLUG)
#else
# define machine_is_sheevaplug()	(0)
#endif

#ifdef CONFIG_MACH_AVENGERS_LITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AVENGERS_LITE
# endif
# define machine_is_avengers_lite()	(machine_arch_type == MACH_TYPE_AVENGERS_LITE)
#else
# define machine_is_avengers_lite()	(0)
#endif

#ifdef CONFIG_MACH_MX51_BABBAGE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_BABBAGE
# endif
# define machine_is_mx51_babbage()	(machine_arch_type == MACH_TYPE_MX51_BABBAGE)
#else
# define machine_is_mx51_babbage()	(0)
#endif

#ifdef CONFIG_MACH_TX37
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TX37
# endif
# define machine_is_tx37()	(machine_arch_type == MACH_TYPE_TX37)
#else
# define machine_is_tx37()	(0)
#endif

#ifdef CONFIG_MACH_RD78X00_MASA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RD78X00_MASA
# endif
# define machine_is_rd78x00_masa()	(machine_arch_type == MACH_TYPE_RD78X00_MASA)
#else
# define machine_is_rd78x00_masa()	(0)
#endif

#ifdef CONFIG_MACH_DM355_LEOPARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DM355_LEOPARD
# endif
# define machine_is_dm355_leopard()	(machine_arch_type == MACH_TYPE_DM355_LEOPARD)
#else
# define machine_is_dm355_leopard()	(0)
#endif

#ifdef CONFIG_MACH_TS219
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TS219
# endif
# define machine_is_ts219()	(machine_arch_type == MACH_TYPE_TS219)
#else
# define machine_is_ts219()	(0)
#endif

#ifdef CONFIG_MACH_PCA100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCA100
# endif
# define machine_is_pca100()	(machine_arch_type == MACH_TYPE_PCA100)
#else
# define machine_is_pca100()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DA850_EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DA850_EVM
# endif
# define machine_is_davinci_da850_evm()	(machine_arch_type == MACH_TYPE_DAVINCI_DA850_EVM)
#else
# define machine_is_davinci_da850_evm()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9G10EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9G10EK
# endif
# define machine_is_at91sam9g10ek()	(machine_arch_type == MACH_TYPE_AT91SAM9G10EK)
#else
# define machine_is_at91sam9g10ek()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_4430SDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_4430SDP
# endif
# define machine_is_omap_4430sdp()	(machine_arch_type == MACH_TYPE_OMAP_4430SDP)
#else
# define machine_is_omap_4430sdp()	(0)
#endif

#ifdef CONFIG_MACH_MAGX_ZN5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MAGX_ZN5
# endif
# define machine_is_magx_zn5()	(machine_arch_type == MACH_TYPE_MAGX_ZN5)
#else
# define machine_is_magx_zn5()	(0)
#endif

#ifdef CONFIG_MACH_TX25
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TX25
# endif
# define machine_is_tx25()	(machine_arch_type == MACH_TYPE_TX25)
#else
# define machine_is_tx25()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_TORPEDO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_TORPEDO
# endif
# define machine_is_omap3_torpedo()	(machine_arch_type == MACH_TYPE_OMAP3_TORPEDO)
#else
# define machine_is_omap3_torpedo()	(0)
#endif

#ifdef CONFIG_MACH_ANW6410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ANW6410
# endif
# define machine_is_anw6410()	(machine_arch_type == MACH_TYPE_ANW6410)
#else
# define machine_is_anw6410()	(0)
#endif

#ifdef CONFIG_MACH_IMX27_VISSTRIM_M10
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMX27_VISSTRIM_M10
# endif
# define machine_is_imx27_visstrim_m10()	(machine_arch_type == MACH_TYPE_IMX27_VISSTRIM_M10)
#else
# define machine_is_imx27_visstrim_m10()	(0)
#endif

#ifdef CONFIG_MACH_PORTUXG20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PORTUXG20
# endif
# define machine_is_portuxg20()	(machine_arch_type == MACH_TYPE_PORTUXG20)
#else
# define machine_is_portuxg20()	(0)
#endif

#ifdef CONFIG_MACH_SMDKC110
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDKC110
# endif
# define machine_is_smdkc110()	(machine_arch_type == MACH_TYPE_SMDKC110)
#else
# define machine_is_smdkc110()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3517EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3517EVM
# endif
# define machine_is_omap3517evm()	(machine_arch_type == MACH_TYPE_OMAP3517EVM)
#else
# define machine_is_omap3517evm()	(0)
#endif

#ifdef CONFIG_MACH_NETSPACE_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NETSPACE_V2
# endif
# define machine_is_netspace_v2()	(machine_arch_type == MACH_TYPE_NETSPACE_V2)
#else
# define machine_is_netspace_v2()	(0)
#endif

#ifdef CONFIG_MACH_NETSPACE_MAX_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NETSPACE_MAX_V2
# endif
# define machine_is_netspace_max_v2()	(machine_arch_type == MACH_TYPE_NETSPACE_MAX_V2)
#else
# define machine_is_netspace_max_v2()	(0)
#endif

#ifdef CONFIG_MACH_D2NET_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_D2NET_V2
# endif
# define machine_is_d2net_v2()	(machine_arch_type == MACH_TYPE_D2NET_V2)
#else
# define machine_is_d2net_v2()	(0)
#endif

#ifdef CONFIG_MACH_NET2BIG_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NET2BIG_V2
# endif
# define machine_is_net2big_v2()	(machine_arch_type == MACH_TYPE_NET2BIG_V2)
#else
# define machine_is_net2big_v2()	(0)
#endif

#ifdef CONFIG_MACH_NET5BIG_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NET5BIG_V2
# endif
# define machine_is_net5big_v2()	(machine_arch_type == MACH_TYPE_NET5BIG_V2)
#else
# define machine_is_net5big_v2()	(0)
#endif

#ifdef CONFIG_MACH_INETSPACE_V2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INETSPACE_V2
# endif
# define machine_is_inetspace_v2()	(machine_arch_type == MACH_TYPE_INETSPACE_V2)
#else
# define machine_is_inetspace_v2()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9G45EKES
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9G45EKES
# endif
# define machine_is_at91sam9g45ekes()	(machine_arch_type == MACH_TYPE_AT91SAM9G45EKES)
#else
# define machine_is_at91sam9g45ekes()	(0)
#endif

#ifdef CONFIG_MACH_SPEAR600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPEAR600
# endif
# define machine_is_spear600()	(machine_arch_type == MACH_TYPE_SPEAR600)
#else
# define machine_is_spear600()	(0)
#endif

#ifdef CONFIG_MACH_SPEAR300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPEAR300
# endif
# define machine_is_spear300()	(machine_arch_type == MACH_TYPE_SPEAR300)
#else
# define machine_is_spear300()	(0)
#endif

#ifdef CONFIG_MACH_LILLY1131
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LILLY1131
# endif
# define machine_is_lilly1131()	(machine_arch_type == MACH_TYPE_LILLY1131)
#else
# define machine_is_lilly1131()	(0)
#endif

#ifdef CONFIG_MACH_HMT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HMT
# endif
# define machine_is_hmt()	(machine_arch_type == MACH_TYPE_HMT)
#else
# define machine_is_hmt()	(0)
#endif

#ifdef CONFIG_MACH_VEXPRESS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VEXPRESS
# endif
# define machine_is_vexpress()	(machine_arch_type == MACH_TYPE_VEXPRESS)
#else
# define machine_is_vexpress()	(0)
#endif

#ifdef CONFIG_MACH_D2NET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_D2NET
# endif
# define machine_is_d2net()	(machine_arch_type == MACH_TYPE_D2NET)
#else
# define machine_is_d2net()	(0)
#endif

#ifdef CONFIG_MACH_BIGDISK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BIGDISK
# endif
# define machine_is_bigdisk()	(machine_arch_type == MACH_TYPE_BIGDISK)
#else
# define machine_is_bigdisk()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9G20EK_2MMC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9G20EK_2MMC
# endif
# define machine_is_at91sam9g20ek_2mmc()	(machine_arch_type == MACH_TYPE_AT91SAM9G20EK_2MMC)
#else
# define machine_is_at91sam9g20ek_2mmc()	(0)
#endif

#ifdef CONFIG_MACH_BCMRING
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BCMRING
# endif
# define machine_is_bcmring()	(machine_arch_type == MACH_TYPE_BCMRING)
#else
# define machine_is_bcmring()	(0)
#endif

#ifdef CONFIG_MACH_MAHIMAHI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MAHIMAHI
# endif
# define machine_is_mahimahi()	(machine_arch_type == MACH_TYPE_MAHIMAHI)
#else
# define machine_is_mahimahi()	(0)
#endif

#ifdef CONFIG_MACH_SMDK6442
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK6442
# endif
# define machine_is_smdk6442()	(machine_arch_type == MACH_TYPE_SMDK6442)
#else
# define machine_is_smdk6442()	(0)
#endif

#ifdef CONFIG_MACH_OPENRD_BASE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OPENRD_BASE
# endif
# define machine_is_openrd_base()	(machine_arch_type == MACH_TYPE_OPENRD_BASE)
#else
# define machine_is_openrd_base()	(0)
#endif

#ifdef CONFIG_MACH_DEVKIT8000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DEVKIT8000
# endif
# define machine_is_devkit8000()	(machine_arch_type == MACH_TYPE_DEVKIT8000)
#else
# define machine_is_devkit8000()	(0)
#endif

#ifdef CONFIG_MACH_MX51_EFIKAMX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_EFIKAMX
# endif
# define machine_is_mx51_efikamx()	(machine_arch_type == MACH_TYPE_MX51_EFIKAMX)
#else
# define machine_is_mx51_efikamx()	(0)
#endif

#ifdef CONFIG_MACH_CM_T35
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CM_T35
# endif
# define machine_is_cm_t35()	(machine_arch_type == MACH_TYPE_CM_T35)
#else
# define machine_is_cm_t35()	(0)
#endif

#ifdef CONFIG_MACH_NET2BIG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NET2BIG
# endif
# define machine_is_net2big()	(machine_arch_type == MACH_TYPE_NET2BIG)
#else
# define machine_is_net2big()	(0)
#endif

#ifdef CONFIG_MACH_IGEP0020
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IGEP0020
# endif
# define machine_is_igep0020()	(machine_arch_type == MACH_TYPE_IGEP0020)
#else
# define machine_is_igep0020()	(0)
#endif

#ifdef CONFIG_MACH_NUC932EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NUC932EVB
# endif
# define machine_is_nuc932evb()	(machine_arch_type == MACH_TYPE_NUC932EVB)
#else
# define machine_is_nuc932evb()	(0)
#endif

#ifdef CONFIG_MACH_OPENRD_CLIENT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OPENRD_CLIENT
# endif
# define machine_is_openrd_client()	(machine_arch_type == MACH_TYPE_OPENRD_CLIENT)
#else
# define machine_is_openrd_client()	(0)
#endif

#ifdef CONFIG_MACH_U8500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_U8500
# endif
# define machine_is_u8500()	(machine_arch_type == MACH_TYPE_U8500)
#else
# define machine_is_u8500()	(0)
#endif

#ifdef CONFIG_MACH_MX51_EFIKASB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_EFIKASB
# endif
# define machine_is_mx51_efikasb()	(machine_arch_type == MACH_TYPE_MX51_EFIKASB)
#else
# define machine_is_mx51_efikasb()	(0)
#endif

#ifdef CONFIG_MACH_MARVELL_JASPER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MARVELL_JASPER
# endif
# define machine_is_marvell_jasper()	(machine_arch_type == MACH_TYPE_MARVELL_JASPER)
#else
# define machine_is_marvell_jasper()	(0)
#endif

#ifdef CONFIG_MACH_FLINT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FLINT
# endif
# define machine_is_flint()	(machine_arch_type == MACH_TYPE_FLINT)
#else
# define machine_is_flint()	(0)
#endif

#ifdef CONFIG_MACH_TAVOREVB3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TAVOREVB3
# endif
# define machine_is_tavorevb3()	(machine_arch_type == MACH_TYPE_TAVOREVB3)
#else
# define machine_is_tavorevb3()	(0)
#endif

#ifdef CONFIG_MACH_TOUCHBOOK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TOUCHBOOK
# endif
# define machine_is_touchbook()	(machine_arch_type == MACH_TYPE_TOUCHBOOK)
#else
# define machine_is_touchbook()	(0)
#endif

#ifdef CONFIG_MACH_RAUMFELD_RC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RAUMFELD_RC
# endif
# define machine_is_raumfeld_rc()	(machine_arch_type == MACH_TYPE_RAUMFELD_RC)
#else
# define machine_is_raumfeld_rc()	(0)
#endif

#ifdef CONFIG_MACH_RAUMFELD_CONNECTOR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RAUMFELD_CONNECTOR
# endif
# define machine_is_raumfeld_connector()	(machine_arch_type == MACH_TYPE_RAUMFELD_CONNECTOR)
#else
# define machine_is_raumfeld_connector()	(0)
#endif

#ifdef CONFIG_MACH_RAUMFELD_SPEAKER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RAUMFELD_SPEAKER
# endif
# define machine_is_raumfeld_speaker()	(machine_arch_type == MACH_TYPE_RAUMFELD_SPEAKER)
#else
# define machine_is_raumfeld_speaker()	(0)
#endif

#ifdef CONFIG_MACH_TNETV107X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TNETV107X
# endif
# define machine_is_tnetv107x()	(machine_arch_type == MACH_TYPE_TNETV107X)
#else
# define machine_is_tnetv107x()	(0)
#endif

#ifdef CONFIG_MACH_MX51_M2ID
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_M2ID
# endif
# define machine_is_mx51_m2id()	(machine_arch_type == MACH_TYPE_MX51_M2ID)
#else
# define machine_is_mx51_m2id()	(0)
#endif

#ifdef CONFIG_MACH_SMDKV210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDKV210
# endif
# define machine_is_smdkv210()	(machine_arch_type == MACH_TYPE_SMDKV210)
#else
# define machine_is_smdkv210()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_ZOOM3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_ZOOM3
# endif
# define machine_is_omap_zoom3()	(machine_arch_type == MACH_TYPE_OMAP_ZOOM3)
#else
# define machine_is_omap_zoom3()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_3630SDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_3630SDP
# endif
# define machine_is_omap_3630sdp()	(machine_arch_type == MACH_TYPE_OMAP_3630SDP)
#else
# define machine_is_omap_3630sdp()	(0)
#endif

#ifdef CONFIG_MACH_SMARTQ7
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMARTQ7
# endif
# define machine_is_smartq7()	(machine_arch_type == MACH_TYPE_SMARTQ7)
#else
# define machine_is_smartq7()	(0)
#endif

#ifdef CONFIG_MACH_WATSON_EFM_PLUGIN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WATSON_EFM_PLUGIN
# endif
# define machine_is_watson_efm_plugin()	(machine_arch_type == MACH_TYPE_WATSON_EFM_PLUGIN)
#else
# define machine_is_watson_efm_plugin()	(0)
#endif

#ifdef CONFIG_MACH_G4EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_G4EVM
# endif
# define machine_is_g4evm()	(machine_arch_type == MACH_TYPE_G4EVM)
#else
# define machine_is_g4evm()	(0)
#endif

#ifdef CONFIG_MACH_OMAPL138_HAWKBOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAPL138_HAWKBOARD
# endif
# define machine_is_omapl138_hawkboard()	(machine_arch_type == MACH_TYPE_OMAPL138_HAWKBOARD)
#else
# define machine_is_omapl138_hawkboard()	(0)
#endif

#ifdef CONFIG_MACH_TS41X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TS41X
# endif
# define machine_is_ts41x()	(machine_arch_type == MACH_TYPE_TS41X)
#else
# define machine_is_ts41x()	(0)
#endif

#ifdef CONFIG_MACH_PHY3250
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PHY3250
# endif
# define machine_is_phy3250()	(machine_arch_type == MACH_TYPE_PHY3250)
#else
# define machine_is_phy3250()	(0)
#endif

#ifdef CONFIG_MACH_MINI6410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINI6410
# endif
# define machine_is_mini6410()	(machine_arch_type == MACH_TYPE_MINI6410)
#else
# define machine_is_mini6410()	(0)
#endif

#ifdef CONFIG_MACH_TX51
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TX51
# endif
# define machine_is_tx51()	(machine_arch_type == MACH_TYPE_TX51)
#else
# define machine_is_tx51()	(0)
#endif

#ifdef CONFIG_MACH_MX28EVK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX28EVK
# endif
# define machine_is_mx28evk()	(machine_arch_type == MACH_TYPE_MX28EVK)
#else
# define machine_is_mx28evk()	(0)
#endif

#ifdef CONFIG_MACH_SMARTQ5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMARTQ5
# endif
# define machine_is_smartq5()	(machine_arch_type == MACH_TYPE_SMARTQ5)
#else
# define machine_is_smartq5()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DM6467TEVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM6467TEVM
# endif
# define machine_is_davinci_dm6467tevm()	(machine_arch_type == MACH_TYPE_DAVINCI_DM6467TEVM)
#else
# define machine_is_davinci_dm6467tevm()	(0)
#endif

#ifdef CONFIG_MACH_MXT_TD60
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MXT_TD60
# endif
# define machine_is_mxt_td60()	(machine_arch_type == MACH_TYPE_MXT_TD60)
#else
# define machine_is_mxt_td60()	(0)
#endif

#ifdef CONFIG_MACH_PCA101
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCA101
# endif
# define machine_is_pca101()	(machine_arch_type == MACH_TYPE_PCA101)
#else
# define machine_is_pca101()	(0)
#endif

#ifdef CONFIG_MACH_CAPC7117
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CAPC7117
# endif
# define machine_is_capc7117()	(machine_arch_type == MACH_TYPE_CAPC7117)
#else
# define machine_is_capc7117()	(0)
#endif

#ifdef CONFIG_MACH_ICONTROL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ICONTROL
# endif
# define machine_is_icontrol()	(machine_arch_type == MACH_TYPE_ICONTROL)
#else
# define machine_is_icontrol()	(0)
#endif

#ifdef CONFIG_MACH_GPLUGD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GPLUGD
# endif
# define machine_is_gplugd()	(machine_arch_type == MACH_TYPE_GPLUGD)
#else
# define machine_is_gplugd()	(0)
#endif

#ifdef CONFIG_MACH_QSD8X50A_ST1_5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QSD8X50A_ST1_5
# endif
# define machine_is_qsd8x50a_st1_5()	(machine_arch_type == MACH_TYPE_QSD8X50A_ST1_5)
#else
# define machine_is_qsd8x50a_st1_5()	(0)
#endif

#ifdef CONFIG_MACH_MX23EVK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX23EVK
# endif
# define machine_is_mx23evk()	(machine_arch_type == MACH_TYPE_MX23EVK)
#else
# define machine_is_mx23evk()	(0)
#endif

#ifdef CONFIG_MACH_AP4EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AP4EVB
# endif
# define machine_is_ap4evb()	(machine_arch_type == MACH_TYPE_AP4EVB)
#else
# define machine_is_ap4evb()	(0)
#endif

#ifdef CONFIG_MACH_MITYOMAPL138
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MITYOMAPL138
# endif
# define machine_is_mityomapl138()	(machine_arch_type == MACH_TYPE_MITYOMAPL138)
#else
# define machine_is_mityomapl138()	(0)
#endif

#ifdef CONFIG_MACH_GURUPLUG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GURUPLUG
# endif
# define machine_is_guruplug()	(machine_arch_type == MACH_TYPE_GURUPLUG)
#else
# define machine_is_guruplug()	(0)
#endif

#ifdef CONFIG_MACH_SPEAR310
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPEAR310
# endif
# define machine_is_spear310()	(machine_arch_type == MACH_TYPE_SPEAR310)
#else
# define machine_is_spear310()	(0)
#endif

#ifdef CONFIG_MACH_SPEAR320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPEAR320
# endif
# define machine_is_spear320()	(machine_arch_type == MACH_TYPE_SPEAR320)
#else
# define machine_is_spear320()	(0)
#endif

#ifdef CONFIG_MACH_AQUILA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AQUILA
# endif
# define machine_is_aquila()	(machine_arch_type == MACH_TYPE_AQUILA)
#else
# define machine_is_aquila()	(0)
#endif

#ifdef CONFIG_MACH_ESATA_SHEEVAPLUG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ESATA_SHEEVAPLUG
# endif
# define machine_is_esata_sheevaplug()	(machine_arch_type == MACH_TYPE_ESATA_SHEEVAPLUG)
#else
# define machine_is_esata_sheevaplug()	(0)
#endif

#ifdef CONFIG_MACH_MSM7X30_SURF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7X30_SURF
# endif
# define machine_is_msm7x30_surf()	(machine_arch_type == MACH_TYPE_MSM7X30_SURF)
#else
# define machine_is_msm7x30_surf()	(0)
#endif

#ifdef CONFIG_MACH_TERASTATION_WXL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TERASTATION_WXL
# endif
# define machine_is_terastation_wxl()	(machine_arch_type == MACH_TYPE_TERASTATION_WXL)
#else
# define machine_is_terastation_wxl()	(0)
#endif

#ifdef CONFIG_MACH_MSM7X25_SURF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7X25_SURF
# endif
# define machine_is_msm7x25_surf()	(machine_arch_type == MACH_TYPE_MSM7X25_SURF)
#else
# define machine_is_msm7x25_surf()	(0)
#endif

#ifdef CONFIG_MACH_MSM7X25_FFA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7X25_FFA
# endif
# define machine_is_msm7x25_ffa()	(machine_arch_type == MACH_TYPE_MSM7X25_FFA)
#else
# define machine_is_msm7x25_ffa()	(0)
#endif

#ifdef CONFIG_MACH_MSM7X27_SURF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7X27_SURF
# endif
# define machine_is_msm7x27_surf()	(machine_arch_type == MACH_TYPE_MSM7X27_SURF)
#else
# define machine_is_msm7x27_surf()	(0)
#endif

#ifdef CONFIG_MACH_MSM7X27_FFA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7X27_FFA
# endif
# define machine_is_msm7x27_ffa()	(machine_arch_type == MACH_TYPE_MSM7X27_FFA)
#else
# define machine_is_msm7x27_ffa()	(0)
#endif

#ifdef CONFIG_MACH_MSM7X30_FFA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7X30_FFA
# endif
# define machine_is_msm7x30_ffa()	(machine_arch_type == MACH_TYPE_MSM7X30_FFA)
#else
# define machine_is_msm7x30_ffa()	(0)
#endif

#ifdef CONFIG_MACH_QSD8X50_SURF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QSD8X50_SURF
# endif
# define machine_is_qsd8x50_surf()	(machine_arch_type == MACH_TYPE_QSD8X50_SURF)
#else
# define machine_is_qsd8x50_surf()	(0)
#endif

#ifdef CONFIG_MACH_MX53_EVK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_EVK
# endif
# define machine_is_mx53_evk()	(machine_arch_type == MACH_TYPE_MX53_EVK)
#else
# define machine_is_mx53_evk()	(0)
#endif

#ifdef CONFIG_MACH_IGEP0030
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IGEP0030
# endif
# define machine_is_igep0030()	(machine_arch_type == MACH_TYPE_IGEP0030)
#else
# define machine_is_igep0030()	(0)
#endif

#ifdef CONFIG_MACH_SBC3530
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SBC3530
# endif
# define machine_is_sbc3530()	(machine_arch_type == MACH_TYPE_SBC3530)
#else
# define machine_is_sbc3530()	(0)
#endif

#ifdef CONFIG_MACH_SAARB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SAARB
# endif
# define machine_is_saarb()	(machine_arch_type == MACH_TYPE_SAARB)
#else
# define machine_is_saarb()	(0)
#endif

#ifdef CONFIG_MACH_HARMONY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HARMONY
# endif
# define machine_is_harmony()	(machine_arch_type == MACH_TYPE_HARMONY)
#else
# define machine_is_harmony()	(0)
#endif

#ifdef CONFIG_MACH_MSM7X30_FLUID
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7X30_FLUID
# endif
# define machine_is_msm7x30_fluid()	(machine_arch_type == MACH_TYPE_MSM7X30_FLUID)
#else
# define machine_is_msm7x30_fluid()	(0)
#endif

#ifdef CONFIG_MACH_CM_T3517
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CM_T3517
# endif
# define machine_is_cm_t3517()	(machine_arch_type == MACH_TYPE_CM_T3517)
#else
# define machine_is_cm_t3517()	(0)
#endif

#ifdef CONFIG_MACH_WBD222
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WBD222
# endif
# define machine_is_wbd222()	(machine_arch_type == MACH_TYPE_WBD222)
#else
# define machine_is_wbd222()	(0)
#endif

#ifdef CONFIG_MACH_MSM8X60_SURF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8X60_SURF
# endif
# define machine_is_msm8x60_surf()	(machine_arch_type == MACH_TYPE_MSM8X60_SURF)
#else
# define machine_is_msm8x60_surf()	(0)
#endif

#ifdef CONFIG_MACH_MSM8X60_SIM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8X60_SIM
# endif
# define machine_is_msm8x60_sim()	(machine_arch_type == MACH_TYPE_MSM8X60_SIM)
#else
# define machine_is_msm8x60_sim()	(0)
#endif

#ifdef CONFIG_MACH_TCC8000_SDK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TCC8000_SDK
# endif
# define machine_is_tcc8000_sdk()	(machine_arch_type == MACH_TYPE_TCC8000_SDK)
#else
# define machine_is_tcc8000_sdk()	(0)
#endif

#ifdef CONFIG_MACH_CNS3420VB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CNS3420VB
# endif
# define machine_is_cns3420vb()	(machine_arch_type == MACH_TYPE_CNS3420VB)
#else
# define machine_is_cns3420vb()	(0)
#endif

#ifdef CONFIG_MACH_OMAP4_PANDA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP4_PANDA
# endif
# define machine_is_omap4_panda()	(machine_arch_type == MACH_TYPE_OMAP4_PANDA)
#else
# define machine_is_omap4_panda()	(0)
#endif

#ifdef CONFIG_MACH_TI8168EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TI8168EVM
# endif
# define machine_is_ti8168evm()	(machine_arch_type == MACH_TYPE_TI8168EVM)
#else
# define machine_is_ti8168evm()	(0)
#endif

#ifdef CONFIG_MACH_TETON_BGA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TETON_BGA
# endif
# define machine_is_teton_bga()	(machine_arch_type == MACH_TYPE_TETON_BGA)
#else
# define machine_is_teton_bga()	(0)
#endif

#ifdef CONFIG_MACH_EUKREA_CPUIMX25SD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX25SD
# endif
# define machine_is_eukrea_cpuimx25sd()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX25SD)
#else
# define machine_is_eukrea_cpuimx25sd()	(0)
#endif

#ifdef CONFIG_MACH_EUKREA_CPUIMX35SD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX35SD
# endif
# define machine_is_eukrea_cpuimx35sd()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX35SD)
#else
# define machine_is_eukrea_cpuimx35sd()	(0)
#endif

#ifdef CONFIG_MACH_EUKREA_CPUIMX51SD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX51SD
# endif
# define machine_is_eukrea_cpuimx51sd()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX51SD)
#else
# define machine_is_eukrea_cpuimx51sd()	(0)
#endif

#ifdef CONFIG_MACH_EUKREA_CPUIMX51
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EUKREA_CPUIMX51
# endif
# define machine_is_eukrea_cpuimx51()	(machine_arch_type == MACH_TYPE_EUKREA_CPUIMX51)
#else
# define machine_is_eukrea_cpuimx51()	(0)
#endif

#ifdef CONFIG_MACH_SMDKC210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDKC210
# endif
# define machine_is_smdkc210()	(machine_arch_type == MACH_TYPE_SMDKC210)
#else
# define machine_is_smdkc210()	(0)
#endif

#ifdef CONFIG_MACH_PCAAL1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCAAL1
# endif
# define machine_is_pcaal1()	(machine_arch_type == MACH_TYPE_PCAAL1)
#else
# define machine_is_pcaal1()	(0)
#endif

#ifdef CONFIG_MACH_T5325
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_T5325
# endif
# define machine_is_t5325()	(machine_arch_type == MACH_TYPE_T5325)
#else
# define machine_is_t5325()	(0)
#endif

#ifdef CONFIG_MACH_INCOME
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INCOME
# endif
# define machine_is_income()	(machine_arch_type == MACH_TYPE_INCOME)
#else
# define machine_is_income()	(0)
#endif

#ifdef CONFIG_MACH_MX257SX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX257SX
# endif
# define machine_is_mx257sx()	(machine_arch_type == MACH_TYPE_MX257SX)
#else
# define machine_is_mx257sx()	(0)
#endif

#ifdef CONFIG_MACH_GONI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GONI
# endif
# define machine_is_goni()	(machine_arch_type == MACH_TYPE_GONI)
#else
# define machine_is_goni()	(0)
#endif

#ifdef CONFIG_MACH_BV07
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BV07
# endif
# define machine_is_bv07()	(machine_arch_type == MACH_TYPE_BV07)
#else
# define machine_is_bv07()	(0)
#endif

#ifdef CONFIG_MACH_OPENRD_ULTIMATE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OPENRD_ULTIMATE
# endif
# define machine_is_openrd_ultimate()	(machine_arch_type == MACH_TYPE_OPENRD_ULTIMATE)
#else
# define machine_is_openrd_ultimate()	(0)
#endif

#ifdef CONFIG_MACH_DEVIXP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DEVIXP
# endif
# define machine_is_devixp()	(machine_arch_type == MACH_TYPE_DEVIXP)
#else
# define machine_is_devixp()	(0)
#endif

#ifdef CONFIG_MACH_MICCPT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MICCPT
# endif
# define machine_is_miccpt()	(machine_arch_type == MACH_TYPE_MICCPT)
#else
# define machine_is_miccpt()	(0)
#endif

#ifdef CONFIG_MACH_MIC256
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MIC256
# endif
# define machine_is_mic256()	(machine_arch_type == MACH_TYPE_MIC256)
#else
# define machine_is_mic256()	(0)
#endif

#ifdef CONFIG_MACH_U5500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_U5500
# endif
# define machine_is_u5500()	(machine_arch_type == MACH_TYPE_U5500)
#else
# define machine_is_u5500()	(0)
#endif

#ifdef CONFIG_MACH_POV15HD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POV15HD
# endif
# define machine_is_pov15hd()	(machine_arch_type == MACH_TYPE_POV15HD)
#else
# define machine_is_pov15hd()	(0)
#endif

#ifdef CONFIG_MACH_LINKSTATION_LSCHL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LINKSTATION_LSCHL
# endif
# define machine_is_linkstation_lschl()	(machine_arch_type == MACH_TYPE_LINKSTATION_LSCHL)
#else
# define machine_is_linkstation_lschl()	(0)
#endif

#ifdef CONFIG_MACH_SMDKV310
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDKV310
# endif
# define machine_is_smdkv310()	(machine_arch_type == MACH_TYPE_SMDKV310)
#else
# define machine_is_smdkv310()	(0)
#endif

#ifdef CONFIG_MACH_WM8505_7IN_NETBOOK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WM8505_7IN_NETBOOK
# endif
# define machine_is_wm8505_7in_netbook()	(machine_arch_type == MACH_TYPE_WM8505_7IN_NETBOOK)
#else
# define machine_is_wm8505_7in_netbook()	(0)
#endif

#ifdef CONFIG_MACH_CRANEBOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CRANEBOARD
# endif
# define machine_is_craneboard()	(machine_arch_type == MACH_TYPE_CRANEBOARD)
#else
# define machine_is_craneboard()	(0)
#endif

#ifdef CONFIG_MACH_SMDK6450
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK6450
# endif
# define machine_is_smdk6450()	(machine_arch_type == MACH_TYPE_SMDK6450)
#else
# define machine_is_smdk6450()	(0)
#endif

#ifdef CONFIG_MACH_BROWNSTONE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BROWNSTONE
# endif
# define machine_is_brownstone()	(machine_arch_type == MACH_TYPE_BROWNSTONE)
#else
# define machine_is_brownstone()	(0)
#endif

#ifdef CONFIG_MACH_FLEXIBITY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FLEXIBITY
# endif
# define machine_is_flexibity()	(machine_arch_type == MACH_TYPE_FLEXIBITY)
#else
# define machine_is_flexibity()	(0)
#endif

#ifdef CONFIG_MACH_MX50_RDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX50_RDP
# endif
# define machine_is_mx50_rdp()	(machine_arch_type == MACH_TYPE_MX50_RDP)
#else
# define machine_is_mx50_rdp()	(0)
#endif

#ifdef CONFIG_MACH_UNIVERSAL_C210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_UNIVERSAL_C210
# endif
# define machine_is_universal_c210()	(machine_arch_type == MACH_TYPE_UNIVERSAL_C210)
#else
# define machine_is_universal_c210()	(0)
#endif

#ifdef CONFIG_MACH_REAL6410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_REAL6410
# endif
# define machine_is_real6410()	(machine_arch_type == MACH_TYPE_REAL6410)
#else
# define machine_is_real6410()	(0)
#endif

#ifdef CONFIG_MACH_DOCKSTAR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DOCKSTAR
# endif
# define machine_is_dockstar()	(machine_arch_type == MACH_TYPE_DOCKSTAR)
#else
# define machine_is_dockstar()	(0)
#endif

#ifdef CONFIG_MACH_TI8148EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TI8148EVM
# endif
# define machine_is_ti8148evm()	(machine_arch_type == MACH_TYPE_TI8148EVM)
#else
# define machine_is_ti8148evm()	(0)
#endif

#ifdef CONFIG_MACH_SEABOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SEABOARD
# endif
# define machine_is_seaboard()	(machine_arch_type == MACH_TYPE_SEABOARD)
#else
# define machine_is_seaboard()	(0)
#endif

#ifdef CONFIG_MACH_MX53_ARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_ARD
# endif
# define machine_is_mx53_ard()	(machine_arch_type == MACH_TYPE_MX53_ARD)
#else
# define machine_is_mx53_ard()	(0)
#endif

#ifdef CONFIG_MACH_MX53_SMD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_SMD
# endif
# define machine_is_mx53_smd()	(machine_arch_type == MACH_TYPE_MX53_SMD)
#else
# define machine_is_mx53_smd()	(0)
#endif

#ifdef CONFIG_MACH_MSM8X60_RUMI3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8X60_RUMI3
# endif
# define machine_is_msm8x60_rumi3()	(machine_arch_type == MACH_TYPE_MSM8X60_RUMI3)
#else
# define machine_is_msm8x60_rumi3()	(0)
#endif

#ifdef CONFIG_MACH_MSM8X60_FFA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8X60_FFA
# endif
# define machine_is_msm8x60_ffa()	(machine_arch_type == MACH_TYPE_MSM8X60_FFA)
#else
# define machine_is_msm8x60_ffa()	(0)
#endif

#ifdef CONFIG_MACH_CM_A510
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CM_A510
# endif
# define machine_is_cm_a510()	(machine_arch_type == MACH_TYPE_CM_A510)
#else
# define machine_is_cm_a510()	(0)
#endif

#ifdef CONFIG_MACH_TX28
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TX28
# endif
# define machine_is_tx28()	(machine_arch_type == MACH_TYPE_TX28)
#else
# define machine_is_tx28()	(0)
#endif

#ifdef CONFIG_MACH_PCONTROL_G20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCONTROL_G20
# endif
# define machine_is_pcontrol_g20()	(machine_arch_type == MACH_TYPE_PCONTROL_G20)
#else
# define machine_is_pcontrol_g20()	(0)
#endif

#ifdef CONFIG_MACH_VPR200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VPR200
# endif
# define machine_is_vpr200()	(machine_arch_type == MACH_TYPE_VPR200)
#else
# define machine_is_vpr200()	(0)
#endif

#ifdef CONFIG_MACH_TORBRECK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TORBRECK
# endif
# define machine_is_torbreck()	(machine_arch_type == MACH_TYPE_TORBRECK)
#else
# define machine_is_torbreck()	(0)
#endif

#ifdef CONFIG_MACH_PRIMA2_EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMA2_EVB
# endif
# define machine_is_prima2_evb()	(machine_arch_type == MACH_TYPE_PRIMA2_EVB)
#else
# define machine_is_prima2_evb()	(0)
#endif

#ifdef CONFIG_MACH_PAZ00
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PAZ00
# endif
# define machine_is_paz00()	(machine_arch_type == MACH_TYPE_PAZ00)
#else
# define machine_is_paz00()	(0)
#endif

#ifdef CONFIG_MACH_ACMENETUSFOXG20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACMENETUSFOXG20
# endif
# define machine_is_acmenetusfoxg20()	(machine_arch_type == MACH_TYPE_ACMENETUSFOXG20)
#else
# define machine_is_acmenetusfoxg20()	(0)
#endif

#ifdef CONFIG_MACH_AG5EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AG5EVM
# endif
# define machine_is_ag5evm()	(machine_arch_type == MACH_TYPE_AG5EVM)
#else
# define machine_is_ag5evm()	(0)
#endif

#ifdef CONFIG_MACH_TSUNAGI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TSUNAGI
# endif
# define machine_is_tsunagi()	(machine_arch_type == MACH_TYPE_TSUNAGI)
#else
# define machine_is_tsunagi()	(0)
#endif

#ifdef CONFIG_MACH_ICS_IF_VOIP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ICS_IF_VOIP
# endif
# define machine_is_ics_if_voip()	(machine_arch_type == MACH_TYPE_ICS_IF_VOIP)
#else
# define machine_is_ics_if_voip()	(0)
#endif

#ifdef CONFIG_MACH_WLF_CRAGG_6410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WLF_CRAGG_6410
# endif
# define machine_is_wlf_cragg_6410()	(machine_arch_type == MACH_TYPE_WLF_CRAGG_6410)
#else
# define machine_is_wlf_cragg_6410()	(0)
#endif

#ifdef CONFIG_MACH_TRIMSLICE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRIMSLICE
# endif
# define machine_is_trimslice()	(machine_arch_type == MACH_TYPE_TRIMSLICE)
#else
# define machine_is_trimslice()	(0)
#endif

#ifdef CONFIG_MACH_MACKEREL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MACKEREL
# endif
# define machine_is_mackerel()	(machine_arch_type == MACH_TYPE_MACKEREL)
#else
# define machine_is_mackerel()	(0)
#endif

#ifdef CONFIG_MACH_KAEN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KAEN
# endif
# define machine_is_kaen()	(machine_arch_type == MACH_TYPE_KAEN)
#else
# define machine_is_kaen()	(0)
#endif

#ifdef CONFIG_MACH_NOKIA_RM680
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOKIA_RM680
# endif
# define machine_is_nokia_rm680()	(machine_arch_type == MACH_TYPE_NOKIA_RM680)
#else
# define machine_is_nokia_rm680()	(0)
#endif

#ifdef CONFIG_MACH_MSM8960_SIM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8960_SIM
# endif
# define machine_is_msm8960_sim()	(machine_arch_type == MACH_TYPE_MSM8960_SIM)
#else
# define machine_is_msm8960_sim()	(0)
#endif

#ifdef CONFIG_MACH_MSM8960_RUMI3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8960_RUMI3
# endif
# define machine_is_msm8960_rumi3()	(machine_arch_type == MACH_TYPE_MSM8960_RUMI3)
#else
# define machine_is_msm8960_rumi3()	(0)
#endif

#ifdef CONFIG_MACH_GSIA18S
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GSIA18S
# endif
# define machine_is_gsia18s()	(machine_arch_type == MACH_TYPE_GSIA18S)
#else
# define machine_is_gsia18s()	(0)
#endif

#ifdef CONFIG_MACH_MX53_LOCO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_LOCO
# endif
# define machine_is_mx53_loco()	(machine_arch_type == MACH_TYPE_MX53_LOCO)
#else
# define machine_is_mx53_loco()	(0)
#endif

#ifdef CONFIG_MACH_TX53
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TX53
# endif
# define machine_is_tx53()	(machine_arch_type == MACH_TYPE_TX53)
#else
# define machine_is_tx53()	(0)
#endif

#ifdef CONFIG_MACH_ENCORE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ENCORE
# endif
# define machine_is_encore()	(machine_arch_type == MACH_TYPE_ENCORE)
#else
# define machine_is_encore()	(0)
#endif

#ifdef CONFIG_MACH_WARIO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WARIO
# endif
# define machine_is_wario()	(machine_arch_type == MACH_TYPE_WARIO)
#else
# define machine_is_wario()	(0)
#endif

#ifdef CONFIG_MACH_CM_T3730
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CM_T3730
# endif
# define machine_is_cm_t3730()	(machine_arch_type == MACH_TYPE_CM_T3730)
#else
# define machine_is_cm_t3730()	(0)
#endif

#ifdef CONFIG_MACH_HREFV60
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HREFV60
# endif
# define machine_is_hrefv60()	(machine_arch_type == MACH_TYPE_HREFV60)
#else
# define machine_is_hrefv60()	(0)
#endif

#ifdef CONFIG_MACH_ARMLEX4210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARMLEX4210
# endif
# define machine_is_armlex4210()	(machine_arch_type == MACH_TYPE_ARMLEX4210)
#else
# define machine_is_armlex4210()	(0)
#endif

#ifdef CONFIG_MACH_SNOWBALL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SNOWBALL
# endif
# define machine_is_snowball()	(machine_arch_type == MACH_TYPE_SNOWBALL)
#else
# define machine_is_snowball()	(0)
#endif

#ifdef CONFIG_MACH_XILINX_EP107
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XILINX_EP107
# endif
# define machine_is_xilinx_ep107()	(machine_arch_type == MACH_TYPE_XILINX_EP107)
#else
# define machine_is_xilinx_ep107()	(0)
#endif

#ifdef CONFIG_MACH_NURI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NURI
# endif
# define machine_is_nuri()	(machine_arch_type == MACH_TYPE_NURI)
#else
# define machine_is_nuri()	(0)
#endif

#ifdef CONFIG_MACH_WTPLUG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WTPLUG
# endif
# define machine_is_wtplug()	(machine_arch_type == MACH_TYPE_WTPLUG)
#else
# define machine_is_wtplug()	(0)
#endif

#ifdef CONFIG_MACH_VERIDIS_A300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VERIDIS_A300
# endif
# define machine_is_veridis_a300()	(machine_arch_type == MACH_TYPE_VERIDIS_A300)
#else
# define machine_is_veridis_a300()	(0)
#endif

#ifdef CONFIG_MACH_ORIGEN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ORIGEN
# endif
# define machine_is_origen()	(machine_arch_type == MACH_TYPE_ORIGEN)
#else
# define machine_is_origen()	(0)
#endif

#ifdef CONFIG_MACH_WM8650REFBOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WM8650REFBOARD
# endif
# define machine_is_wm8650refboard()	(machine_arch_type == MACH_TYPE_WM8650REFBOARD)
#else
# define machine_is_wm8650refboard()	(0)
#endif

#ifdef CONFIG_MACH_XARINA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XARINA
# endif
# define machine_is_xarina()	(machine_arch_type == MACH_TYPE_XARINA)
#else
# define machine_is_xarina()	(0)
#endif

#ifdef CONFIG_MACH_SDVR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SDVR
# endif
# define machine_is_sdvr()	(machine_arch_type == MACH_TYPE_SDVR)
#else
# define machine_is_sdvr()	(0)
#endif

#ifdef CONFIG_MACH_ACER_MAYA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACER_MAYA
# endif
# define machine_is_acer_maya()	(machine_arch_type == MACH_TYPE_ACER_MAYA)
#else
# define machine_is_acer_maya()	(0)
#endif

#ifdef CONFIG_MACH_PICO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICO
# endif
# define machine_is_pico()	(machine_arch_type == MACH_TYPE_PICO)
#else
# define machine_is_pico()	(0)
#endif

#ifdef CONFIG_MACH_CWMX233
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CWMX233
# endif
# define machine_is_cwmx233()	(machine_arch_type == MACH_TYPE_CWMX233)
#else
# define machine_is_cwmx233()	(0)
#endif

#ifdef CONFIG_MACH_CWAM1808
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CWAM1808
# endif
# define machine_is_cwam1808()	(machine_arch_type == MACH_TYPE_CWAM1808)
#else
# define machine_is_cwam1808()	(0)
#endif

#ifdef CONFIG_MACH_CWDM365
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CWDM365
# endif
# define machine_is_cwdm365()	(machine_arch_type == MACH_TYPE_CWDM365)
#else
# define machine_is_cwdm365()	(0)
#endif

#ifdef CONFIG_MACH_MX51_MORAY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_MORAY
# endif
# define machine_is_mx51_moray()	(machine_arch_type == MACH_TYPE_MX51_MORAY)
#else
# define machine_is_mx51_moray()	(0)
#endif

#ifdef CONFIG_MACH_THALES_CBC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_THALES_CBC
# endif
# define machine_is_thales_cbc()	(machine_arch_type == MACH_TYPE_THALES_CBC)
#else
# define machine_is_thales_cbc()	(0)
#endif

#ifdef CONFIG_MACH_BLUEPOINT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BLUEPOINT
# endif
# define machine_is_bluepoint()	(machine_arch_type == MACH_TYPE_BLUEPOINT)
#else
# define machine_is_bluepoint()	(0)
#endif

#ifdef CONFIG_MACH_DIR665
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DIR665
# endif
# define machine_is_dir665()	(machine_arch_type == MACH_TYPE_DIR665)
#else
# define machine_is_dir665()	(0)
#endif

#ifdef CONFIG_MACH_ACMEROVER1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACMEROVER1
# endif
# define machine_is_acmerover1()	(machine_arch_type == MACH_TYPE_ACMEROVER1)
#else
# define machine_is_acmerover1()	(0)
#endif

#ifdef CONFIG_MACH_SHOOTER_CT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHOOTER_CT
# endif
# define machine_is_shooter_ct()	(machine_arch_type == MACH_TYPE_SHOOTER_CT)
#else
# define machine_is_shooter_ct()	(0)
#endif

#ifdef CONFIG_MACH_BLISS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BLISS
# endif
# define machine_is_bliss()	(machine_arch_type == MACH_TYPE_BLISS)
#else
# define machine_is_bliss()	(0)
#endif

#ifdef CONFIG_MACH_BLISSC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BLISSC
# endif
# define machine_is_blissc()	(machine_arch_type == MACH_TYPE_BLISSC)
#else
# define machine_is_blissc()	(0)
#endif

#ifdef CONFIG_MACH_THALES_ADC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_THALES_ADC
# endif
# define machine_is_thales_adc()	(machine_arch_type == MACH_TYPE_THALES_ADC)
#else
# define machine_is_thales_adc()	(0)
#endif

#ifdef CONFIG_MACH_UBISYS_P9D_EVP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_UBISYS_P9D_EVP
# endif
# define machine_is_ubisys_p9d_evp()	(machine_arch_type == MACH_TYPE_UBISYS_P9D_EVP)
#else
# define machine_is_ubisys_p9d_evp()	(0)
#endif

#ifdef CONFIG_MACH_ATDGP318
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ATDGP318
# endif
# define machine_is_atdgp318()	(machine_arch_type == MACH_TYPE_ATDGP318)
#else
# define machine_is_atdgp318()	(0)
#endif

#ifdef CONFIG_MACH_DMA210U
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DMA210U
# endif
# define machine_is_dma210u()	(machine_arch_type == MACH_TYPE_DMA210U)
#else
# define machine_is_dma210u()	(0)
#endif

#ifdef CONFIG_MACH_EM_T3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EM_T3
# endif
# define machine_is_em_t3()	(machine_arch_type == MACH_TYPE_EM_T3)
#else
# define machine_is_em_t3()	(0)
#endif

#ifdef CONFIG_MACH_HTX3250
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HTX3250
# endif
# define machine_is_htx3250()	(machine_arch_type == MACH_TYPE_HTX3250)
#else
# define machine_is_htx3250()	(0)
#endif

#ifdef CONFIG_MACH_G50
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_G50
# endif
# define machine_is_g50()	(machine_arch_type == MACH_TYPE_G50)
#else
# define machine_is_g50()	(0)
#endif

#ifdef CONFIG_MACH_ECO5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ECO5
# endif
# define machine_is_eco5()	(machine_arch_type == MACH_TYPE_ECO5)
#else
# define machine_is_eco5()	(0)
#endif

#ifdef CONFIG_MACH_WINTERGRASP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WINTERGRASP
# endif
# define machine_is_wintergrasp()	(machine_arch_type == MACH_TYPE_WINTERGRASP)
#else
# define machine_is_wintergrasp()	(0)
#endif

#ifdef CONFIG_MACH_PURO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PURO
# endif
# define machine_is_puro()	(machine_arch_type == MACH_TYPE_PURO)
#else
# define machine_is_puro()	(0)
#endif

#ifdef CONFIG_MACH_SHOOTER_K
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHOOTER_K
# endif
# define machine_is_shooter_k()	(machine_arch_type == MACH_TYPE_SHOOTER_K)
#else
# define machine_is_shooter_k()	(0)
#endif

#ifdef CONFIG_MACH_NSPIRE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NSPIRE
# endif
# define machine_is_nspire()	(machine_arch_type == MACH_TYPE_NSPIRE)
#else
# define machine_is_nspire()	(0)
#endif

#ifdef CONFIG_MACH_MICKXX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MICKXX
# endif
# define machine_is_mickxx()	(machine_arch_type == MACH_TYPE_MICKXX)
#else
# define machine_is_mickxx()	(0)
#endif

#ifdef CONFIG_MACH_LXMB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LXMB
# endif
# define machine_is_lxmb()	(machine_arch_type == MACH_TYPE_LXMB)
#else
# define machine_is_lxmb()	(0)
#endif

#ifdef CONFIG_MACH_ADAM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ADAM
# endif
# define machine_is_adam()	(machine_arch_type == MACH_TYPE_ADAM)
#else
# define machine_is_adam()	(0)
#endif

#ifdef CONFIG_MACH_B1004
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_B1004
# endif
# define machine_is_b1004()	(machine_arch_type == MACH_TYPE_B1004)
#else
# define machine_is_b1004()	(0)
#endif

#ifdef CONFIG_MACH_OBOEA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OBOEA
# endif
# define machine_is_oboea()	(machine_arch_type == MACH_TYPE_OBOEA)
#else
# define machine_is_oboea()	(0)
#endif

#ifdef CONFIG_MACH_A1015
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_A1015
# endif
# define machine_is_a1015()	(machine_arch_type == MACH_TYPE_A1015)
#else
# define machine_is_a1015()	(0)
#endif

#ifdef CONFIG_MACH_ROBIN_VBDT30
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ROBIN_VBDT30
# endif
# define machine_is_robin_vbdt30()	(machine_arch_type == MACH_TYPE_ROBIN_VBDT30)
#else
# define machine_is_robin_vbdt30()	(0)
#endif

#ifdef CONFIG_MACH_TEGRA_ENTERPRISE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TEGRA_ENTERPRISE
# endif
# define machine_is_tegra_enterprise()	(machine_arch_type == MACH_TYPE_TEGRA_ENTERPRISE)
#else
# define machine_is_tegra_enterprise()	(0)
#endif

#ifdef CONFIG_MACH_RFL108200_MK10
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RFL108200_MK10
# endif
# define machine_is_rfl108200_mk10()	(machine_arch_type == MACH_TYPE_RFL108200_MK10)
#else
# define machine_is_rfl108200_mk10()	(0)
#endif

#ifdef CONFIG_MACH_RFL108300_MK16
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RFL108300_MK16
# endif
# define machine_is_rfl108300_mk16()	(machine_arch_type == MACH_TYPE_RFL108300_MK16)
#else
# define machine_is_rfl108300_mk16()	(0)
#endif

#ifdef CONFIG_MACH_ROVER_V7
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ROVER_V7
# endif
# define machine_is_rover_v7()	(machine_arch_type == MACH_TYPE_ROVER_V7)
#else
# define machine_is_rover_v7()	(0)
#endif

#ifdef CONFIG_MACH_MIPHONE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MIPHONE
# endif
# define machine_is_miphone()	(machine_arch_type == MACH_TYPE_MIPHONE)
#else
# define machine_is_miphone()	(0)
#endif

#ifdef CONFIG_MACH_FEMTOBTS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FEMTOBTS
# endif
# define machine_is_femtobts()	(machine_arch_type == MACH_TYPE_FEMTOBTS)
#else
# define machine_is_femtobts()	(0)
#endif

#ifdef CONFIG_MACH_MONOPOLI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MONOPOLI
# endif
# define machine_is_monopoli()	(machine_arch_type == MACH_TYPE_MONOPOLI)
#else
# define machine_is_monopoli()	(0)
#endif

#ifdef CONFIG_MACH_BOSS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BOSS
# endif
# define machine_is_boss()	(machine_arch_type == MACH_TYPE_BOSS)
#else
# define machine_is_boss()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DM368_VTAM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DM368_VTAM
# endif
# define machine_is_davinci_dm368_vtam()	(machine_arch_type == MACH_TYPE_DAVINCI_DM368_VTAM)
#else
# define machine_is_davinci_dm368_vtam()	(0)
#endif

#ifdef CONFIG_MACH_CLCON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CLCON
# endif
# define machine_is_clcon()	(machine_arch_type == MACH_TYPE_CLCON)
#else
# define machine_is_clcon()	(0)
#endif

#ifdef CONFIG_MACH_NOKIA_RM696
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NOKIA_RM696
# endif
# define machine_is_nokia_rm696()	(machine_arch_type == MACH_TYPE_NOKIA_RM696)
#else
# define machine_is_nokia_rm696()	(0)
#endif

#ifdef CONFIG_MACH_TAHITI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TAHITI
# endif
# define machine_is_tahiti()	(machine_arch_type == MACH_TYPE_TAHITI)
#else
# define machine_is_tahiti()	(0)
#endif

#ifdef CONFIG_MACH_FIGHTER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FIGHTER
# endif
# define machine_is_fighter()	(machine_arch_type == MACH_TYPE_FIGHTER)
#else
# define machine_is_fighter()	(0)
#endif

#ifdef CONFIG_MACH_SGH_I710
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SGH_I710
# endif
# define machine_is_sgh_i710()	(machine_arch_type == MACH_TYPE_SGH_I710)
#else
# define machine_is_sgh_i710()	(0)
#endif

#ifdef CONFIG_MACH_INTEGREPROSCB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INTEGREPROSCB
# endif
# define machine_is_integreproscb()	(machine_arch_type == MACH_TYPE_INTEGREPROSCB)
#else
# define machine_is_integreproscb()	(0)
#endif

#ifdef CONFIG_MACH_MONZA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MONZA
# endif
# define machine_is_monza()	(machine_arch_type == MACH_TYPE_MONZA)
#else
# define machine_is_monza()	(0)
#endif

#ifdef CONFIG_MACH_CALIMAIN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CALIMAIN
# endif
# define machine_is_calimain()	(machine_arch_type == MACH_TYPE_CALIMAIN)
#else
# define machine_is_calimain()	(0)
#endif

#ifdef CONFIG_MACH_MX6Q_SABREAUTO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6Q_SABREAUTO
# endif
# define machine_is_mx6q_sabreauto()	(machine_arch_type == MACH_TYPE_MX6Q_SABREAUTO)
#else
# define machine_is_mx6q_sabreauto()	(0)
#endif

#ifdef CONFIG_MACH_GMA01X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GMA01X
# endif
# define machine_is_gma01x()	(machine_arch_type == MACH_TYPE_GMA01X)
#else
# define machine_is_gma01x()	(0)
#endif

#ifdef CONFIG_MACH_SBC51
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SBC51
# endif
# define machine_is_sbc51()	(machine_arch_type == MACH_TYPE_SBC51)
#else
# define machine_is_sbc51()	(0)
#endif

#ifdef CONFIG_MACH_FIT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FIT
# endif
# define machine_is_fit()	(machine_arch_type == MACH_TYPE_FIT)
#else
# define machine_is_fit()	(0)
#endif

#ifdef CONFIG_MACH_STEELHEAD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STEELHEAD
# endif
# define machine_is_steelhead()	(machine_arch_type == MACH_TYPE_STEELHEAD)
#else
# define machine_is_steelhead()	(0)
#endif

#ifdef CONFIG_MACH_PANTHER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PANTHER
# endif
# define machine_is_panther()	(machine_arch_type == MACH_TYPE_PANTHER)
#else
# define machine_is_panther()	(0)
#endif

#ifdef CONFIG_MACH_MSM8960_LIQUID
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8960_LIQUID
# endif
# define machine_is_msm8960_liquid()	(machine_arch_type == MACH_TYPE_MSM8960_LIQUID)
#else
# define machine_is_msm8960_liquid()	(0)
#endif

#ifdef CONFIG_MACH_LEXIKONCT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LEXIKONCT
# endif
# define machine_is_lexikonct()	(machine_arch_type == MACH_TYPE_LEXIKONCT)
#else
# define machine_is_lexikonct()	(0)
#endif

#ifdef CONFIG_MACH_NS2816_STB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS2816_STB
# endif
# define machine_is_ns2816_stb()	(machine_arch_type == MACH_TYPE_NS2816_STB)
#else
# define machine_is_ns2816_stb()	(0)
#endif

#ifdef CONFIG_MACH_SEI_MM2_LPC3250
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SEI_MM2_LPC3250
# endif
# define machine_is_sei_mm2_lpc3250()	(machine_arch_type == MACH_TYPE_SEI_MM2_LPC3250)
#else
# define machine_is_sei_mm2_lpc3250()	(0)
#endif

#ifdef CONFIG_MACH_CMIMX53
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CMIMX53
# endif
# define machine_is_cmimx53()	(machine_arch_type == MACH_TYPE_CMIMX53)
#else
# define machine_is_cmimx53()	(0)
#endif

#ifdef CONFIG_MACH_SANDWICH
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SANDWICH
# endif
# define machine_is_sandwich()	(machine_arch_type == MACH_TYPE_SANDWICH)
#else
# define machine_is_sandwich()	(0)
#endif

#ifdef CONFIG_MACH_CHIEF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CHIEF
# endif
# define machine_is_chief()	(machine_arch_type == MACH_TYPE_CHIEF)
#else
# define machine_is_chief()	(0)
#endif

#ifdef CONFIG_MACH_POGO_E02
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POGO_E02
# endif
# define machine_is_pogo_e02()	(machine_arch_type == MACH_TYPE_POGO_E02)
#else
# define machine_is_pogo_e02()	(0)
#endif

#ifdef CONFIG_MACH_MIKRAP_X168
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MIKRAP_X168
# endif
# define machine_is_mikrap_x168()	(machine_arch_type == MACH_TYPE_MIKRAP_X168)
#else
# define machine_is_mikrap_x168()	(0)
#endif

#ifdef CONFIG_MACH_HTCMOZART
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HTCMOZART
# endif
# define machine_is_htcmozart()	(machine_arch_type == MACH_TYPE_HTCMOZART)
#else
# define machine_is_htcmozart()	(0)
#endif

#ifdef CONFIG_MACH_HTCGOLD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HTCGOLD
# endif
# define machine_is_htcgold()	(machine_arch_type == MACH_TYPE_HTCGOLD)
#else
# define machine_is_htcgold()	(0)
#endif

#ifdef CONFIG_MACH_MT72XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MT72XX
# endif
# define machine_is_mt72xx()	(machine_arch_type == MACH_TYPE_MT72XX)
#else
# define machine_is_mt72xx()	(0)
#endif

#ifdef CONFIG_MACH_MX51_IVY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_IVY
# endif
# define machine_is_mx51_ivy()	(machine_arch_type == MACH_TYPE_MX51_IVY)
#else
# define machine_is_mx51_ivy()	(0)
#endif

#ifdef CONFIG_MACH_MX51_LVD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_LVD
# endif
# define machine_is_mx51_lvd()	(machine_arch_type == MACH_TYPE_MX51_LVD)
#else
# define machine_is_mx51_lvd()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_WISER2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_WISER2
# endif
# define machine_is_omap3_wiser2()	(machine_arch_type == MACH_TYPE_OMAP3_WISER2)
#else
# define machine_is_omap3_wiser2()	(0)
#endif

#ifdef CONFIG_MACH_DREAMPLUG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DREAMPLUG
# endif
# define machine_is_dreamplug()	(machine_arch_type == MACH_TYPE_DREAMPLUG)
#else
# define machine_is_dreamplug()	(0)
#endif

#ifdef CONFIG_MACH_COBAS_C_111
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COBAS_C_111
# endif
# define machine_is_cobas_c_111()	(machine_arch_type == MACH_TYPE_COBAS_C_111)
#else
# define machine_is_cobas_c_111()	(0)
#endif

#ifdef CONFIG_MACH_COBAS_U_411
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COBAS_U_411
# endif
# define machine_is_cobas_u_411()	(machine_arch_type == MACH_TYPE_COBAS_U_411)
#else
# define machine_is_cobas_u_411()	(0)
#endif

#ifdef CONFIG_MACH_HSSD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HSSD
# endif
# define machine_is_hssd()	(machine_arch_type == MACH_TYPE_HSSD)
#else
# define machine_is_hssd()	(0)
#endif

#ifdef CONFIG_MACH_IOM35X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IOM35X
# endif
# define machine_is_iom35x()	(machine_arch_type == MACH_TYPE_IOM35X)
#else
# define machine_is_iom35x()	(0)
#endif

#ifdef CONFIG_MACH_PSOM_OMAP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PSOM_OMAP
# endif
# define machine_is_psom_omap()	(machine_arch_type == MACH_TYPE_PSOM_OMAP)
#else
# define machine_is_psom_omap()	(0)
#endif

#ifdef CONFIG_MACH_IPHONE_2G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPHONE_2G
# endif
# define machine_is_iphone_2g()	(machine_arch_type == MACH_TYPE_IPHONE_2G)
#else
# define machine_is_iphone_2g()	(0)
#endif

#ifdef CONFIG_MACH_IPHONE_3G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPHONE_3G
# endif
# define machine_is_iphone_3g()	(machine_arch_type == MACH_TYPE_IPHONE_3G)
#else
# define machine_is_iphone_3g()	(0)
#endif

#ifdef CONFIG_MACH_IPOD_TOUCH_1G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPOD_TOUCH_1G
# endif
# define machine_is_ipod_touch_1g()	(machine_arch_type == MACH_TYPE_IPOD_TOUCH_1G)
#else
# define machine_is_ipod_touch_1g()	(0)
#endif

#ifdef CONFIG_MACH_PHAROS_TPC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PHAROS_TPC
# endif
# define machine_is_pharos_tpc()	(machine_arch_type == MACH_TYPE_PHAROS_TPC)
#else
# define machine_is_pharos_tpc()	(0)
#endif

#ifdef CONFIG_MACH_MX53_HYDRA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_HYDRA
# endif
# define machine_is_mx53_hydra()	(machine_arch_type == MACH_TYPE_MX53_HYDRA)
#else
# define machine_is_mx53_hydra()	(0)
#endif

#ifdef CONFIG_MACH_NS2816_DEV_BOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS2816_DEV_BOARD
# endif
# define machine_is_ns2816_dev_board()	(machine_arch_type == MACH_TYPE_NS2816_DEV_BOARD)
#else
# define machine_is_ns2816_dev_board()	(0)
#endif

#ifdef CONFIG_MACH_IPHONE_3GS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPHONE_3GS
# endif
# define machine_is_iphone_3gs()	(machine_arch_type == MACH_TYPE_IPHONE_3GS)
#else
# define machine_is_iphone_3gs()	(0)
#endif

#ifdef CONFIG_MACH_IPHONE_4
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPHONE_4
# endif
# define machine_is_iphone_4()	(machine_arch_type == MACH_TYPE_IPHONE_4)
#else
# define machine_is_iphone_4()	(0)
#endif

#ifdef CONFIG_MACH_IPOD_TOUCH_4G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPOD_TOUCH_4G
# endif
# define machine_is_ipod_touch_4g()	(machine_arch_type == MACH_TYPE_IPOD_TOUCH_4G)
#else
# define machine_is_ipod_touch_4g()	(0)
#endif

#ifdef CONFIG_MACH_DRAGON_E1100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DRAGON_E1100
# endif
# define machine_is_dragon_e1100()	(machine_arch_type == MACH_TYPE_DRAGON_E1100)
#else
# define machine_is_dragon_e1100()	(0)
#endif

#ifdef CONFIG_MACH_TOPSIDE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TOPSIDE
# endif
# define machine_is_topside()	(machine_arch_type == MACH_TYPE_TOPSIDE)
#else
# define machine_is_topside()	(0)
#endif

#ifdef CONFIG_MACH_IRISIII
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IRISIII
# endif
# define machine_is_irisiii()	(machine_arch_type == MACH_TYPE_IRISIII)
#else
# define machine_is_irisiii()	(0)
#endif

#ifdef CONFIG_MACH_DETO_MACARM9
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DETO_MACARM9
# endif
# define machine_is_deto_macarm9()	(machine_arch_type == MACH_TYPE_DETO_MACARM9)
#else
# define machine_is_deto_macarm9()	(0)
#endif

#ifdef CONFIG_MACH_ETI_D1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ETI_D1
# endif
# define machine_is_eti_d1()	(machine_arch_type == MACH_TYPE_ETI_D1)
#else
# define machine_is_eti_d1()	(0)
#endif

#ifdef CONFIG_MACH_SOM3530SDK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SOM3530SDK
# endif
# define machine_is_som3530sdk()	(machine_arch_type == MACH_TYPE_SOM3530SDK)
#else
# define machine_is_som3530sdk()	(0)
#endif

#ifdef CONFIG_MACH_OC_ENGINE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OC_ENGINE
# endif
# define machine_is_oc_engine()	(machine_arch_type == MACH_TYPE_OC_ENGINE)
#else
# define machine_is_oc_engine()	(0)
#endif

#ifdef CONFIG_MACH_APQ8064_SIM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APQ8064_SIM
# endif
# define machine_is_apq8064_sim()	(machine_arch_type == MACH_TYPE_APQ8064_SIM)
#else
# define machine_is_apq8064_sim()	(0)
#endif

#ifdef CONFIG_MACH_ALPS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ALPS
# endif
# define machine_is_alps()	(machine_arch_type == MACH_TYPE_ALPS)
#else
# define machine_is_alps()	(0)
#endif

#ifdef CONFIG_MACH_TNY_T3730
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TNY_T3730
# endif
# define machine_is_tny_t3730()	(machine_arch_type == MACH_TYPE_TNY_T3730)
#else
# define machine_is_tny_t3730()	(0)
#endif

#ifdef CONFIG_MACH_GERYON_NFE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GERYON_NFE
# endif
# define machine_is_geryon_nfe()	(machine_arch_type == MACH_TYPE_GERYON_NFE)
#else
# define machine_is_geryon_nfe()	(0)
#endif

#ifdef CONFIG_MACH_NS2816_REF_BOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS2816_REF_BOARD
# endif
# define machine_is_ns2816_ref_board()	(machine_arch_type == MACH_TYPE_NS2816_REF_BOARD)
#else
# define machine_is_ns2816_ref_board()	(0)
#endif

#ifdef CONFIG_MACH_SILVERSTONE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SILVERSTONE
# endif
# define machine_is_silverstone()	(machine_arch_type == MACH_TYPE_SILVERSTONE)
#else
# define machine_is_silverstone()	(0)
#endif

#ifdef CONFIG_MACH_MTT2440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MTT2440
# endif
# define machine_is_mtt2440()	(machine_arch_type == MACH_TYPE_MTT2440)
#else
# define machine_is_mtt2440()	(0)
#endif

#ifdef CONFIG_MACH_YNICDB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_YNICDB
# endif
# define machine_is_ynicdb()	(machine_arch_type == MACH_TYPE_YNICDB)
#else
# define machine_is_ynicdb()	(0)
#endif

#ifdef CONFIG_MACH_BCT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BCT
# endif
# define machine_is_bct()	(machine_arch_type == MACH_TYPE_BCT)
#else
# define machine_is_bct()	(0)
#endif

#ifdef CONFIG_MACH_TUSCAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TUSCAN
# endif
# define machine_is_tuscan()	(machine_arch_type == MACH_TYPE_TUSCAN)
#else
# define machine_is_tuscan()	(0)
#endif

#ifdef CONFIG_MACH_XBT_SAM9G45
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XBT_SAM9G45
# endif
# define machine_is_xbt_sam9g45()	(machine_arch_type == MACH_TYPE_XBT_SAM9G45)
#else
# define machine_is_xbt_sam9g45()	(0)
#endif

#ifdef CONFIG_MACH_ENBW_CMC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ENBW_CMC
# endif
# define machine_is_enbw_cmc()	(machine_arch_type == MACH_TYPE_ENBW_CMC)
#else
# define machine_is_enbw_cmc()	(0)
#endif

#ifdef CONFIG_MACH_CH104MX257
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CH104MX257
# endif
# define machine_is_ch104mx257()	(machine_arch_type == MACH_TYPE_CH104MX257)
#else
# define machine_is_ch104mx257()	(0)
#endif

#ifdef CONFIG_MACH_OPENPRI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OPENPRI
# endif
# define machine_is_openpri()	(machine_arch_type == MACH_TYPE_OPENPRI)
#else
# define machine_is_openpri()	(0)
#endif

#ifdef CONFIG_MACH_AM335XEVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AM335XEVM
# endif
# define machine_is_am335xevm()	(machine_arch_type == MACH_TYPE_AM335XEVM)
#else
# define machine_is_am335xevm()	(0)
#endif

#ifdef CONFIG_MACH_PICODMB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICODMB
# endif
# define machine_is_picodmb()	(machine_arch_type == MACH_TYPE_PICODMB)
#else
# define machine_is_picodmb()	(0)
#endif

#ifdef CONFIG_MACH_WALUIGI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WALUIGI
# endif
# define machine_is_waluigi()	(machine_arch_type == MACH_TYPE_WALUIGI)
#else
# define machine_is_waluigi()	(0)
#endif

#ifdef CONFIG_MACH_PUNICAG7
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PUNICAG7
# endif
# define machine_is_punicag7()	(machine_arch_type == MACH_TYPE_PUNICAG7)
#else
# define machine_is_punicag7()	(0)
#endif

#ifdef CONFIG_MACH_IPAD_1G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPAD_1G
# endif
# define machine_is_ipad_1g()	(machine_arch_type == MACH_TYPE_IPAD_1G)
#else
# define machine_is_ipad_1g()	(0)
#endif

#ifdef CONFIG_MACH_APPLETV_2G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APPLETV_2G
# endif
# define machine_is_appletv_2g()	(machine_arch_type == MACH_TYPE_APPLETV_2G)
#else
# define machine_is_appletv_2g()	(0)
#endif

#ifdef CONFIG_MACH_MACH_ECOG45
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MACH_ECOG45
# endif
# define machine_is_mach_ecog45()	(machine_arch_type == MACH_TYPE_MACH_ECOG45)
#else
# define machine_is_mach_ecog45()	(0)
#endif

#ifdef CONFIG_MACH_AIT_CAM_ENC_4XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AIT_CAM_ENC_4XX
# endif
# define machine_is_ait_cam_enc_4xx()	(machine_arch_type == MACH_TYPE_AIT_CAM_ENC_4XX)
#else
# define machine_is_ait_cam_enc_4xx()	(0)
#endif

#ifdef CONFIG_MACH_RUNNYMEDE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RUNNYMEDE
# endif
# define machine_is_runnymede()	(machine_arch_type == MACH_TYPE_RUNNYMEDE)
#else
# define machine_is_runnymede()	(0)
#endif

#ifdef CONFIG_MACH_PLAY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PLAY
# endif
# define machine_is_play()	(machine_arch_type == MACH_TYPE_PLAY)
#else
# define machine_is_play()	(0)
#endif

#ifdef CONFIG_MACH_HW90260
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HW90260
# endif
# define machine_is_hw90260()	(machine_arch_type == MACH_TYPE_HW90260)
#else
# define machine_is_hw90260()	(0)
#endif

#ifdef CONFIG_MACH_TAGH
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TAGH
# endif
# define machine_is_tagh()	(machine_arch_type == MACH_TYPE_TAGH)
#else
# define machine_is_tagh()	(0)
#endif

#ifdef CONFIG_MACH_FILBERT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FILBERT
# endif
# define machine_is_filbert()	(machine_arch_type == MACH_TYPE_FILBERT)
#else
# define machine_is_filbert()	(0)
#endif

#ifdef CONFIG_MACH_GETINGE_NETCOMV3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GETINGE_NETCOMV3
# endif
# define machine_is_getinge_netcomv3()	(machine_arch_type == MACH_TYPE_GETINGE_NETCOMV3)
#else
# define machine_is_getinge_netcomv3()	(0)
#endif

#ifdef CONFIG_MACH_CW20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CW20
# endif
# define machine_is_cw20()	(machine_arch_type == MACH_TYPE_CW20)
#else
# define machine_is_cw20()	(0)
#endif

#ifdef CONFIG_MACH_CINEMA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CINEMA
# endif
# define machine_is_cinema()	(machine_arch_type == MACH_TYPE_CINEMA)
#else
# define machine_is_cinema()	(0)
#endif

#ifdef CONFIG_MACH_CINEMA_TEA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CINEMA_TEA
# endif
# define machine_is_cinema_tea()	(machine_arch_type == MACH_TYPE_CINEMA_TEA)
#else
# define machine_is_cinema_tea()	(0)
#endif

#ifdef CONFIG_MACH_CINEMA_COFFEE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CINEMA_COFFEE
# endif
# define machine_is_cinema_coffee()	(machine_arch_type == MACH_TYPE_CINEMA_COFFEE)
#else
# define machine_is_cinema_coffee()	(0)
#endif

#ifdef CONFIG_MACH_CINEMA_JUICE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CINEMA_JUICE
# endif
# define machine_is_cinema_juice()	(machine_arch_type == MACH_TYPE_CINEMA_JUICE)
#else
# define machine_is_cinema_juice()	(0)
#endif

#ifdef CONFIG_MACH_MX53_MIRAGE2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_MIRAGE2
# endif
# define machine_is_mx53_mirage2()	(machine_arch_type == MACH_TYPE_MX53_MIRAGE2)
#else
# define machine_is_mx53_mirage2()	(0)
#endif

#ifdef CONFIG_MACH_MX53_EFIKASB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_EFIKASB
# endif
# define machine_is_mx53_efikasb()	(machine_arch_type == MACH_TYPE_MX53_EFIKASB)
#else
# define machine_is_mx53_efikasb()	(0)
#endif

#ifdef CONFIG_MACH_STM_B2000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STM_B2000
# endif
# define machine_is_stm_b2000()	(machine_arch_type == MACH_TYPE_STM_B2000)
#else
# define machine_is_stm_b2000()	(0)
#endif

#ifdef CONFIG_MACH_M28EVK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_M28EVK
# endif
# define machine_is_m28evk()	(machine_arch_type == MACH_TYPE_M28EVK)
#else
# define machine_is_m28evk()	(0)
#endif

#ifdef CONFIG_MACH_PDA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PDA
# endif
# define machine_is_pda()	(machine_arch_type == MACH_TYPE_PDA)
#else
# define machine_is_pda()	(0)
#endif

#ifdef CONFIG_MACH_MERAKI_MR58
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MERAKI_MR58
# endif
# define machine_is_meraki_mr58()	(machine_arch_type == MACH_TYPE_MERAKI_MR58)
#else
# define machine_is_meraki_mr58()	(0)
#endif

#ifdef CONFIG_MACH_KOTA2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KOTA2
# endif
# define machine_is_kota2()	(machine_arch_type == MACH_TYPE_KOTA2)
#else
# define machine_is_kota2()	(0)
#endif

#ifdef CONFIG_MACH_LETCOOL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LETCOOL
# endif
# define machine_is_letcool()	(machine_arch_type == MACH_TYPE_LETCOOL)
#else
# define machine_is_letcool()	(0)
#endif

#ifdef CONFIG_MACH_MX27IAT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX27IAT
# endif
# define machine_is_mx27iat()	(machine_arch_type == MACH_TYPE_MX27IAT)
#else
# define machine_is_mx27iat()	(0)
#endif

#ifdef CONFIG_MACH_APOLLO_TD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APOLLO_TD
# endif
# define machine_is_apollo_td()	(machine_arch_type == MACH_TYPE_APOLLO_TD)
#else
# define machine_is_apollo_td()	(0)
#endif

#ifdef CONFIG_MACH_ARENA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARENA
# endif
# define machine_is_arena()	(machine_arch_type == MACH_TYPE_ARENA)
#else
# define machine_is_arena()	(0)
#endif

#ifdef CONFIG_MACH_GSNGATEWAY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GSNGATEWAY
# endif
# define machine_is_gsngateway()	(machine_arch_type == MACH_TYPE_GSNGATEWAY)
#else
# define machine_is_gsngateway()	(0)
#endif

#ifdef CONFIG_MACH_LF2000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LF2000
# endif
# define machine_is_lf2000()	(machine_arch_type == MACH_TYPE_LF2000)
#else
# define machine_is_lf2000()	(0)
#endif

#ifdef CONFIG_MACH_BONITO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BONITO
# endif
# define machine_is_bonito()	(machine_arch_type == MACH_TYPE_BONITO)
#else
# define machine_is_bonito()	(0)
#endif

#ifdef CONFIG_MACH_ASYMPTOTE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ASYMPTOTE
# endif
# define machine_is_asymptote()	(machine_arch_type == MACH_TYPE_ASYMPTOTE)
#else
# define machine_is_asymptote()	(0)
#endif

#ifdef CONFIG_MACH_BST2BRD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BST2BRD
# endif
# define machine_is_bst2brd()	(machine_arch_type == MACH_TYPE_BST2BRD)
#else
# define machine_is_bst2brd()	(0)
#endif

#ifdef CONFIG_MACH_TX335S
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TX335S
# endif
# define machine_is_tx335s()	(machine_arch_type == MACH_TYPE_TX335S)
#else
# define machine_is_tx335s()	(0)
#endif

#ifdef CONFIG_MACH_PELCO_TESLA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PELCO_TESLA
# endif
# define machine_is_pelco_tesla()	(machine_arch_type == MACH_TYPE_PELCO_TESLA)
#else
# define machine_is_pelco_tesla()	(0)
#endif

#ifdef CONFIG_MACH_RRHTESTPLAT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RRHTESTPLAT
# endif
# define machine_is_rrhtestplat()	(machine_arch_type == MACH_TYPE_RRHTESTPLAT)
#else
# define machine_is_rrhtestplat()	(0)
#endif

#ifdef CONFIG_MACH_VIDTONIC_PRO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VIDTONIC_PRO
# endif
# define machine_is_vidtonic_pro()	(machine_arch_type == MACH_TYPE_VIDTONIC_PRO)
#else
# define machine_is_vidtonic_pro()	(0)
#endif

#ifdef CONFIG_MACH_PL_APOLLO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PL_APOLLO
# endif
# define machine_is_pl_apollo()	(machine_arch_type == MACH_TYPE_PL_APOLLO)
#else
# define machine_is_pl_apollo()	(0)
#endif

#ifdef CONFIG_MACH_PL_PHOENIX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PL_PHOENIX
# endif
# define machine_is_pl_phoenix()	(machine_arch_type == MACH_TYPE_PL_PHOENIX)
#else
# define machine_is_pl_phoenix()	(0)
#endif

#ifdef CONFIG_MACH_M28CU3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_M28CU3
# endif
# define machine_is_m28cu3()	(machine_arch_type == MACH_TYPE_M28CU3)
#else
# define machine_is_m28cu3()	(0)
#endif

#ifdef CONFIG_MACH_VVBOX_HD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VVBOX_HD
# endif
# define machine_is_vvbox_hd()	(machine_arch_type == MACH_TYPE_VVBOX_HD)
#else
# define machine_is_vvbox_hd()	(0)
#endif

#ifdef CONFIG_MACH_COREWARE_SAM9260_
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COREWARE_SAM9260_
# endif
# define machine_is_coreware_sam9260_()	(machine_arch_type == MACH_TYPE_COREWARE_SAM9260_)
#else
# define machine_is_coreware_sam9260_()	(0)
#endif

#ifdef CONFIG_MACH_MARMADUKE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MARMADUKE
# endif
# define machine_is_marmaduke()	(machine_arch_type == MACH_TYPE_MARMADUKE)
#else
# define machine_is_marmaduke()	(0)
#endif

#ifdef CONFIG_MACH_AMG_XLCORE_CAMERA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AMG_XLCORE_CAMERA
# endif
# define machine_is_amg_xlcore_camera()	(machine_arch_type == MACH_TYPE_AMG_XLCORE_CAMERA)
#else
# define machine_is_amg_xlcore_camera()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_EGF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_EGF
# endif
# define machine_is_omap3_egf()	(machine_arch_type == MACH_TYPE_OMAP3_EGF)
#else
# define machine_is_omap3_egf()	(0)
#endif

#ifdef CONFIG_MACH_SMDK4212
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK4212
# endif
# define machine_is_smdk4212()	(machine_arch_type == MACH_TYPE_SMDK4212)
#else
# define machine_is_smdk4212()	(0)
#endif

#ifdef CONFIG_MACH_DNP9200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DNP9200
# endif
# define machine_is_dnp9200()	(machine_arch_type == MACH_TYPE_DNP9200)
#else
# define machine_is_dnp9200()	(0)
#endif

#ifdef CONFIG_MACH_TF101
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TF101
# endif
# define machine_is_tf101()	(machine_arch_type == MACH_TYPE_TF101)
#else
# define machine_is_tf101()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3SILVIO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3SILVIO
# endif
# define machine_is_omap3silvio()	(machine_arch_type == MACH_TYPE_OMAP3SILVIO)
#else
# define machine_is_omap3silvio()	(0)
#endif

#ifdef CONFIG_MACH_PICASSO2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICASSO2
# endif
# define machine_is_picasso2()	(machine_arch_type == MACH_TYPE_PICASSO2)
#else
# define machine_is_picasso2()	(0)
#endif

#ifdef CONFIG_MACH_VANGOGH2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VANGOGH2
# endif
# define machine_is_vangogh2()	(machine_arch_type == MACH_TYPE_VANGOGH2)
#else
# define machine_is_vangogh2()	(0)
#endif

#ifdef CONFIG_MACH_OLPC_XO_1_75
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OLPC_XO_1_75
# endif
# define machine_is_olpc_xo_1_75()	(machine_arch_type == MACH_TYPE_OLPC_XO_1_75)
#else
# define machine_is_olpc_xo_1_75()	(0)
#endif

#ifdef CONFIG_MACH_GX400
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GX400
# endif
# define machine_is_gx400()	(machine_arch_type == MACH_TYPE_GX400)
#else
# define machine_is_gx400()	(0)
#endif

#ifdef CONFIG_MACH_GS300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GS300
# endif
# define machine_is_gs300()	(machine_arch_type == MACH_TYPE_GS300)
#else
# define machine_is_gs300()	(0)
#endif

#ifdef CONFIG_MACH_ACER_A9
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACER_A9
# endif
# define machine_is_acer_a9()	(machine_arch_type == MACH_TYPE_ACER_A9)
#else
# define machine_is_acer_a9()	(0)
#endif

#ifdef CONFIG_MACH_VIVOW_EVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VIVOW_EVM
# endif
# define machine_is_vivow_evm()	(machine_arch_type == MACH_TYPE_VIVOW_EVM)
#else
# define machine_is_vivow_evm()	(0)
#endif

#ifdef CONFIG_MACH_VELOCE_CXQ
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VELOCE_CXQ
# endif
# define machine_is_veloce_cxq()	(machine_arch_type == MACH_TYPE_VELOCE_CXQ)
#else
# define machine_is_veloce_cxq()	(0)
#endif

#ifdef CONFIG_MACH_VELOCE_CXM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VELOCE_CXM
# endif
# define machine_is_veloce_cxm()	(machine_arch_type == MACH_TYPE_VELOCE_CXM)
#else
# define machine_is_veloce_cxm()	(0)
#endif

#ifdef CONFIG_MACH_P1852
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_P1852
# endif
# define machine_is_p1852()	(machine_arch_type == MACH_TYPE_P1852)
#else
# define machine_is_p1852()	(0)
#endif

#ifdef CONFIG_MACH_NAXY100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NAXY100
# endif
# define machine_is_naxy100()	(machine_arch_type == MACH_TYPE_NAXY100)
#else
# define machine_is_naxy100()	(0)
#endif

#ifdef CONFIG_MACH_TAISHAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TAISHAN
# endif
# define machine_is_taishan()	(machine_arch_type == MACH_TYPE_TAISHAN)
#else
# define machine_is_taishan()	(0)
#endif

#ifdef CONFIG_MACH_TOUCHLINK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TOUCHLINK
# endif
# define machine_is_touchlink()	(machine_arch_type == MACH_TYPE_TOUCHLINK)
#else
# define machine_is_touchlink()	(0)
#endif

#ifdef CONFIG_MACH_STM32F103ZE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STM32F103ZE
# endif
# define machine_is_stm32f103ze()	(machine_arch_type == MACH_TYPE_STM32F103ZE)
#else
# define machine_is_stm32f103ze()	(0)
#endif

#ifdef CONFIG_MACH_MCX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MCX
# endif
# define machine_is_mcx()	(machine_arch_type == MACH_TYPE_MCX)
#else
# define machine_is_mcx()	(0)
#endif

#ifdef CONFIG_MACH_STM_NMHDK_FLI7610
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STM_NMHDK_FLI7610
# endif
# define machine_is_stm_nmhdk_fli7610()	(machine_arch_type == MACH_TYPE_STM_NMHDK_FLI7610)
#else
# define machine_is_stm_nmhdk_fli7610()	(0)
#endif

#ifdef CONFIG_MACH_TOP28X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TOP28X
# endif
# define machine_is_top28x()	(machine_arch_type == MACH_TYPE_TOP28X)
#else
# define machine_is_top28x()	(0)
#endif

#ifdef CONFIG_MACH_OKL4VP_MICROVISOR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OKL4VP_MICROVISOR
# endif
# define machine_is_okl4vp_microvisor()	(machine_arch_type == MACH_TYPE_OKL4VP_MICROVISOR)
#else
# define machine_is_okl4vp_microvisor()	(0)
#endif

#ifdef CONFIG_MACH_POP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POP
# endif
# define machine_is_pop()	(machine_arch_type == MACH_TYPE_POP)
#else
# define machine_is_pop()	(0)
#endif

#ifdef CONFIG_MACH_LAYER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LAYER
# endif
# define machine_is_layer()	(machine_arch_type == MACH_TYPE_LAYER)
#else
# define machine_is_layer()	(0)
#endif

#ifdef CONFIG_MACH_TRONDHEIM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRONDHEIM
# endif
# define machine_is_trondheim()	(machine_arch_type == MACH_TYPE_TRONDHEIM)
#else
# define machine_is_trondheim()	(0)
#endif

#ifdef CONFIG_MACH_EVA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EVA
# endif
# define machine_is_eva()	(machine_arch_type == MACH_TYPE_EVA)
#else
# define machine_is_eva()	(0)
#endif

#ifdef CONFIG_MACH_TRUST_TAURUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRUST_TAURUS
# endif
# define machine_is_trust_taurus()	(machine_arch_type == MACH_TYPE_TRUST_TAURUS)
#else
# define machine_is_trust_taurus()	(0)
#endif

#ifdef CONFIG_MACH_NS2816_HUASHAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS2816_HUASHAN
# endif
# define machine_is_ns2816_huashan()	(machine_arch_type == MACH_TYPE_NS2816_HUASHAN)
#else
# define machine_is_ns2816_huashan()	(0)
#endif

#ifdef CONFIG_MACH_NS2816_YANGCHENG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS2816_YANGCHENG
# endif
# define machine_is_ns2816_yangcheng()	(machine_arch_type == MACH_TYPE_NS2816_YANGCHENG)
#else
# define machine_is_ns2816_yangcheng()	(0)
#endif

#ifdef CONFIG_MACH_P852
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_P852
# endif
# define machine_is_p852()	(machine_arch_type == MACH_TYPE_P852)
#else
# define machine_is_p852()	(0)
#endif

#ifdef CONFIG_MACH_FLEA3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FLEA3
# endif
# define machine_is_flea3()	(machine_arch_type == MACH_TYPE_FLEA3)
#else
# define machine_is_flea3()	(0)
#endif

#ifdef CONFIG_MACH_BOWFIN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BOWFIN
# endif
# define machine_is_bowfin()	(machine_arch_type == MACH_TYPE_BOWFIN)
#else
# define machine_is_bowfin()	(0)
#endif

#ifdef CONFIG_MACH_MV88DE3100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MV88DE3100
# endif
# define machine_is_mv88de3100()	(machine_arch_type == MACH_TYPE_MV88DE3100)
#else
# define machine_is_mv88de3100()	(0)
#endif

#ifdef CONFIG_MACH_PIA_AM35X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PIA_AM35X
# endif
# define machine_is_pia_am35x()	(machine_arch_type == MACH_TYPE_PIA_AM35X)
#else
# define machine_is_pia_am35x()	(0)
#endif

#ifdef CONFIG_MACH_CEDAR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CEDAR
# endif
# define machine_is_cedar()	(machine_arch_type == MACH_TYPE_CEDAR)
#else
# define machine_is_cedar()	(0)
#endif

#ifdef CONFIG_MACH_PICASSO_E
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICASSO_E
# endif
# define machine_is_picasso_e()	(machine_arch_type == MACH_TYPE_PICASSO_E)
#else
# define machine_is_picasso_e()	(0)
#endif

#ifdef CONFIG_MACH_SAMSUNG_E60
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SAMSUNG_E60
# endif
# define machine_is_samsung_e60()	(machine_arch_type == MACH_TYPE_SAMSUNG_E60)
#else
# define machine_is_samsung_e60()	(0)
#endif

#ifdef CONFIG_MACH_SDVR_MINI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SDVR_MINI
# endif
# define machine_is_sdvr_mini()	(machine_arch_type == MACH_TYPE_SDVR_MINI)
#else
# define machine_is_sdvr_mini()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_IJ3K
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_IJ3K
# endif
# define machine_is_omap3_ij3k()	(machine_arch_type == MACH_TYPE_OMAP3_IJ3K)
#else
# define machine_is_omap3_ij3k()	(0)
#endif

#ifdef CONFIG_MACH_MODASMC1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MODASMC1
# endif
# define machine_is_modasmc1()	(machine_arch_type == MACH_TYPE_MODASMC1)
#else
# define machine_is_modasmc1()	(0)
#endif

#ifdef CONFIG_MACH_APQ8064_RUMI3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APQ8064_RUMI3
# endif
# define machine_is_apq8064_rumi3()	(machine_arch_type == MACH_TYPE_APQ8064_RUMI3)
#else
# define machine_is_apq8064_rumi3()	(0)
#endif

#ifdef CONFIG_MACH_MATRIX506
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MATRIX506
# endif
# define machine_is_matrix506()	(machine_arch_type == MACH_TYPE_MATRIX506)
#else
# define machine_is_matrix506()	(0)
#endif

#ifdef CONFIG_MACH_MSM9615_MTP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM9615_MTP
# endif
# define machine_is_msm9615_mtp()	(machine_arch_type == MACH_TYPE_MSM9615_MTP)
#else
# define machine_is_msm9615_mtp()	(0)
#endif

#ifdef CONFIG_MACH_DM36X_SPAWNDC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DM36X_SPAWNDC
# endif
# define machine_is_dm36x_spawndc()	(machine_arch_type == MACH_TYPE_DM36X_SPAWNDC)
#else
# define machine_is_dm36x_spawndc()	(0)
#endif

#ifdef CONFIG_MACH_SFF792
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SFF792
# endif
# define machine_is_sff792()	(machine_arch_type == MACH_TYPE_SFF792)
#else
# define machine_is_sff792()	(0)
#endif

#ifdef CONFIG_MACH_AM335XIAEVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AM335XIAEVM
# endif
# define machine_is_am335xiaevm()	(machine_arch_type == MACH_TYPE_AM335XIAEVM)
#else
# define machine_is_am335xiaevm()	(0)
#endif

#ifdef CONFIG_MACH_G3C2440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_G3C2440
# endif
# define machine_is_g3c2440()	(machine_arch_type == MACH_TYPE_G3C2440)
#else
# define machine_is_g3c2440()	(0)
#endif

#ifdef CONFIG_MACH_TION270
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TION270
# endif
# define machine_is_tion270()	(machine_arch_type == MACH_TYPE_TION270)
#else
# define machine_is_tion270()	(0)
#endif

#ifdef CONFIG_MACH_W22Q7ARM02
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_W22Q7ARM02
# endif
# define machine_is_w22q7arm02()	(machine_arch_type == MACH_TYPE_W22Q7ARM02)
#else
# define machine_is_w22q7arm02()	(0)
#endif

#ifdef CONFIG_MACH_OMAP_CAT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP_CAT
# endif
# define machine_is_omap_cat()	(machine_arch_type == MACH_TYPE_OMAP_CAT)
#else
# define machine_is_omap_cat()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9N12EK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9N12EK
# endif
# define machine_is_at91sam9n12ek()	(machine_arch_type == MACH_TYPE_AT91SAM9N12EK)
#else
# define machine_is_at91sam9n12ek()	(0)
#endif

#ifdef CONFIG_MACH_MORRISON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MORRISON
# endif
# define machine_is_morrison()	(machine_arch_type == MACH_TYPE_MORRISON)
#else
# define machine_is_morrison()	(0)
#endif

#ifdef CONFIG_MACH_SVDU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SVDU
# endif
# define machine_is_svdu()	(machine_arch_type == MACH_TYPE_SVDU)
#else
# define machine_is_svdu()	(0)
#endif

#ifdef CONFIG_MACH_LPP01
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LPP01
# endif
# define machine_is_lpp01()	(machine_arch_type == MACH_TYPE_LPP01)
#else
# define machine_is_lpp01()	(0)
#endif

#ifdef CONFIG_MACH_UBC283
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_UBC283
# endif
# define machine_is_ubc283()	(machine_arch_type == MACH_TYPE_UBC283)
#else
# define machine_is_ubc283()	(0)
#endif

#ifdef CONFIG_MACH_ZEPPELIN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ZEPPELIN
# endif
# define machine_is_zeppelin()	(machine_arch_type == MACH_TYPE_ZEPPELIN)
#else
# define machine_is_zeppelin()	(0)
#endif

#ifdef CONFIG_MACH_MOTUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MOTUS
# endif
# define machine_is_motus()	(machine_arch_type == MACH_TYPE_MOTUS)
#else
# define machine_is_motus()	(0)
#endif

#ifdef CONFIG_MACH_NEOMAINBOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NEOMAINBOARD
# endif
# define machine_is_neomainboard()	(machine_arch_type == MACH_TYPE_NEOMAINBOARD)
#else
# define machine_is_neomainboard()	(0)
#endif

#ifdef CONFIG_MACH_DEVKIT3250
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DEVKIT3250
# endif
# define machine_is_devkit3250()	(machine_arch_type == MACH_TYPE_DEVKIT3250)
#else
# define machine_is_devkit3250()	(0)
#endif

#ifdef CONFIG_MACH_DEVKIT7000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DEVKIT7000
# endif
# define machine_is_devkit7000()	(machine_arch_type == MACH_TYPE_DEVKIT7000)
#else
# define machine_is_devkit7000()	(0)
#endif

#ifdef CONFIG_MACH_FMC_UIC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FMC_UIC
# endif
# define machine_is_fmc_uic()	(machine_arch_type == MACH_TYPE_FMC_UIC)
#else
# define machine_is_fmc_uic()	(0)
#endif

#ifdef CONFIG_MACH_FMC_DCM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FMC_DCM
# endif
# define machine_is_fmc_dcm()	(machine_arch_type == MACH_TYPE_FMC_DCM)
#else
# define machine_is_fmc_dcm()	(0)
#endif

#ifdef CONFIG_MACH_BATWM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BATWM
# endif
# define machine_is_batwm()	(machine_arch_type == MACH_TYPE_BATWM)
#else
# define machine_is_batwm()	(0)
#endif

#ifdef CONFIG_MACH_ATLAS6CB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ATLAS6CB
# endif
# define machine_is_atlas6cb()	(machine_arch_type == MACH_TYPE_ATLAS6CB)
#else
# define machine_is_atlas6cb()	(0)
#endif

#ifdef CONFIG_MACH_BLUE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BLUE
# endif
# define machine_is_blue()	(machine_arch_type == MACH_TYPE_BLUE)
#else
# define machine_is_blue()	(0)
#endif

#ifdef CONFIG_MACH_COLORADO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COLORADO
# endif
# define machine_is_colorado()	(machine_arch_type == MACH_TYPE_COLORADO)
#else
# define machine_is_colorado()	(0)
#endif

#ifdef CONFIG_MACH_POPC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POPC
# endif
# define machine_is_popc()	(machine_arch_type == MACH_TYPE_POPC)
#else
# define machine_is_popc()	(0)
#endif

#ifdef CONFIG_MACH_PROMWAD_JADE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PROMWAD_JADE
# endif
# define machine_is_promwad_jade()	(machine_arch_type == MACH_TYPE_PROMWAD_JADE)
#else
# define machine_is_promwad_jade()	(0)
#endif

#ifdef CONFIG_MACH_AMP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AMP
# endif
# define machine_is_amp()	(machine_arch_type == MACH_TYPE_AMP)
#else
# define machine_is_amp()	(0)
#endif

#ifdef CONFIG_MACH_GNET_AMP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GNET_AMP
# endif
# define machine_is_gnet_amp()	(machine_arch_type == MACH_TYPE_GNET_AMP)
#else
# define machine_is_gnet_amp()	(0)
#endif

#ifdef CONFIG_MACH_TOQUES
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TOQUES
# endif
# define machine_is_toques()	(machine_arch_type == MACH_TYPE_TOQUES)
#else
# define machine_is_toques()	(0)
#endif

#ifdef CONFIG_MACH_APX4DEVKIT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APX4DEVKIT
# endif
# define machine_is_apx4devkit()	(machine_arch_type == MACH_TYPE_APX4DEVKIT)
#else
# define machine_is_apx4devkit()	(0)
#endif

#ifdef CONFIG_MACH_DCT_STORM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DCT_STORM
# endif
# define machine_is_dct_storm()	(machine_arch_type == MACH_TYPE_DCT_STORM)
#else
# define machine_is_dct_storm()	(0)
#endif

#ifdef CONFIG_MACH_OWL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OWL
# endif
# define machine_is_owl()	(machine_arch_type == MACH_TYPE_OWL)
#else
# define machine_is_owl()	(0)
#endif

#ifdef CONFIG_MACH_COGENT_CSB1741
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COGENT_CSB1741
# endif
# define machine_is_cogent_csb1741()	(machine_arch_type == MACH_TYPE_COGENT_CSB1741)
#else
# define machine_is_cogent_csb1741()	(0)
#endif

#ifdef CONFIG_MACH_ADILLUSTRA610
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ADILLUSTRA610
# endif
# define machine_is_adillustra610()	(machine_arch_type == MACH_TYPE_ADILLUSTRA610)
#else
# define machine_is_adillustra610()	(0)
#endif

#ifdef CONFIG_MACH_ECAFE_NA04
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ECAFE_NA04
# endif
# define machine_is_ecafe_na04()	(machine_arch_type == MACH_TYPE_ECAFE_NA04)
#else
# define machine_is_ecafe_na04()	(0)
#endif

#ifdef CONFIG_MACH_POPCT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POPCT
# endif
# define machine_is_popct()	(machine_arch_type == MACH_TYPE_POPCT)
#else
# define machine_is_popct()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_HELENA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_HELENA
# endif
# define machine_is_omap3_helena()	(machine_arch_type == MACH_TYPE_OMAP3_HELENA)
#else
# define machine_is_omap3_helena()	(0)
#endif

#ifdef CONFIG_MACH_ACH
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACH
# endif
# define machine_is_ach()	(machine_arch_type == MACH_TYPE_ACH)
#else
# define machine_is_ach()	(0)
#endif

#ifdef CONFIG_MACH_MODULE_DTB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MODULE_DTB
# endif
# define machine_is_module_dtb()	(machine_arch_type == MACH_TYPE_MODULE_DTB)
#else
# define machine_is_module_dtb()	(0)
#endif

#ifdef CONFIG_MACH_OSLO_ELISABETH
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OSLO_ELISABETH
# endif
# define machine_is_oslo_elisabeth()	(machine_arch_type == MACH_TYPE_OSLO_ELISABETH)
#else
# define machine_is_oslo_elisabeth()	(0)
#endif

#ifdef CONFIG_MACH_TT01
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TT01
# endif
# define machine_is_tt01()	(machine_arch_type == MACH_TYPE_TT01)
#else
# define machine_is_tt01()	(0)
#endif

#ifdef CONFIG_MACH_MSM8930_CDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8930_CDP
# endif
# define machine_is_msm8930_cdp()	(machine_arch_type == MACH_TYPE_MSM8930_CDP)
#else
# define machine_is_msm8930_cdp()	(0)
#endif

#ifdef CONFIG_MACH_MSM8930_MTP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8930_MTP
# endif
# define machine_is_msm8930_mtp()	(machine_arch_type == MACH_TYPE_MSM8930_MTP)
#else
# define machine_is_msm8930_mtp()	(0)
#endif

#ifdef CONFIG_MACH_MSM8930_FLUID
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8930_FLUID
# endif
# define machine_is_msm8930_fluid()	(machine_arch_type == MACH_TYPE_MSM8930_FLUID)
#else
# define machine_is_msm8930_fluid()	(0)
#endif

#ifdef CONFIG_MACH_LTU11
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LTU11
# endif
# define machine_is_ltu11()	(machine_arch_type == MACH_TYPE_LTU11)
#else
# define machine_is_ltu11()	(0)
#endif

#ifdef CONFIG_MACH_AM1808_SPAWNCO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AM1808_SPAWNCO
# endif
# define machine_is_am1808_spawnco()	(machine_arch_type == MACH_TYPE_AM1808_SPAWNCO)
#else
# define machine_is_am1808_spawnco()	(0)
#endif

#ifdef CONFIG_MACH_FLX6410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FLX6410
# endif
# define machine_is_flx6410()	(machine_arch_type == MACH_TYPE_FLX6410)
#else
# define machine_is_flx6410()	(0)
#endif

#ifdef CONFIG_MACH_MX6Q_QSB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6Q_QSB
# endif
# define machine_is_mx6q_qsb()	(machine_arch_type == MACH_TYPE_MX6Q_QSB)
#else
# define machine_is_mx6q_qsb()	(0)
#endif

#ifdef CONFIG_MACH_MX53_PLT424
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_PLT424
# endif
# define machine_is_mx53_plt424()	(machine_arch_type == MACH_TYPE_MX53_PLT424)
#else
# define machine_is_mx53_plt424()	(0)
#endif

#ifdef CONFIG_MACH_JASMINE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_JASMINE
# endif
# define machine_is_jasmine()	(machine_arch_type == MACH_TYPE_JASMINE)
#else
# define machine_is_jasmine()	(0)
#endif

#ifdef CONFIG_MACH_L138_OWLBOARD_PLUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_L138_OWLBOARD_PLUS
# endif
# define machine_is_l138_owlboard_plus()	(machine_arch_type == MACH_TYPE_L138_OWLBOARD_PLUS)
#else
# define machine_is_l138_owlboard_plus()	(0)
#endif

#ifdef CONFIG_MACH_WR21
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WR21
# endif
# define machine_is_wr21()	(machine_arch_type == MACH_TYPE_WR21)
#else
# define machine_is_wr21()	(0)
#endif

#ifdef CONFIG_MACH_PEABOY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PEABOY
# endif
# define machine_is_peaboy()	(machine_arch_type == MACH_TYPE_PEABOY)
#else
# define machine_is_peaboy()	(0)
#endif

#ifdef CONFIG_MACH_MX28_PLATO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX28_PLATO
# endif
# define machine_is_mx28_plato()	(machine_arch_type == MACH_TYPE_MX28_PLATO)
#else
# define machine_is_mx28_plato()	(0)
#endif

#ifdef CONFIG_MACH_KACOM2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KACOM2
# endif
# define machine_is_kacom2()	(machine_arch_type == MACH_TYPE_KACOM2)
#else
# define machine_is_kacom2()	(0)
#endif

#ifdef CONFIG_MACH_SLCO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SLCO
# endif
# define machine_is_slco()	(machine_arch_type == MACH_TYPE_SLCO)
#else
# define machine_is_slco()	(0)
#endif

#ifdef CONFIG_MACH_IMX51PICO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMX51PICO
# endif
# define machine_is_imx51pico()	(machine_arch_type == MACH_TYPE_IMX51PICO)
#else
# define machine_is_imx51pico()	(0)
#endif

#ifdef CONFIG_MACH_GLINK1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GLINK1
# endif
# define machine_is_glink1()	(machine_arch_type == MACH_TYPE_GLINK1)
#else
# define machine_is_glink1()	(0)
#endif

#ifdef CONFIG_MACH_DIAMOND
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DIAMOND
# endif
# define machine_is_diamond()	(machine_arch_type == MACH_TYPE_DIAMOND)
#else
# define machine_is_diamond()	(0)
#endif

#ifdef CONFIG_MACH_D9000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_D9000
# endif
# define machine_is_d9000()	(machine_arch_type == MACH_TYPE_D9000)
#else
# define machine_is_d9000()	(0)
#endif

#ifdef CONFIG_MACH_W5300E01
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_W5300E01
# endif
# define machine_is_w5300e01()	(machine_arch_type == MACH_TYPE_W5300E01)
#else
# define machine_is_w5300e01()	(0)
#endif

#ifdef CONFIG_MACH_IM6000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IM6000
# endif
# define machine_is_im6000()	(machine_arch_type == MACH_TYPE_IM6000)
#else
# define machine_is_im6000()	(0)
#endif

#ifdef CONFIG_MACH_MX51_FRED51
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX51_FRED51
# endif
# define machine_is_mx51_fred51()	(machine_arch_type == MACH_TYPE_MX51_FRED51)
#else
# define machine_is_mx51_fred51()	(0)
#endif

#ifdef CONFIG_MACH_STM32F2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STM32F2
# endif
# define machine_is_stm32f2()	(machine_arch_type == MACH_TYPE_STM32F2)
#else
# define machine_is_stm32f2()	(0)
#endif

#ifdef CONFIG_MACH_VILLE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VILLE
# endif
# define machine_is_ville()	(machine_arch_type == MACH_TYPE_VILLE)
#else
# define machine_is_ville()	(0)
#endif

#ifdef CONFIG_MACH_PTIP_MURNAU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PTIP_MURNAU
# endif
# define machine_is_ptip_murnau()	(machine_arch_type == MACH_TYPE_PTIP_MURNAU)
#else
# define machine_is_ptip_murnau()	(0)
#endif

#ifdef CONFIG_MACH_PTIP_CLASSIC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PTIP_CLASSIC
# endif
# define machine_is_ptip_classic()	(machine_arch_type == MACH_TYPE_PTIP_CLASSIC)
#else
# define machine_is_ptip_classic()	(0)
#endif

#ifdef CONFIG_MACH_MX53GRB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53GRB
# endif
# define machine_is_mx53grb()	(machine_arch_type == MACH_TYPE_MX53GRB)
#else
# define machine_is_mx53grb()	(0)
#endif

#ifdef CONFIG_MACH_GAGARIN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GAGARIN
# endif
# define machine_is_gagarin()	(machine_arch_type == MACH_TYPE_GAGARIN)
#else
# define machine_is_gagarin()	(0)
#endif

#ifdef CONFIG_MACH_NAS2BIG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NAS2BIG
# endif
# define machine_is_nas2big()	(machine_arch_type == MACH_TYPE_NAS2BIG)
#else
# define machine_is_nas2big()	(0)
#endif

#ifdef CONFIG_MACH_SUPERFEMTO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SUPERFEMTO
# endif
# define machine_is_superfemto()	(machine_arch_type == MACH_TYPE_SUPERFEMTO)
#else
# define machine_is_superfemto()	(0)
#endif

#ifdef CONFIG_MACH_TEUFEL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TEUFEL
# endif
# define machine_is_teufel()	(machine_arch_type == MACH_TYPE_TEUFEL)
#else
# define machine_is_teufel()	(0)
#endif

#ifdef CONFIG_MACH_DINARA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DINARA
# endif
# define machine_is_dinara()	(machine_arch_type == MACH_TYPE_DINARA)
#else
# define machine_is_dinara()	(0)
#endif

#ifdef CONFIG_MACH_VANQUISH
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VANQUISH
# endif
# define machine_is_vanquish()	(machine_arch_type == MACH_TYPE_VANQUISH)
#else
# define machine_is_vanquish()	(0)
#endif

#ifdef CONFIG_MACH_ZIPABOX1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ZIPABOX1
# endif
# define machine_is_zipabox1()	(machine_arch_type == MACH_TYPE_ZIPABOX1)
#else
# define machine_is_zipabox1()	(0)
#endif

#ifdef CONFIG_MACH_U9540
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_U9540
# endif
# define machine_is_u9540()	(machine_arch_type == MACH_TYPE_U9540)
#else
# define machine_is_u9540()	(0)
#endif

#ifdef CONFIG_MACH_JET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_JET
# endif
# define machine_is_jet()	(machine_arch_type == MACH_TYPE_JET)
#else
# define machine_is_jet()	(0)
#endif

#ifdef CONFIG_MACH_SMDK4412
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK4412
# endif
# define machine_is_smdk4412()	(machine_arch_type == MACH_TYPE_SMDK4412)
#else
# define machine_is_smdk4412()	(0)
#endif

#ifdef CONFIG_MACH_ELITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ELITE
# endif
# define machine_is_elite()	(machine_arch_type == MACH_TYPE_ELITE)
#else
# define machine_is_elite()	(0)
#endif

#ifdef CONFIG_MACH_SPEAR320_HMI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPEAR320_HMI
# endif
# define machine_is_spear320_hmi()	(machine_arch_type == MACH_TYPE_SPEAR320_HMI)
#else
# define machine_is_spear320_hmi()	(0)
#endif

#ifdef CONFIG_MACH_ONTARIO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ONTARIO
# endif
# define machine_is_ontario()	(machine_arch_type == MACH_TYPE_ONTARIO)
#else
# define machine_is_ontario()	(0)
#endif

#ifdef CONFIG_MACH_MX6Q_SABRELITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6Q_SABRELITE
# endif
# define machine_is_mx6q_sabrelite()	(machine_arch_type == MACH_TYPE_MX6Q_SABRELITE)
#else
# define machine_is_mx6q_sabrelite()	(0)
#endif

#ifdef CONFIG_MACH_VC200
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VC200
# endif
# define machine_is_vc200()	(machine_arch_type == MACH_TYPE_VC200)
#else
# define machine_is_vc200()	(0)
#endif

#ifdef CONFIG_MACH_MSM7625A_FFA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7625A_FFA
# endif
# define machine_is_msm7625a_ffa()	(machine_arch_type == MACH_TYPE_MSM7625A_FFA)
#else
# define machine_is_msm7625a_ffa()	(0)
#endif

#ifdef CONFIG_MACH_MSM7625A_SURF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7625A_SURF
# endif
# define machine_is_msm7625a_surf()	(machine_arch_type == MACH_TYPE_MSM7625A_SURF)
#else
# define machine_is_msm7625a_surf()	(0)
#endif

#ifdef CONFIG_MACH_BENTHOSSBP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BENTHOSSBP
# endif
# define machine_is_benthossbp()	(machine_arch_type == MACH_TYPE_BENTHOSSBP)
#else
# define machine_is_benthossbp()	(0)
#endif

#ifdef CONFIG_MACH_SMDK5210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK5210
# endif
# define machine_is_smdk5210()	(machine_arch_type == MACH_TYPE_SMDK5210)
#else
# define machine_is_smdk5210()	(0)
#endif

#ifdef CONFIG_MACH_EMPQ2300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EMPQ2300
# endif
# define machine_is_empq2300()	(machine_arch_type == MACH_TYPE_EMPQ2300)
#else
# define machine_is_empq2300()	(0)
#endif

#ifdef CONFIG_MACH_MINIPOS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINIPOS
# endif
# define machine_is_minipos()	(machine_arch_type == MACH_TYPE_MINIPOS)
#else
# define machine_is_minipos()	(0)
#endif

#ifdef CONFIG_MACH_OMAP5_SEVM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP5_SEVM
# endif
# define machine_is_omap5_sevm()	(machine_arch_type == MACH_TYPE_OMAP5_SEVM)
#else
# define machine_is_omap5_sevm()	(0)
#endif

#ifdef CONFIG_MACH_SHELTER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SHELTER
# endif
# define machine_is_shelter()	(machine_arch_type == MACH_TYPE_SHELTER)
#else
# define machine_is_shelter()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_DEVKIT8500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_DEVKIT8500
# endif
# define machine_is_omap3_devkit8500()	(machine_arch_type == MACH_TYPE_OMAP3_DEVKIT8500)
#else
# define machine_is_omap3_devkit8500()	(0)
#endif

#ifdef CONFIG_MACH_EDGETD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDGETD
# endif
# define machine_is_edgetd()	(machine_arch_type == MACH_TYPE_EDGETD)
#else
# define machine_is_edgetd()	(0)
#endif

#ifdef CONFIG_MACH_COPPERYARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COPPERYARD
# endif
# define machine_is_copperyard()	(machine_arch_type == MACH_TYPE_COPPERYARD)
#else
# define machine_is_copperyard()	(0)
#endif

#ifdef CONFIG_MACH_EDGE_U
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDGE_U
# endif
# define machine_is_edge_u()	(machine_arch_type == MACH_TYPE_EDGE_U)
#else
# define machine_is_edge_u()	(0)
#endif

#ifdef CONFIG_MACH_EDGE_TD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EDGE_TD
# endif
# define machine_is_edge_td()	(machine_arch_type == MACH_TYPE_EDGE_TD)
#else
# define machine_is_edge_td()	(0)
#endif

#ifdef CONFIG_MACH_WDSS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WDSS
# endif
# define machine_is_wdss()	(machine_arch_type == MACH_TYPE_WDSS)
#else
# define machine_is_wdss()	(0)
#endif

#ifdef CONFIG_MACH_DL_PB25
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DL_PB25
# endif
# define machine_is_dl_pb25()	(machine_arch_type == MACH_TYPE_DL_PB25)
#else
# define machine_is_dl_pb25()	(0)
#endif

#ifdef CONFIG_MACH_DSS11
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DSS11
# endif
# define machine_is_dss11()	(machine_arch_type == MACH_TYPE_DSS11)
#else
# define machine_is_dss11()	(0)
#endif

#ifdef CONFIG_MACH_CPA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CPA
# endif
# define machine_is_cpa()	(machine_arch_type == MACH_TYPE_CPA)
#else
# define machine_is_cpa()	(0)
#endif

#ifdef CONFIG_MACH_APTP2000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APTP2000
# endif
# define machine_is_aptp2000()	(machine_arch_type == MACH_TYPE_APTP2000)
#else
# define machine_is_aptp2000()	(0)
#endif

#ifdef CONFIG_MACH_MARZEN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MARZEN
# endif
# define machine_is_marzen()	(machine_arch_type == MACH_TYPE_MARZEN)
#else
# define machine_is_marzen()	(0)
#endif

#ifdef CONFIG_MACH_ST_TURBINE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ST_TURBINE
# endif
# define machine_is_st_turbine()	(machine_arch_type == MACH_TYPE_ST_TURBINE)
#else
# define machine_is_st_turbine()	(0)
#endif

#ifdef CONFIG_MACH_GTL_IT3300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GTL_IT3300
# endif
# define machine_is_gtl_it3300()	(machine_arch_type == MACH_TYPE_GTL_IT3300)
#else
# define machine_is_gtl_it3300()	(0)
#endif

#ifdef CONFIG_MACH_MX6_MULE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6_MULE
# endif
# define machine_is_mx6_mule()	(machine_arch_type == MACH_TYPE_MX6_MULE)
#else
# define machine_is_mx6_mule()	(0)
#endif

#ifdef CONFIG_MACH_V7PXA_DT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_V7PXA_DT
# endif
# define machine_is_v7pxa_dt()	(machine_arch_type == MACH_TYPE_V7PXA_DT)
#else
# define machine_is_v7pxa_dt()	(0)
#endif

#ifdef CONFIG_MACH_V7MMP_DT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_V7MMP_DT
# endif
# define machine_is_v7mmp_dt()	(machine_arch_type == MACH_TYPE_V7MMP_DT)
#else
# define machine_is_v7mmp_dt()	(0)
#endif

#ifdef CONFIG_MACH_DRAGON7
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DRAGON7
# endif
# define machine_is_dragon7()	(machine_arch_type == MACH_TYPE_DRAGON7)
#else
# define machine_is_dragon7()	(0)
#endif

#ifdef CONFIG_MACH_KROME
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KROME
# endif
# define machine_is_krome()	(machine_arch_type == MACH_TYPE_KROME)
#else
# define machine_is_krome()	(0)
#endif

#ifdef CONFIG_MACH_ORATISDANTE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ORATISDANTE
# endif
# define machine_is_oratisdante()	(machine_arch_type == MACH_TYPE_ORATISDANTE)
#else
# define machine_is_oratisdante()	(0)
#endif

#ifdef CONFIG_MACH_FATHOM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FATHOM
# endif
# define machine_is_fathom()	(machine_arch_type == MACH_TYPE_FATHOM)
#else
# define machine_is_fathom()	(0)
#endif

#ifdef CONFIG_MACH_DNS325
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DNS325
# endif
# define machine_is_dns325()	(machine_arch_type == MACH_TYPE_DNS325)
#else
# define machine_is_dns325()	(0)
#endif

#ifdef CONFIG_MACH_SARNEN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SARNEN
# endif
# define machine_is_sarnen()	(machine_arch_type == MACH_TYPE_SARNEN)
#else
# define machine_is_sarnen()	(0)
#endif

#ifdef CONFIG_MACH_UBISYS_G1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_UBISYS_G1
# endif
# define machine_is_ubisys_g1()	(machine_arch_type == MACH_TYPE_UBISYS_G1)
#else
# define machine_is_ubisys_g1()	(0)
#endif

#ifdef CONFIG_MACH_MX53_PF1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_PF1
# endif
# define machine_is_mx53_pf1()	(machine_arch_type == MACH_TYPE_MX53_PF1)
#else
# define machine_is_mx53_pf1()	(0)
#endif

#ifdef CONFIG_MACH_ASANTI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ASANTI
# endif
# define machine_is_asanti()	(machine_arch_type == MACH_TYPE_ASANTI)
#else
# define machine_is_asanti()	(0)
#endif

#ifdef CONFIG_MACH_VOLTA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VOLTA
# endif
# define machine_is_volta()	(machine_arch_type == MACH_TYPE_VOLTA)
#else
# define machine_is_volta()	(0)
#endif

#ifdef CONFIG_MACH_KNIGHT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KNIGHT
# endif
# define machine_is_knight()	(machine_arch_type == MACH_TYPE_KNIGHT)
#else
# define machine_is_knight()	(0)
#endif

#ifdef CONFIG_MACH_BEAGLEBONE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BEAGLEBONE
# endif
# define machine_is_beaglebone()	(machine_arch_type == MACH_TYPE_BEAGLEBONE)
#else
# define machine_is_beaglebone()	(0)
#endif

#ifdef CONFIG_MACH_BECKER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BECKER
# endif
# define machine_is_becker()	(machine_arch_type == MACH_TYPE_BECKER)
#else
# define machine_is_becker()	(0)
#endif

#ifdef CONFIG_MACH_FC360
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FC360
# endif
# define machine_is_fc360()	(machine_arch_type == MACH_TYPE_FC360)
#else
# define machine_is_fc360()	(0)
#endif

#ifdef CONFIG_MACH_PMI2_XLS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PMI2_XLS
# endif
# define machine_is_pmi2_xls()	(machine_arch_type == MACH_TYPE_PMI2_XLS)
#else
# define machine_is_pmi2_xls()	(0)
#endif

#ifdef CONFIG_MACH_TARANTO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TARANTO
# endif
# define machine_is_taranto()	(machine_arch_type == MACH_TYPE_TARANTO)
#else
# define machine_is_taranto()	(0)
#endif

#ifdef CONFIG_MACH_PLUTUX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PLUTUX
# endif
# define machine_is_plutux()	(machine_arch_type == MACH_TYPE_PLUTUX)
#else
# define machine_is_plutux()	(0)
#endif

#ifdef CONFIG_MACH_IPMP_MEDCOM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPMP_MEDCOM
# endif
# define machine_is_ipmp_medcom()	(machine_arch_type == MACH_TYPE_IPMP_MEDCOM)
#else
# define machine_is_ipmp_medcom()	(0)
#endif

#ifdef CONFIG_MACH_ABSOLUT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ABSOLUT
# endif
# define machine_is_absolut()	(machine_arch_type == MACH_TYPE_ABSOLUT)
#else
# define machine_is_absolut()	(0)
#endif

#ifdef CONFIG_MACH_AWPB3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AWPB3
# endif
# define machine_is_awpb3()	(machine_arch_type == MACH_TYPE_AWPB3)
#else
# define machine_is_awpb3()	(0)
#endif

#ifdef CONFIG_MACH_NFP32XX_DT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NFP32XX_DT
# endif
# define machine_is_nfp32xx_dt()	(machine_arch_type == MACH_TYPE_NFP32XX_DT)
#else
# define machine_is_nfp32xx_dt()	(0)
#endif

#ifdef CONFIG_MACH_DL_PB53
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DL_PB53
# endif
# define machine_is_dl_pb53()	(machine_arch_type == MACH_TYPE_DL_PB53)
#else
# define machine_is_dl_pb53()	(0)
#endif

#ifdef CONFIG_MACH_ACU_II
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACU_II
# endif
# define machine_is_acu_ii()	(machine_arch_type == MACH_TYPE_ACU_II)
#else
# define machine_is_acu_ii()	(0)
#endif

#ifdef CONFIG_MACH_AVALON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AVALON
# endif
# define machine_is_avalon()	(machine_arch_type == MACH_TYPE_AVALON)
#else
# define machine_is_avalon()	(0)
#endif

#ifdef CONFIG_MACH_SPHINX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPHINX
# endif
# define machine_is_sphinx()	(machine_arch_type == MACH_TYPE_SPHINX)
#else
# define machine_is_sphinx()	(0)
#endif

#ifdef CONFIG_MACH_TITAN_T
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TITAN_T
# endif
# define machine_is_titan_t()	(machine_arch_type == MACH_TYPE_TITAN_T)
#else
# define machine_is_titan_t()	(0)
#endif

#ifdef CONFIG_MACH_HARVEST_BORIS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HARVEST_BORIS
# endif
# define machine_is_harvest_boris()	(machine_arch_type == MACH_TYPE_HARVEST_BORIS)
#else
# define machine_is_harvest_boris()	(0)
#endif

#ifdef CONFIG_MACH_MACH_MSM7X30_M3S
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MACH_MSM7X30_M3S
# endif
# define machine_is_mach_msm7x30_m3s()	(machine_arch_type == MACH_TYPE_MACH_MSM7X30_M3S)
#else
# define machine_is_mach_msm7x30_m3s()	(0)
#endif

#ifdef CONFIG_MACH_SMDK5250
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK5250
# endif
# define machine_is_smdk5250()	(machine_arch_type == MACH_TYPE_SMDK5250)
#else
# define machine_is_smdk5250()	(0)
#endif

#ifdef CONFIG_MACH_IMXT_LITE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMXT_LITE
# endif
# define machine_is_imxt_lite()	(machine_arch_type == MACH_TYPE_IMXT_LITE)
#else
# define machine_is_imxt_lite()	(0)
#endif

#ifdef CONFIG_MACH_IMXT_STD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMXT_STD
# endif
# define machine_is_imxt_std()	(machine_arch_type == MACH_TYPE_IMXT_STD)
#else
# define machine_is_imxt_std()	(0)
#endif

#ifdef CONFIG_MACH_IMXT_LOG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMXT_LOG
# endif
# define machine_is_imxt_log()	(machine_arch_type == MACH_TYPE_IMXT_LOG)
#else
# define machine_is_imxt_log()	(0)
#endif

#ifdef CONFIG_MACH_IMXT_NAV
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMXT_NAV
# endif
# define machine_is_imxt_nav()	(machine_arch_type == MACH_TYPE_IMXT_NAV)
#else
# define machine_is_imxt_nav()	(0)
#endif

#ifdef CONFIG_MACH_IMXT_FULL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMXT_FULL
# endif
# define machine_is_imxt_full()	(machine_arch_type == MACH_TYPE_IMXT_FULL)
#else
# define machine_is_imxt_full()	(0)
#endif

#ifdef CONFIG_MACH_AG09015
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AG09015
# endif
# define machine_is_ag09015()	(machine_arch_type == MACH_TYPE_AG09015)
#else
# define machine_is_ag09015()	(0)
#endif

#ifdef CONFIG_MACH_AM3517_MT_VENTOUX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AM3517_MT_VENTOUX
# endif
# define machine_is_am3517_mt_ventoux()	(machine_arch_type == MACH_TYPE_AM3517_MT_VENTOUX)
#else
# define machine_is_am3517_mt_ventoux()	(0)
#endif

#ifdef CONFIG_MACH_DP1ARM9
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DP1ARM9
# endif
# define machine_is_dp1arm9()	(machine_arch_type == MACH_TYPE_DP1ARM9)
#else
# define machine_is_dp1arm9()	(0)
#endif

#ifdef CONFIG_MACH_PICASSO_M
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICASSO_M
# endif
# define machine_is_picasso_m()	(machine_arch_type == MACH_TYPE_PICASSO_M)
#else
# define machine_is_picasso_m()	(0)
#endif

#ifdef CONFIG_MACH_VIDEO_GADGET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VIDEO_GADGET
# endif
# define machine_is_video_gadget()	(machine_arch_type == MACH_TYPE_VIDEO_GADGET)
#else
# define machine_is_video_gadget()	(0)
#endif

#ifdef CONFIG_MACH_MTT_OM3X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MTT_OM3X
# endif
# define machine_is_mtt_om3x()	(machine_arch_type == MACH_TYPE_MTT_OM3X)
#else
# define machine_is_mtt_om3x()	(0)
#endif

#ifdef CONFIG_MACH_MX6Q_ARM2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6Q_ARM2
# endif
# define machine_is_mx6q_arm2()	(machine_arch_type == MACH_TYPE_MX6Q_ARM2)
#else
# define machine_is_mx6q_arm2()	(0)
#endif

#ifdef CONFIG_MACH_PICOSAM9G45
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICOSAM9G45
# endif
# define machine_is_picosam9g45()	(machine_arch_type == MACH_TYPE_PICOSAM9G45)
#else
# define machine_is_picosam9g45()	(0)
#endif

#ifdef CONFIG_MACH_VPM_DM365
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VPM_DM365
# endif
# define machine_is_vpm_dm365()	(machine_arch_type == MACH_TYPE_VPM_DM365)
#else
# define machine_is_vpm_dm365()	(0)
#endif

#ifdef CONFIG_MACH_BONFIRE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BONFIRE
# endif
# define machine_is_bonfire()	(machine_arch_type == MACH_TYPE_BONFIRE)
#else
# define machine_is_bonfire()	(0)
#endif

#ifdef CONFIG_MACH_MT2P2D
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MT2P2D
# endif
# define machine_is_mt2p2d()	(machine_arch_type == MACH_TYPE_MT2P2D)
#else
# define machine_is_mt2p2d()	(0)
#endif

#ifdef CONFIG_MACH_SIGPDA01
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SIGPDA01
# endif
# define machine_is_sigpda01()	(machine_arch_type == MACH_TYPE_SIGPDA01)
#else
# define machine_is_sigpda01()	(0)
#endif

#ifdef CONFIG_MACH_CN27
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CN27
# endif
# define machine_is_cn27()	(machine_arch_type == MACH_TYPE_CN27)
#else
# define machine_is_cn27()	(0)
#endif

#ifdef CONFIG_MACH_MX25_CWTAP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX25_CWTAP
# endif
# define machine_is_mx25_cwtap()	(machine_arch_type == MACH_TYPE_MX25_CWTAP)
#else
# define machine_is_mx25_cwtap()	(0)
#endif

#ifdef CONFIG_MACH_APF28
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APF28
# endif
# define machine_is_apf28()	(machine_arch_type == MACH_TYPE_APF28)
#else
# define machine_is_apf28()	(0)
#endif

#ifdef CONFIG_MACH_PELCO_MAXWELL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PELCO_MAXWELL
# endif
# define machine_is_pelco_maxwell()	(machine_arch_type == MACH_TYPE_PELCO_MAXWELL)
#else
# define machine_is_pelco_maxwell()	(0)
#endif

#ifdef CONFIG_MACH_GE_PHOENIX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GE_PHOENIX
# endif
# define machine_is_ge_phoenix()	(machine_arch_type == MACH_TYPE_GE_PHOENIX)
#else
# define machine_is_ge_phoenix()	(0)
#endif

#ifdef CONFIG_MACH_EMPC_A500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EMPC_A500
# endif
# define machine_is_empc_a500()	(machine_arch_type == MACH_TYPE_EMPC_A500)
#else
# define machine_is_empc_a500()	(0)
#endif

#ifdef CONFIG_MACH_IMS_ARM9
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMS_ARM9
# endif
# define machine_is_ims_arm9()	(machine_arch_type == MACH_TYPE_IMS_ARM9)
#else
# define machine_is_ims_arm9()	(0)
#endif

#ifdef CONFIG_MACH_MINI2416
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINI2416
# endif
# define machine_is_mini2416()	(machine_arch_type == MACH_TYPE_MINI2416)
#else
# define machine_is_mini2416()	(0)
#endif

#ifdef CONFIG_MACH_MINI2450
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINI2450
# endif
# define machine_is_mini2450()	(machine_arch_type == MACH_TYPE_MINI2450)
#else
# define machine_is_mini2450()	(0)
#endif

#ifdef CONFIG_MACH_MINI310
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINI310
# endif
# define machine_is_mini310()	(machine_arch_type == MACH_TYPE_MINI310)
#else
# define machine_is_mini310()	(0)
#endif

#ifdef CONFIG_MACH_SPEAR_HURRICANE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SPEAR_HURRICANE
# endif
# define machine_is_spear_hurricane()	(machine_arch_type == MACH_TYPE_SPEAR_HURRICANE)
#else
# define machine_is_spear_hurricane()	(0)
#endif

#ifdef CONFIG_MACH_MT7208
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MT7208
# endif
# define machine_is_mt7208()	(machine_arch_type == MACH_TYPE_MT7208)
#else
# define machine_is_mt7208()	(0)
#endif

#ifdef CONFIG_MACH_LPC178X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LPC178X
# endif
# define machine_is_lpc178x()	(machine_arch_type == MACH_TYPE_LPC178X)
#else
# define machine_is_lpc178x()	(0)
#endif

#ifdef CONFIG_MACH_FARLEYS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FARLEYS
# endif
# define machine_is_farleys()	(machine_arch_type == MACH_TYPE_FARLEYS)
#else
# define machine_is_farleys()	(0)
#endif

#ifdef CONFIG_MACH_EFM32GG_DK3750
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EFM32GG_DK3750
# endif
# define machine_is_efm32gg_dk3750()	(machine_arch_type == MACH_TYPE_EFM32GG_DK3750)
#else
# define machine_is_efm32gg_dk3750()	(0)
#endif

#ifdef CONFIG_MACH_ZEUS_BOARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ZEUS_BOARD
# endif
# define machine_is_zeus_board()	(machine_arch_type == MACH_TYPE_ZEUS_BOARD)
#else
# define machine_is_zeus_board()	(0)
#endif

#ifdef CONFIG_MACH_CC51
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CC51
# endif
# define machine_is_cc51()	(machine_arch_type == MACH_TYPE_CC51)
#else
# define machine_is_cc51()	(0)
#endif

#ifdef CONFIG_MACH_FXI_C210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FXI_C210
# endif
# define machine_is_fxi_c210()	(machine_arch_type == MACH_TYPE_FXI_C210)
#else
# define machine_is_fxi_c210()	(0)
#endif

#ifdef CONFIG_MACH_MSM8627_CDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8627_CDP
# endif
# define machine_is_msm8627_cdp()	(machine_arch_type == MACH_TYPE_MSM8627_CDP)
#else
# define machine_is_msm8627_cdp()	(0)
#endif

#ifdef CONFIG_MACH_MSM8627_MTP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8627_MTP
# endif
# define machine_is_msm8627_mtp()	(machine_arch_type == MACH_TYPE_MSM8627_MTP)
#else
# define machine_is_msm8627_mtp()	(0)
#endif

#ifdef CONFIG_MACH_ARMADILLO800EVA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARMADILLO800EVA
# endif
# define machine_is_armadillo800eva()	(machine_arch_type == MACH_TYPE_ARMADILLO800EVA)
#else
# define machine_is_armadillo800eva()	(0)
#endif

#ifdef CONFIG_MACH_PRIMOU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMOU
# endif
# define machine_is_primou()	(machine_arch_type == MACH_TYPE_PRIMOU)
#else
# define machine_is_primou()	(0)
#endif

#ifdef CONFIG_MACH_PRIMOC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMOC
# endif
# define machine_is_primoc()	(machine_arch_type == MACH_TYPE_PRIMOC)
#else
# define machine_is_primoc()	(0)
#endif

#ifdef CONFIG_MACH_PRIMOCT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMOCT
# endif
# define machine_is_primoct()	(machine_arch_type == MACH_TYPE_PRIMOCT)
#else
# define machine_is_primoct()	(0)
#endif

#ifdef CONFIG_MACH_A9500
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_A9500
# endif
# define machine_is_a9500()	(machine_arch_type == MACH_TYPE_A9500)
#else
# define machine_is_a9500()	(0)
#endif

#ifdef CONFIG_MACH_PLUTO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PLUTO
# endif
# define machine_is_pluto()	(machine_arch_type == MACH_TYPE_PLUTO)
#else
# define machine_is_pluto()	(0)
#endif

#ifdef CONFIG_MACH_ACFX100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACFX100
# endif
# define machine_is_acfx100()	(machine_arch_type == MACH_TYPE_ACFX100)
#else
# define machine_is_acfx100()	(0)
#endif

#ifdef CONFIG_MACH_MSM8625_RUMI3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8625_RUMI3
# endif
# define machine_is_msm8625_rumi3()	(machine_arch_type == MACH_TYPE_MSM8625_RUMI3)
#else
# define machine_is_msm8625_rumi3()	(0)
#endif

#ifdef CONFIG_MACH_VALENTE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VALENTE
# endif
# define machine_is_valente()	(machine_arch_type == MACH_TYPE_VALENTE)
#else
# define machine_is_valente()	(0)
#endif

#ifdef CONFIG_MACH_CRFS_RFEYE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CRFS_RFEYE
# endif
# define machine_is_crfs_rfeye()	(machine_arch_type == MACH_TYPE_CRFS_RFEYE)
#else
# define machine_is_crfs_rfeye()	(0)
#endif

#ifdef CONFIG_MACH_RFEYE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RFEYE
# endif
# define machine_is_rfeye()	(machine_arch_type == MACH_TYPE_RFEYE)
#else
# define machine_is_rfeye()	(0)
#endif

#ifdef CONFIG_MACH_PHIDGET_SBC3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PHIDGET_SBC3
# endif
# define machine_is_phidget_sbc3()	(machine_arch_type == MACH_TYPE_PHIDGET_SBC3)
#else
# define machine_is_phidget_sbc3()	(0)
#endif

#ifdef CONFIG_MACH_TCW_MIKA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TCW_MIKA
# endif
# define machine_is_tcw_mika()	(machine_arch_type == MACH_TYPE_TCW_MIKA)
#else
# define machine_is_tcw_mika()	(0)
#endif

#ifdef CONFIG_MACH_IMX28_EGF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMX28_EGF
# endif
# define machine_is_imx28_egf()	(machine_arch_type == MACH_TYPE_IMX28_EGF)
#else
# define machine_is_imx28_egf()	(0)
#endif

#ifdef CONFIG_MACH_VALENTE_WX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VALENTE_WX
# endif
# define machine_is_valente_wx()	(machine_arch_type == MACH_TYPE_VALENTE_WX)
#else
# define machine_is_valente_wx()	(0)
#endif

#ifdef CONFIG_MACH_HUANGSHANS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HUANGSHANS
# endif
# define machine_is_huangshans()	(machine_arch_type == MACH_TYPE_HUANGSHANS)
#else
# define machine_is_huangshans()	(0)
#endif

#ifdef CONFIG_MACH_BOSPHORUS1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BOSPHORUS1
# endif
# define machine_is_bosphorus1()	(machine_arch_type == MACH_TYPE_BOSPHORUS1)
#else
# define machine_is_bosphorus1()	(0)
#endif

#ifdef CONFIG_MACH_PRIMA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMA
# endif
# define machine_is_prima()	(machine_arch_type == MACH_TYPE_PRIMA)
#else
# define machine_is_prima()	(0)
#endif

#ifdef CONFIG_MACH_EVITA_ULK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EVITA_ULK
# endif
# define machine_is_evita_ulk()	(machine_arch_type == MACH_TYPE_EVITA_ULK)
#else
# define machine_is_evita_ulk()	(0)
#endif

#ifdef CONFIG_MACH_MERISC600
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MERISC600
# endif
# define machine_is_merisc600()	(machine_arch_type == MACH_TYPE_MERISC600)
#else
# define machine_is_merisc600()	(0)
#endif

#ifdef CONFIG_MACH_DOLAK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DOLAK
# endif
# define machine_is_dolak()	(machine_arch_type == MACH_TYPE_DOLAK)
#else
# define machine_is_dolak()	(0)
#endif

#ifdef CONFIG_MACH_SBC53
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SBC53
# endif
# define machine_is_sbc53()	(machine_arch_type == MACH_TYPE_SBC53)
#else
# define machine_is_sbc53()	(0)
#endif

#ifdef CONFIG_MACH_ELITE_ULK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ELITE_ULK
# endif
# define machine_is_elite_ulk()	(machine_arch_type == MACH_TYPE_ELITE_ULK)
#else
# define machine_is_elite_ulk()	(0)
#endif

#ifdef CONFIG_MACH_POV2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POV2
# endif
# define machine_is_pov2()	(machine_arch_type == MACH_TYPE_POV2)
#else
# define machine_is_pov2()	(0)
#endif

#ifdef CONFIG_MACH_IPOD_TOUCH_2G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPOD_TOUCH_2G
# endif
# define machine_is_ipod_touch_2g()	(machine_arch_type == MACH_TYPE_IPOD_TOUCH_2G)
#else
# define machine_is_ipod_touch_2g()	(0)
#endif

#ifdef CONFIG_MACH_DA850_PQAB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DA850_PQAB
# endif
# define machine_is_da850_pqab()	(machine_arch_type == MACH_TYPE_DA850_PQAB)
#else
# define machine_is_da850_pqab()	(0)
#endif

#ifdef CONFIG_MACH_FERMI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FERMI
# endif
# define machine_is_fermi()	(machine_arch_type == MACH_TYPE_FERMI)
#else
# define machine_is_fermi()	(0)
#endif

#ifdef CONFIG_MACH_CCARDWMX28
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CCARDWMX28
# endif
# define machine_is_ccardwmx28()	(machine_arch_type == MACH_TYPE_CCARDWMX28)
#else
# define machine_is_ccardwmx28()	(0)
#endif

#ifdef CONFIG_MACH_CCARDMX28
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CCARDMX28
# endif
# define machine_is_ccardmx28()	(machine_arch_type == MACH_TYPE_CCARDMX28)
#else
# define machine_is_ccardmx28()	(0)
#endif

#ifdef CONFIG_MACH_FS20_FCM2050
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FS20_FCM2050
# endif
# define machine_is_fs20_fcm2050()	(machine_arch_type == MACH_TYPE_FS20_FCM2050)
#else
# define machine_is_fs20_fcm2050()	(0)
#endif

#ifdef CONFIG_MACH_KINETIS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KINETIS
# endif
# define machine_is_kinetis()	(machine_arch_type == MACH_TYPE_KINETIS)
#else
# define machine_is_kinetis()	(0)
#endif

#ifdef CONFIG_MACH_KAI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KAI
# endif
# define machine_is_kai()	(machine_arch_type == MACH_TYPE_KAI)
#else
# define machine_is_kai()	(0)
#endif

#ifdef CONFIG_MACH_BCTHB2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BCTHB2
# endif
# define machine_is_bcthb2()	(machine_arch_type == MACH_TYPE_BCTHB2)
#else
# define machine_is_bcthb2()	(0)
#endif

#ifdef CONFIG_MACH_INELS3_CU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INELS3_CU
# endif
# define machine_is_inels3_cu()	(machine_arch_type == MACH_TYPE_INELS3_CU)
#else
# define machine_is_inels3_cu()	(0)
#endif

#ifdef CONFIG_MACH_DA850_APOLLO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DA850_APOLLO
# endif
# define machine_is_da850_apollo()	(machine_arch_type == MACH_TYPE_DA850_APOLLO)
#else
# define machine_is_da850_apollo()	(0)
#endif

#ifdef CONFIG_MACH_TRACNAS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRACNAS
# endif
# define machine_is_tracnas()	(machine_arch_type == MACH_TYPE_TRACNAS)
#else
# define machine_is_tracnas()	(0)
#endif

#ifdef CONFIG_MACH_MITYARM335X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MITYARM335X
# endif
# define machine_is_mityarm335x()	(machine_arch_type == MACH_TYPE_MITYARM335X)
#else
# define machine_is_mityarm335x()	(0)
#endif

#ifdef CONFIG_MACH_XCGZ7X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XCGZ7X
# endif
# define machine_is_xcgz7x()	(machine_arch_type == MACH_TYPE_XCGZ7X)
#else
# define machine_is_xcgz7x()	(0)
#endif

#ifdef CONFIG_MACH_CUBOX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CUBOX
# endif
# define machine_is_cubox()	(machine_arch_type == MACH_TYPE_CUBOX)
#else
# define machine_is_cubox()	(0)
#endif

#ifdef CONFIG_MACH_TERMINATOR
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TERMINATOR
# endif
# define machine_is_terminator()	(machine_arch_type == MACH_TYPE_TERMINATOR)
#else
# define machine_is_terminator()	(0)
#endif

#ifdef CONFIG_MACH_EYE03
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EYE03
# endif
# define machine_is_eye03()	(machine_arch_type == MACH_TYPE_EYE03)
#else
# define machine_is_eye03()	(0)
#endif

#ifdef CONFIG_MACH_KOTA3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KOTA3
# endif
# define machine_is_kota3()	(machine_arch_type == MACH_TYPE_KOTA3)
#else
# define machine_is_kota3()	(0)
#endif

#ifdef CONFIG_MACH_PSCPE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PSCPE
# endif
# define machine_is_pscpe()	(machine_arch_type == MACH_TYPE_PSCPE)
#else
# define machine_is_pscpe()	(0)
#endif

#ifdef CONFIG_MACH_AKT1100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AKT1100
# endif
# define machine_is_akt1100()	(machine_arch_type == MACH_TYPE_AKT1100)
#else
# define machine_is_akt1100()	(0)
#endif

#ifdef CONFIG_MACH_PCAAXL2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCAAXL2
# endif
# define machine_is_pcaaxl2()	(machine_arch_type == MACH_TYPE_PCAAXL2)
#else
# define machine_is_pcaaxl2()	(0)
#endif

#ifdef CONFIG_MACH_PRIMODD_CT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMODD_CT
# endif
# define machine_is_primodd_ct()	(machine_arch_type == MACH_TYPE_PRIMODD_CT)
#else
# define machine_is_primodd_ct()	(0)
#endif

#ifdef CONFIG_MACH_NSBC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NSBC
# endif
# define machine_is_nsbc()	(machine_arch_type == MACH_TYPE_NSBC)
#else
# define machine_is_nsbc()	(0)
#endif

#ifdef CONFIG_MACH_MESON2_SKT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MESON2_SKT
# endif
# define machine_is_meson2_skt()	(machine_arch_type == MACH_TYPE_MESON2_SKT)
#else
# define machine_is_meson2_skt()	(0)
#endif

#ifdef CONFIG_MACH_MESON2_REF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MESON2_REF
# endif
# define machine_is_meson2_ref()	(machine_arch_type == MACH_TYPE_MESON2_REF)
#else
# define machine_is_meson2_ref()	(0)
#endif

#ifdef CONFIG_MACH_CCARDWMX28JS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CCARDWMX28JS
# endif
# define machine_is_ccardwmx28js()	(machine_arch_type == MACH_TYPE_CCARDWMX28JS)
#else
# define machine_is_ccardwmx28js()	(0)
#endif

#ifdef CONFIG_MACH_CCARDMX28JS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CCARDMX28JS
# endif
# define machine_is_ccardmx28js()	(machine_arch_type == MACH_TYPE_CCARDMX28JS)
#else
# define machine_is_ccardmx28js()	(0)
#endif

#ifdef CONFIG_MACH_INDICO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_INDICO
# endif
# define machine_is_indico()	(machine_arch_type == MACH_TYPE_INDICO)
#else
# define machine_is_indico()	(0)
#endif

#ifdef CONFIG_MACH_MSM8960DT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8960DT
# endif
# define machine_is_msm8960dt()	(machine_arch_type == MACH_TYPE_MSM8960DT)
#else
# define machine_is_msm8960dt()	(0)
#endif

#ifdef CONFIG_MACH_PRIMODS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMODS
# endif
# define machine_is_primods()	(machine_arch_type == MACH_TYPE_PRIMODS)
#else
# define machine_is_primods()	(0)
#endif

#ifdef CONFIG_MACH_BELUGA_M1388
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BELUGA_M1388
# endif
# define machine_is_beluga_m1388()	(machine_arch_type == MACH_TYPE_BELUGA_M1388)
#else
# define machine_is_beluga_m1388()	(0)
#endif

#ifdef CONFIG_MACH_PRIMOTD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMOTD
# endif
# define machine_is_primotd()	(machine_arch_type == MACH_TYPE_PRIMOTD)
#else
# define machine_is_primotd()	(0)
#endif

#ifdef CONFIG_MACH_VARAN_MASTER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VARAN_MASTER
# endif
# define machine_is_varan_master()	(machine_arch_type == MACH_TYPE_VARAN_MASTER)
#else
# define machine_is_varan_master()	(0)
#endif

#ifdef CONFIG_MACH_PRIMODD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PRIMODD
# endif
# define machine_is_primodd()	(machine_arch_type == MACH_TYPE_PRIMODD)
#else
# define machine_is_primodd()	(0)
#endif

#ifdef CONFIG_MACH_JETDUO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_JETDUO
# endif
# define machine_is_jetduo()	(machine_arch_type == MACH_TYPE_JETDUO)
#else
# define machine_is_jetduo()	(0)
#endif

#ifdef CONFIG_MACH_MX53_UMOBO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_UMOBO
# endif
# define machine_is_mx53_umobo()	(machine_arch_type == MACH_TYPE_MX53_UMOBO)
#else
# define machine_is_mx53_umobo()	(0)
#endif

#ifdef CONFIG_MACH_TRATS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRATS
# endif
# define machine_is_trats()	(machine_arch_type == MACH_TYPE_TRATS)
#else
# define machine_is_trats()	(0)
#endif

#ifdef CONFIG_MACH_STARCRAFT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STARCRAFT
# endif
# define machine_is_starcraft()	(machine_arch_type == MACH_TYPE_STARCRAFT)
#else
# define machine_is_starcraft()	(0)
#endif

#ifdef CONFIG_MACH_QSEVEN_TEGRA2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QSEVEN_TEGRA2
# endif
# define machine_is_qseven_tegra2()	(machine_arch_type == MACH_TYPE_QSEVEN_TEGRA2)
#else
# define machine_is_qseven_tegra2()	(0)
#endif

#ifdef CONFIG_MACH_LICHEE_SUN4I_DEVBD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LICHEE_SUN4I_DEVBD
# endif
# define machine_is_lichee_sun4i_devbd()	(machine_arch_type == MACH_TYPE_LICHEE_SUN4I_DEVBD)
#else
# define machine_is_lichee_sun4i_devbd()	(0)
#endif

#ifdef CONFIG_MACH_MOVENOW
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MOVENOW
# endif
# define machine_is_movenow()	(machine_arch_type == MACH_TYPE_MOVENOW)
#else
# define machine_is_movenow()	(0)
#endif

#ifdef CONFIG_MACH_GOLF_U
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GOLF_U
# endif
# define machine_is_golf_u()	(machine_arch_type == MACH_TYPE_GOLF_U)
#else
# define machine_is_golf_u()	(0)
#endif

#ifdef CONFIG_MACH_MSM7627A_EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7627A_EVB
# endif
# define machine_is_msm7627a_evb()	(machine_arch_type == MACH_TYPE_MSM7627A_EVB)
#else
# define machine_is_msm7627a_evb()	(0)
#endif

#ifdef CONFIG_MACH_RAMBO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RAMBO
# endif
# define machine_is_rambo()	(machine_arch_type == MACH_TYPE_RAMBO)
#else
# define machine_is_rambo()	(0)
#endif

#ifdef CONFIG_MACH_GOLFU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GOLFU
# endif
# define machine_is_golfu()	(machine_arch_type == MACH_TYPE_GOLFU)
#else
# define machine_is_golfu()	(0)
#endif

#ifdef CONFIG_MACH_MANGO310
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MANGO310
# endif
# define machine_is_mango310()	(machine_arch_type == MACH_TYPE_MANGO310)
#else
# define machine_is_mango310()	(0)
#endif

#ifdef CONFIG_MACH_DNS343
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DNS343
# endif
# define machine_is_dns343()	(machine_arch_type == MACH_TYPE_DNS343)
#else
# define machine_is_dns343()	(0)
#endif

#ifdef CONFIG_MACH_VAR_SOM_OM44
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VAR_SOM_OM44
# endif
# define machine_is_var_som_om44()	(machine_arch_type == MACH_TYPE_VAR_SOM_OM44)
#else
# define machine_is_var_som_om44()	(0)
#endif

#ifdef CONFIG_MACH_NAON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NAON
# endif
# define machine_is_naon()	(machine_arch_type == MACH_TYPE_NAON)
#else
# define machine_is_naon()	(0)
#endif

#ifdef CONFIG_MACH_VP4000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VP4000
# endif
# define machine_is_vp4000()	(machine_arch_type == MACH_TYPE_VP4000)
#else
# define machine_is_vp4000()	(0)
#endif

#ifdef CONFIG_MACH_IMPCARD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMPCARD
# endif
# define machine_is_impcard()	(machine_arch_type == MACH_TYPE_IMPCARD)
#else
# define machine_is_impcard()	(0)
#endif

#ifdef CONFIG_MACH_SMOOVCAM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMOOVCAM
# endif
# define machine_is_smoovcam()	(machine_arch_type == MACH_TYPE_SMOOVCAM)
#else
# define machine_is_smoovcam()	(0)
#endif

#ifdef CONFIG_MACH_COBHAM3725
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COBHAM3725
# endif
# define machine_is_cobham3725()	(machine_arch_type == MACH_TYPE_COBHAM3725)
#else
# define machine_is_cobham3725()	(0)
#endif

#ifdef CONFIG_MACH_COBHAM3730
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COBHAM3730
# endif
# define machine_is_cobham3730()	(machine_arch_type == MACH_TYPE_COBHAM3730)
#else
# define machine_is_cobham3730()	(0)
#endif

#ifdef CONFIG_MACH_COBHAM3703
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_COBHAM3703
# endif
# define machine_is_cobham3703()	(machine_arch_type == MACH_TYPE_COBHAM3703)
#else
# define machine_is_cobham3703()	(0)
#endif

#ifdef CONFIG_MACH_QUETZAL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QUETZAL
# endif
# define machine_is_quetzal()	(machine_arch_type == MACH_TYPE_QUETZAL)
#else
# define machine_is_quetzal()	(0)
#endif

#ifdef CONFIG_MACH_APQ8064_CDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APQ8064_CDP
# endif
# define machine_is_apq8064_cdp()	(machine_arch_type == MACH_TYPE_APQ8064_CDP)
#else
# define machine_is_apq8064_cdp()	(0)
#endif

#ifdef CONFIG_MACH_APQ8064_MTP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APQ8064_MTP
# endif
# define machine_is_apq8064_mtp()	(machine_arch_type == MACH_TYPE_APQ8064_MTP)
#else
# define machine_is_apq8064_mtp()	(0)
#endif

#ifdef CONFIG_MACH_APQ8064_FLUID
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APQ8064_FLUID
# endif
# define machine_is_apq8064_fluid()	(machine_arch_type == MACH_TYPE_APQ8064_FLUID)
#else
# define machine_is_apq8064_fluid()	(0)
#endif

#ifdef CONFIG_MACH_APQ8064_LIQUID
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_APQ8064_LIQUID
# endif
# define machine_is_apq8064_liquid()	(machine_arch_type == MACH_TYPE_APQ8064_LIQUID)
#else
# define machine_is_apq8064_liquid()	(0)
#endif

#ifdef CONFIG_MACH_MANGO210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MANGO210
# endif
# define machine_is_mango210()	(machine_arch_type == MACH_TYPE_MANGO210)
#else
# define machine_is_mango210()	(0)
#endif

#ifdef CONFIG_MACH_MANGO100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MANGO100
# endif
# define machine_is_mango100()	(machine_arch_type == MACH_TYPE_MANGO100)
#else
# define machine_is_mango100()	(0)
#endif

#ifdef CONFIG_MACH_MANGO24
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MANGO24
# endif
# define machine_is_mango24()	(machine_arch_type == MACH_TYPE_MANGO24)
#else
# define machine_is_mango24()	(0)
#endif

#ifdef CONFIG_MACH_MANGO64
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MANGO64
# endif
# define machine_is_mango64()	(machine_arch_type == MACH_TYPE_MANGO64)
#else
# define machine_is_mango64()	(0)
#endif

#ifdef CONFIG_MACH_NSA320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NSA320
# endif
# define machine_is_nsa320()	(machine_arch_type == MACH_TYPE_NSA320)
#else
# define machine_is_nsa320()	(0)
#endif

#ifdef CONFIG_MACH_ELV_CCU2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ELV_CCU2
# endif
# define machine_is_elv_ccu2()	(machine_arch_type == MACH_TYPE_ELV_CCU2)
#else
# define machine_is_elv_ccu2()	(0)
#endif

#ifdef CONFIG_MACH_TRITON_X00
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRITON_X00
# endif
# define machine_is_triton_x00()	(machine_arch_type == MACH_TYPE_TRITON_X00)
#else
# define machine_is_triton_x00()	(0)
#endif

#ifdef CONFIG_MACH_TRITON_1500_2000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TRITON_1500_2000
# endif
# define machine_is_triton_1500_2000()	(machine_arch_type == MACH_TYPE_TRITON_1500_2000)
#else
# define machine_is_triton_1500_2000()	(0)
#endif

#ifdef CONFIG_MACH_POGOPLUGV4
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POGOPLUGV4
# endif
# define machine_is_pogoplugv4()	(machine_arch_type == MACH_TYPE_POGOPLUGV4)
#else
# define machine_is_pogoplugv4()	(0)
#endif

#ifdef CONFIG_MACH_VENUS_CL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VENUS_CL
# endif
# define machine_is_venus_cl()	(machine_arch_type == MACH_TYPE_VENUS_CL)
#else
# define machine_is_venus_cl()	(0)
#endif

#ifdef CONFIG_MACH_VULCANO_G20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VULCANO_G20
# endif
# define machine_is_vulcano_g20()	(machine_arch_type == MACH_TYPE_VULCANO_G20)
#else
# define machine_is_vulcano_g20()	(0)
#endif

#ifdef CONFIG_MACH_SGS_I9100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SGS_I9100
# endif
# define machine_is_sgs_i9100()	(machine_arch_type == MACH_TYPE_SGS_I9100)
#else
# define machine_is_sgs_i9100()	(0)
#endif

#ifdef CONFIG_MACH_STSV2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STSV2
# endif
# define machine_is_stsv2()	(machine_arch_type == MACH_TYPE_STSV2)
#else
# define machine_is_stsv2()	(0)
#endif

#ifdef CONFIG_MACH_CSB1724
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CSB1724
# endif
# define machine_is_csb1724()	(machine_arch_type == MACH_TYPE_CSB1724)
#else
# define machine_is_csb1724()	(0)
#endif

#ifdef CONFIG_MACH_OMAPL138_LCDK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAPL138_LCDK
# endif
# define machine_is_omapl138_lcdk()	(machine_arch_type == MACH_TYPE_OMAPL138_LCDK)
#else
# define machine_is_omapl138_lcdk()	(0)
#endif

#ifdef CONFIG_MACH_PVD_MX25
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PVD_MX25
# endif
# define machine_is_pvd_mx25()	(machine_arch_type == MACH_TYPE_PVD_MX25)
#else
# define machine_is_pvd_mx25()	(0)
#endif

#ifdef CONFIG_MACH_MESON6_SKT
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MESON6_SKT
# endif
# define machine_is_meson6_skt()	(machine_arch_type == MACH_TYPE_MESON6_SKT)
#else
# define machine_is_meson6_skt()	(0)
#endif

#ifdef CONFIG_MACH_MESON6_REF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MESON6_REF
# endif
# define machine_is_meson6_ref()	(machine_arch_type == MACH_TYPE_MESON6_REF)
#else
# define machine_is_meson6_ref()	(0)
#endif

#ifdef CONFIG_MACH_PXM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PXM
# endif
# define machine_is_pxm()	(machine_arch_type == MACH_TYPE_PXM)
#else
# define machine_is_pxm()	(0)
#endif

#ifdef CONFIG_MACH_POGOPLUGV3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POGOPLUGV3
# endif
# define machine_is_pogoplugv3()	(machine_arch_type == MACH_TYPE_POGOPLUGV3)
#else
# define machine_is_pogoplugv3()	(0)
#endif

#ifdef CONFIG_MACH_MLP89626
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MLP89626
# endif
# define machine_is_mlp89626()	(machine_arch_type == MACH_TYPE_MLP89626)
#else
# define machine_is_mlp89626()	(0)
#endif

#ifdef CONFIG_MACH_IOMEGAHMNDCE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IOMEGAHMNDCE
# endif
# define machine_is_iomegahmndce()	(machine_arch_type == MACH_TYPE_IOMEGAHMNDCE)
#else
# define machine_is_iomegahmndce()	(0)
#endif

#ifdef CONFIG_MACH_POGOPLUGV3PCI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POGOPLUGV3PCI
# endif
# define machine_is_pogoplugv3pci()	(machine_arch_type == MACH_TYPE_POGOPLUGV3PCI)
#else
# define machine_is_pogoplugv3pci()	(0)
#endif

#ifdef CONFIG_MACH_BNTV250
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BNTV250
# endif
# define machine_is_bntv250()	(machine_arch_type == MACH_TYPE_BNTV250)
#else
# define machine_is_bntv250()	(0)
#endif

#ifdef CONFIG_MACH_MX53_QSEVEN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX53_QSEVEN
# endif
# define machine_is_mx53_qseven()	(machine_arch_type == MACH_TYPE_MX53_QSEVEN)
#else
# define machine_is_mx53_qseven()	(0)
#endif

#ifdef CONFIG_MACH_GTL_IT1100
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GTL_IT1100
# endif
# define machine_is_gtl_it1100()	(machine_arch_type == MACH_TYPE_GTL_IT1100)
#else
# define machine_is_gtl_it1100()	(0)
#endif

#ifdef CONFIG_MACH_MX6Q_SABRESD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6Q_SABRESD
# endif
# define machine_is_mx6q_sabresd()	(machine_arch_type == MACH_TYPE_MX6Q_SABRESD)
#else
# define machine_is_mx6q_sabresd()	(0)
#endif

#ifdef CONFIG_MACH_MT4
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MT4
# endif
# define machine_is_mt4()	(machine_arch_type == MACH_TYPE_MT4)
#else
# define machine_is_mt4()	(0)
#endif

#ifdef CONFIG_MACH_JUMBO_D
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_JUMBO_D
# endif
# define machine_is_jumbo_d()	(machine_arch_type == MACH_TYPE_JUMBO_D)
#else
# define machine_is_jumbo_d()	(0)
#endif

#ifdef CONFIG_MACH_JUMBO_I
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_JUMBO_I
# endif
# define machine_is_jumbo_i()	(machine_arch_type == MACH_TYPE_JUMBO_I)
#else
# define machine_is_jumbo_i()	(0)
#endif

#ifdef CONFIG_MACH_FS20_DMP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FS20_DMP
# endif
# define machine_is_fs20_dmp()	(machine_arch_type == MACH_TYPE_FS20_DMP)
#else
# define machine_is_fs20_dmp()	(0)
#endif

#ifdef CONFIG_MACH_DNS320
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DNS320
# endif
# define machine_is_dns320()	(machine_arch_type == MACH_TYPE_DNS320)
#else
# define machine_is_dns320()	(0)
#endif

#ifdef CONFIG_MACH_MX28BACOS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX28BACOS
# endif
# define machine_is_mx28bacos()	(machine_arch_type == MACH_TYPE_MX28BACOS)
#else
# define machine_is_mx28bacos()	(0)
#endif

#ifdef CONFIG_MACH_TL80
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TL80
# endif
# define machine_is_tl80()	(machine_arch_type == MACH_TYPE_TL80)
#else
# define machine_is_tl80()	(0)
#endif

#ifdef CONFIG_MACH_POLATIS_NIC_1001
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_POLATIS_NIC_1001
# endif
# define machine_is_polatis_nic_1001()	(machine_arch_type == MACH_TYPE_POLATIS_NIC_1001)
#else
# define machine_is_polatis_nic_1001()	(0)
#endif

#ifdef CONFIG_MACH_TELY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TELY
# endif
# define machine_is_tely()	(machine_arch_type == MACH_TYPE_TELY)
#else
# define machine_is_tely()	(0)
#endif

#ifdef CONFIG_MACH_U8520
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_U8520
# endif
# define machine_is_u8520()	(machine_arch_type == MACH_TYPE_U8520)
#else
# define machine_is_u8520()	(0)
#endif

#ifdef CONFIG_MACH_MANTA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MANTA
# endif
# define machine_is_manta()	(machine_arch_type == MACH_TYPE_MANTA)
#else
# define machine_is_manta()	(0)
#endif

#ifdef CONFIG_MACH_MPQ8064_CDP
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MPQ8064_CDP
# endif
# define machine_is_mpq8064_cdp()	(machine_arch_type == MACH_TYPE_MPQ8064_CDP)
#else
# define machine_is_mpq8064_cdp()	(0)
#endif

#ifdef CONFIG_MACH_MPQ8064_DTV
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MPQ8064_DTV
# endif
# define machine_is_mpq8064_dtv()	(machine_arch_type == MACH_TYPE_MPQ8064_DTV)
#else
# define machine_is_mpq8064_dtv()	(0)
#endif

#ifdef CONFIG_MACH_DM368SOM
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DM368SOM
# endif
# define machine_is_dm368som()	(machine_arch_type == MACH_TYPE_DM368SOM)
#else
# define machine_is_dm368som()	(0)
#endif

#ifdef CONFIG_MACH_GPRISB2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GPRISB2
# endif
# define machine_is_gprisb2()	(machine_arch_type == MACH_TYPE_GPRISB2)
#else
# define machine_is_gprisb2()	(0)
#endif

#ifdef CONFIG_MACH_CHAMMID
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CHAMMID
# endif
# define machine_is_chammid()	(machine_arch_type == MACH_TYPE_CHAMMID)
#else
# define machine_is_chammid()	(0)
#endif

#ifdef CONFIG_MACH_SEOUL2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SEOUL2
# endif
# define machine_is_seoul2()	(machine_arch_type == MACH_TYPE_SEOUL2)
#else
# define machine_is_seoul2()	(0)
#endif

#ifdef CONFIG_MACH_OMAP4_NOOKTABLET
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP4_NOOKTABLET
# endif
# define machine_is_omap4_nooktablet()	(machine_arch_type == MACH_TYPE_OMAP4_NOOKTABLET)
#else
# define machine_is_omap4_nooktablet()	(0)
#endif

#ifdef CONFIG_MACH_AALTO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AALTO
# endif
# define machine_is_aalto()	(machine_arch_type == MACH_TYPE_AALTO)
#else
# define machine_is_aalto()	(0)
#endif

#ifdef CONFIG_MACH_METRO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_METRO
# endif
# define machine_is_metro()	(machine_arch_type == MACH_TYPE_METRO)
#else
# define machine_is_metro()	(0)
#endif

#ifdef CONFIG_MACH_CYDM3730
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CYDM3730
# endif
# define machine_is_cydm3730()	(machine_arch_type == MACH_TYPE_CYDM3730)
#else
# define machine_is_cydm3730()	(0)
#endif

#ifdef CONFIG_MACH_TQMA53
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TQMA53
# endif
# define machine_is_tqma53()	(machine_arch_type == MACH_TYPE_TQMA53)
#else
# define machine_is_tqma53()	(0)
#endif

#ifdef CONFIG_MACH_MSM7627A_QRD3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7627A_QRD3
# endif
# define machine_is_msm7627a_qrd3()	(machine_arch_type == MACH_TYPE_MSM7627A_QRD3)
#else
# define machine_is_msm7627a_qrd3()	(0)
#endif

#ifdef CONFIG_MACH_MX28_CANBY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX28_CANBY
# endif
# define machine_is_mx28_canby()	(machine_arch_type == MACH_TYPE_MX28_CANBY)
#else
# define machine_is_mx28_canby()	(0)
#endif

#ifdef CONFIG_MACH_TIGER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TIGER
# endif
# define machine_is_tiger()	(machine_arch_type == MACH_TYPE_TIGER)
#else
# define machine_is_tiger()	(0)
#endif

#ifdef CONFIG_MACH_PCATS_9307_TYPE_A
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCATS_9307_TYPE_A
# endif
# define machine_is_pcats_9307_type_a()	(machine_arch_type == MACH_TYPE_PCATS_9307_TYPE_A)
#else
# define machine_is_pcats_9307_type_a()	(0)
#endif

#ifdef CONFIG_MACH_PCATS_9307_TYPE_O
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCATS_9307_TYPE_O
# endif
# define machine_is_pcats_9307_type_o()	(machine_arch_type == MACH_TYPE_PCATS_9307_TYPE_O)
#else
# define machine_is_pcats_9307_type_o()	(0)
#endif

#ifdef CONFIG_MACH_PCATS_9307_TYPE_R
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCATS_9307_TYPE_R
# endif
# define machine_is_pcats_9307_type_r()	(machine_arch_type == MACH_TYPE_PCATS_9307_TYPE_R)
#else
# define machine_is_pcats_9307_type_r()	(0)
#endif

#ifdef CONFIG_MACH_STREAMPLUG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_STREAMPLUG
# endif
# define machine_is_streamplug()	(machine_arch_type == MACH_TYPE_STREAMPLUG)
#else
# define machine_is_streamplug()	(0)
#endif

#ifdef CONFIG_MACH_ICECHICKEN_DEV
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ICECHICKEN_DEV
# endif
# define machine_is_icechicken_dev()	(machine_arch_type == MACH_TYPE_ICECHICKEN_DEV)
#else
# define machine_is_icechicken_dev()	(0)
#endif

#ifdef CONFIG_MACH_HEDGEHOG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_HEDGEHOG
# endif
# define machine_is_hedgehog()	(machine_arch_type == MACH_TYPE_HEDGEHOG)
#else
# define machine_is_hedgehog()	(0)
#endif

#ifdef CONFIG_MACH_YUSEND_OBC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_YUSEND_OBC
# endif
# define machine_is_yusend_obc()	(machine_arch_type == MACH_TYPE_YUSEND_OBC)
#else
# define machine_is_yusend_obc()	(0)
#endif

#ifdef CONFIG_MACH_IMXNINJA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMXNINJA
# endif
# define machine_is_imxninja()	(machine_arch_type == MACH_TYPE_IMXNINJA)
#else
# define machine_is_imxninja()	(0)
#endif

#ifdef CONFIG_MACH_OMAP4_JAROD
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP4_JAROD
# endif
# define machine_is_omap4_jarod()	(machine_arch_type == MACH_TYPE_OMAP4_JAROD)
#else
# define machine_is_omap4_jarod()	(0)
#endif

#ifdef CONFIG_MACH_ECO5_PK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ECO5_PK
# endif
# define machine_is_eco5_pk()	(machine_arch_type == MACH_TYPE_ECO5_PK)
#else
# define machine_is_eco5_pk()	(0)
#endif

#ifdef CONFIG_MACH_QJ2440
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QJ2440
# endif
# define machine_is_qj2440()	(machine_arch_type == MACH_TYPE_QJ2440)
#else
# define machine_is_qj2440()	(0)
#endif

#ifdef CONFIG_MACH_MX6Q_MERCURY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6Q_MERCURY
# endif
# define machine_is_mx6q_mercury()	(machine_arch_type == MACH_TYPE_MX6Q_MERCURY)
#else
# define machine_is_mx6q_mercury()	(0)
#endif

#ifdef CONFIG_MACH_CM6810
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CM6810
# endif
# define machine_is_cm6810()	(machine_arch_type == MACH_TYPE_CM6810)
#else
# define machine_is_cm6810()	(0)
#endif

#ifdef CONFIG_MACH_OMAP4_TORPEDO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP4_TORPEDO
# endif
# define machine_is_omap4_torpedo()	(machine_arch_type == MACH_TYPE_OMAP4_TORPEDO)
#else
# define machine_is_omap4_torpedo()	(0)
#endif

#ifdef CONFIG_MACH_NSA310
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NSA310
# endif
# define machine_is_nsa310()	(machine_arch_type == MACH_TYPE_NSA310)
#else
# define machine_is_nsa310()	(0)
#endif

#ifdef CONFIG_MACH_TMX536
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TMX536
# endif
# define machine_is_tmx536()	(machine_arch_type == MACH_TYPE_TMX536)
#else
# define machine_is_tmx536()	(0)
#endif

#ifdef CONFIG_MACH_KTT20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KTT20
# endif
# define machine_is_ktt20()	(machine_arch_type == MACH_TYPE_KTT20)
#else
# define machine_is_ktt20()	(0)
#endif

#ifdef CONFIG_MACH_DRAGONIX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DRAGONIX
# endif
# define machine_is_dragonix()	(machine_arch_type == MACH_TYPE_DRAGONIX)
#else
# define machine_is_dragonix()	(0)
#endif

#ifdef CONFIG_MACH_LUNGCHING
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LUNGCHING
# endif
# define machine_is_lungching()	(machine_arch_type == MACH_TYPE_LUNGCHING)
#else
# define machine_is_lungching()	(0)
#endif

#ifdef CONFIG_MACH_BULOGICS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BULOGICS
# endif
# define machine_is_bulogics()	(machine_arch_type == MACH_TYPE_BULOGICS)
#else
# define machine_is_bulogics()	(0)
#endif

#ifdef CONFIG_MACH_MX535_SX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX535_SX
# endif
# define machine_is_mx535_sx()	(machine_arch_type == MACH_TYPE_MX535_SX)
#else
# define machine_is_mx535_sx()	(0)
#endif

#ifdef CONFIG_MACH_NGUI3250
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NGUI3250
# endif
# define machine_is_ngui3250()	(machine_arch_type == MACH_TYPE_NGUI3250)
#else
# define machine_is_ngui3250()	(0)
#endif

#ifdef CONFIG_MACH_SALUTEC_DAC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SALUTEC_DAC
# endif
# define machine_is_salutec_dac()	(machine_arch_type == MACH_TYPE_SALUTEC_DAC)
#else
# define machine_is_salutec_dac()	(0)
#endif

#ifdef CONFIG_MACH_LOCO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LOCO
# endif
# define machine_is_loco()	(machine_arch_type == MACH_TYPE_LOCO)
#else
# define machine_is_loco()	(0)
#endif

#ifdef CONFIG_MACH_CTERA_PLUG_USI
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CTERA_PLUG_USI
# endif
# define machine_is_ctera_plug_usi()	(machine_arch_type == MACH_TYPE_CTERA_PLUG_USI)
#else
# define machine_is_ctera_plug_usi()	(0)
#endif

#ifdef CONFIG_MACH_SCEPTER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SCEPTER
# endif
# define machine_is_scepter()	(machine_arch_type == MACH_TYPE_SCEPTER)
#else
# define machine_is_scepter()	(0)
#endif

#ifdef CONFIG_MACH_SGA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SGA
# endif
# define machine_is_sga()	(machine_arch_type == MACH_TYPE_SGA)
#else
# define machine_is_sga()	(0)
#endif

#ifdef CONFIG_MACH_P_81_J5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_P_81_J5
# endif
# define machine_is_p_81_j5()	(machine_arch_type == MACH_TYPE_P_81_J5)
#else
# define machine_is_p_81_j5()	(0)
#endif

#ifdef CONFIG_MACH_P_81_O4
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_P_81_O4
# endif
# define machine_is_p_81_o4()	(machine_arch_type == MACH_TYPE_P_81_O4)
#else
# define machine_is_p_81_o4()	(0)
#endif

#ifdef CONFIG_MACH_MSM8625_SURF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8625_SURF
# endif
# define machine_is_msm8625_surf()	(machine_arch_type == MACH_TYPE_MSM8625_SURF)
#else
# define machine_is_msm8625_surf()	(0)
#endif

#ifdef CONFIG_MACH_CARALLON_SHARK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CARALLON_SHARK
# endif
# define machine_is_carallon_shark()	(machine_arch_type == MACH_TYPE_CARALLON_SHARK)
#else
# define machine_is_carallon_shark()	(0)
#endif

#ifdef CONFIG_MACH_ORDOG
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ORDOG
# endif
# define machine_is_ordog()	(machine_arch_type == MACH_TYPE_ORDOG)
#else
# define machine_is_ordog()	(0)
#endif

#ifdef CONFIG_MACH_PUENTE_IO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PUENTE_IO
# endif
# define machine_is_puente_io()	(machine_arch_type == MACH_TYPE_PUENTE_IO)
#else
# define machine_is_puente_io()	(0)
#endif

#ifdef CONFIG_MACH_MSM8625_EVB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8625_EVB
# endif
# define machine_is_msm8625_evb()	(machine_arch_type == MACH_TYPE_MSM8625_EVB)
#else
# define machine_is_msm8625_evb()	(0)
#endif

#ifdef CONFIG_MACH_EV_AM1707
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EV_AM1707
# endif
# define machine_is_ev_am1707()	(machine_arch_type == MACH_TYPE_EV_AM1707)
#else
# define machine_is_ev_am1707()	(0)
#endif

#ifdef CONFIG_MACH_EV_AM1707E2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EV_AM1707E2
# endif
# define machine_is_ev_am1707e2()	(machine_arch_type == MACH_TYPE_EV_AM1707E2)
#else
# define machine_is_ev_am1707e2()	(0)
#endif

#ifdef CONFIG_MACH_EV_AM3517E2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EV_AM3517E2
# endif
# define machine_is_ev_am3517e2()	(machine_arch_type == MACH_TYPE_EV_AM3517E2)
#else
# define machine_is_ev_am3517e2()	(0)
#endif

#ifdef CONFIG_MACH_CALABRIA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CALABRIA
# endif
# define machine_is_calabria()	(machine_arch_type == MACH_TYPE_CALABRIA)
#else
# define machine_is_calabria()	(0)
#endif

#ifdef CONFIG_MACH_EV_IMX287
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EV_IMX287
# endif
# define machine_is_ev_imx287()	(machine_arch_type == MACH_TYPE_EV_IMX287)
#else
# define machine_is_ev_imx287()	(0)
#endif

#ifdef CONFIG_MACH_ERAU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ERAU
# endif
# define machine_is_erau()	(machine_arch_type == MACH_TYPE_ERAU)
#else
# define machine_is_erau()	(0)
#endif

#ifdef CONFIG_MACH_SICHUAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SICHUAN
# endif
# define machine_is_sichuan()	(machine_arch_type == MACH_TYPE_SICHUAN)
#else
# define machine_is_sichuan()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DA850
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DA850
# endif
# define machine_is_davinci_da850()	(machine_arch_type == MACH_TYPE_DAVINCI_DA850)
#else
# define machine_is_davinci_da850()	(0)
#endif

#ifdef CONFIG_MACH_OMAP138_TRUNARC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP138_TRUNARC
# endif
# define machine_is_omap138_trunarc()	(machine_arch_type == MACH_TYPE_OMAP138_TRUNARC)
#else
# define machine_is_omap138_trunarc()	(0)
#endif

#ifdef CONFIG_MACH_BCM4761
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BCM4761
# endif
# define machine_is_bcm4761()	(machine_arch_type == MACH_TYPE_BCM4761)
#else
# define machine_is_bcm4761()	(0)
#endif

#ifdef CONFIG_MACH_PICASSO_E2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICASSO_E2
# endif
# define machine_is_picasso_e2()	(machine_arch_type == MACH_TYPE_PICASSO_E2)
#else
# define machine_is_picasso_e2()	(0)
#endif

#ifdef CONFIG_MACH_PICASSO_MF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICASSO_MF
# endif
# define machine_is_picasso_mf()	(machine_arch_type == MACH_TYPE_PICASSO_MF)
#else
# define machine_is_picasso_mf()	(0)
#endif

#ifdef CONFIG_MACH_MIRO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MIRO
# endif
# define machine_is_miro()	(machine_arch_type == MACH_TYPE_MIRO)
#else
# define machine_is_miro()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9G20EWON3
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9G20EWON3
# endif
# define machine_is_at91sam9g20ewon3()	(machine_arch_type == MACH_TYPE_AT91SAM9G20EWON3)
#else
# define machine_is_at91sam9g20ewon3()	(0)
#endif

#ifdef CONFIG_MACH_YOYO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_YOYO
# endif
# define machine_is_yoyo()	(machine_arch_type == MACH_TYPE_YOYO)
#else
# define machine_is_yoyo()	(0)
#endif

#ifdef CONFIG_MACH_WINDJKL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_WINDJKL
# endif
# define machine_is_windjkl()	(machine_arch_type == MACH_TYPE_WINDJKL)
#else
# define machine_is_windjkl()	(0)
#endif

#ifdef CONFIG_MACH_MONARUDO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MONARUDO
# endif
# define machine_is_monarudo()	(machine_arch_type == MACH_TYPE_MONARUDO)
#else
# define machine_is_monarudo()	(0)
#endif

#ifdef CONFIG_MACH_BATAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BATAN
# endif
# define machine_is_batan()	(machine_arch_type == MACH_TYPE_BATAN)
#else
# define machine_is_batan()	(0)
#endif

#ifdef CONFIG_MACH_TADAO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TADAO
# endif
# define machine_is_tadao()	(machine_arch_type == MACH_TYPE_TADAO)
#else
# define machine_is_tadao()	(0)
#endif

#ifdef CONFIG_MACH_BASO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BASO
# endif
# define machine_is_baso()	(machine_arch_type == MACH_TYPE_BASO)
#else
# define machine_is_baso()	(0)
#endif

#ifdef CONFIG_MACH_MAHON
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MAHON
# endif
# define machine_is_mahon()	(machine_arch_type == MACH_TYPE_MAHON)
#else
# define machine_is_mahon()	(0)
#endif

#ifdef CONFIG_MACH_VILLEC2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VILLEC2
# endif
# define machine_is_villec2()	(machine_arch_type == MACH_TYPE_VILLEC2)
#else
# define machine_is_villec2()	(0)
#endif

#ifdef CONFIG_MACH_ASI1230
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ASI1230
# endif
# define machine_is_asi1230()	(machine_arch_type == MACH_TYPE_ASI1230)
#else
# define machine_is_asi1230()	(0)
#endif

#ifdef CONFIG_MACH_ALASKA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ALASKA
# endif
# define machine_is_alaska()	(machine_arch_type == MACH_TYPE_ALASKA)
#else
# define machine_is_alaska()	(0)
#endif

#ifdef CONFIG_MACH_SWARCO_SHDSL2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SWARCO_SHDSL2
# endif
# define machine_is_swarco_shdsl2()	(machine_arch_type == MACH_TYPE_SWARCO_SHDSL2)
#else
# define machine_is_swarco_shdsl2()	(0)
#endif

#ifdef CONFIG_MACH_OXRTU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OXRTU
# endif
# define machine_is_oxrtu()	(machine_arch_type == MACH_TYPE_OXRTU)
#else
# define machine_is_oxrtu()	(0)
#endif

#ifdef CONFIG_MACH_OMAP5_PANDA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP5_PANDA
# endif
# define machine_is_omap5_panda()	(machine_arch_type == MACH_TYPE_OMAP5_PANDA)
#else
# define machine_is_omap5_panda()	(0)
#endif

#ifdef CONFIG_MACH_C8000
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_C8000
# endif
# define machine_is_c8000()	(machine_arch_type == MACH_TYPE_C8000)
#else
# define machine_is_c8000()	(0)
#endif

#ifdef CONFIG_MACH_BJE_DISPLAY3_5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BJE_DISPLAY3_5
# endif
# define machine_is_bje_display3_5()	(machine_arch_type == MACH_TYPE_BJE_DISPLAY3_5)
#else
# define machine_is_bje_display3_5()	(0)
#endif

#ifdef CONFIG_MACH_PICOMOD7
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICOMOD7
# endif
# define machine_is_picomod7()	(machine_arch_type == MACH_TYPE_PICOMOD7)
#else
# define machine_is_picomod7()	(0)
#endif

#ifdef CONFIG_MACH_PICOCOM5
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PICOCOM5
# endif
# define machine_is_picocom5()	(machine_arch_type == MACH_TYPE_PICOCOM5)
#else
# define machine_is_picocom5()	(0)
#endif

#ifdef CONFIG_MACH_QBLISSA8
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QBLISSA8
# endif
# define machine_is_qblissa8()	(machine_arch_type == MACH_TYPE_QBLISSA8)
#else
# define machine_is_qblissa8()	(0)
#endif

#ifdef CONFIG_MACH_ARMSTONEA8
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARMSTONEA8
# endif
# define machine_is_armstonea8()	(machine_arch_type == MACH_TYPE_ARMSTONEA8)
#else
# define machine_is_armstonea8()	(0)
#endif

#ifdef CONFIG_MACH_NETDCU14
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NETDCU14
# endif
# define machine_is_netdcu14()	(machine_arch_type == MACH_TYPE_NETDCU14)
#else
# define machine_is_netdcu14()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9X5_EPIPHAN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9X5_EPIPHAN
# endif
# define machine_is_at91sam9x5_epiphan()	(machine_arch_type == MACH_TYPE_AT91SAM9X5_EPIPHAN)
#else
# define machine_is_at91sam9x5_epiphan()	(0)
#endif

#ifdef CONFIG_MACH_P2U
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_P2U
# endif
# define machine_is_p2u()	(machine_arch_type == MACH_TYPE_P2U)
#else
# define machine_is_p2u()	(0)
#endif

#ifdef CONFIG_MACH_DORIS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DORIS
# endif
# define machine_is_doris()	(machine_arch_type == MACH_TYPE_DORIS)
#else
# define machine_is_doris()	(0)
#endif

#ifdef CONFIG_MACH_J49
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_J49
# endif
# define machine_is_j49()	(machine_arch_type == MACH_TYPE_J49)
#else
# define machine_is_j49()	(0)
#endif

#ifdef CONFIG_MACH_VDSS2E
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VDSS2E
# endif
# define machine_is_vdss2e()	(machine_arch_type == MACH_TYPE_VDSS2E)
#else
# define machine_is_vdss2e()	(0)
#endif

#ifdef CONFIG_MACH_VC300
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VC300
# endif
# define machine_is_vc300()	(machine_arch_type == MACH_TYPE_VC300)
#else
# define machine_is_vc300()	(0)
#endif

#ifdef CONFIG_MACH_NS115_PAD_TEST
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS115_PAD_TEST
# endif
# define machine_is_ns115_pad_test()	(machine_arch_type == MACH_TYPE_NS115_PAD_TEST)
#else
# define machine_is_ns115_pad_test()	(0)
#endif

#ifdef CONFIG_MACH_NS115_PAD_REF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS115_PAD_REF
# endif
# define machine_is_ns115_pad_ref()	(machine_arch_type == MACH_TYPE_NS115_PAD_REF)
#else
# define machine_is_ns115_pad_ref()	(0)
#endif

#ifdef CONFIG_MACH_NS115_PHONE_TEST
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS115_PHONE_TEST
# endif
# define machine_is_ns115_phone_test()	(machine_arch_type == MACH_TYPE_NS115_PHONE_TEST)
#else
# define machine_is_ns115_phone_test()	(0)
#endif

#ifdef CONFIG_MACH_NS115_PHONE_REF
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_NS115_PHONE_REF
# endif
# define machine_is_ns115_phone_ref()	(machine_arch_type == MACH_TYPE_NS115_PHONE_REF)
#else
# define machine_is_ns115_phone_ref()	(0)
#endif

#ifdef CONFIG_MACH_GOLFC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GOLFC
# endif
# define machine_is_golfc()	(machine_arch_type == MACH_TYPE_GOLFC)
#else
# define machine_is_golfc()	(0)
#endif

#ifdef CONFIG_MACH_XEROX_OLYMPUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_XEROX_OLYMPUS
# endif
# define machine_is_xerox_olympus()	(machine_arch_type == MACH_TYPE_XEROX_OLYMPUS)
#else
# define machine_is_xerox_olympus()	(0)
#endif

#ifdef CONFIG_MACH_MX6SL_ARM2
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX6SL_ARM2
# endif
# define machine_is_mx6sl_arm2()	(machine_arch_type == MACH_TYPE_MX6SL_ARM2)
#else
# define machine_is_mx6sl_arm2()	(0)
#endif

#ifdef CONFIG_MACH_CSB1701_CSB1726
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CSB1701_CSB1726
# endif
# define machine_is_csb1701_csb1726()	(machine_arch_type == MACH_TYPE_CSB1701_CSB1726)
#else
# define machine_is_csb1701_csb1726()	(0)
#endif

#ifdef CONFIG_MACH_AT91SAM9XEEK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_AT91SAM9XEEK
# endif
# define machine_is_at91sam9xeek()	(machine_arch_type == MACH_TYPE_AT91SAM9XEEK)
#else
# define machine_is_at91sam9xeek()	(0)
#endif

#ifdef CONFIG_MACH_EBV210
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_EBV210
# endif
# define machine_is_ebv210()	(machine_arch_type == MACH_TYPE_EBV210)
#else
# define machine_is_ebv210()	(0)
#endif

#ifdef CONFIG_MACH_MSM7627A_QRD7
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM7627A_QRD7
# endif
# define machine_is_msm7627a_qrd7()	(machine_arch_type == MACH_TYPE_MSM7627A_QRD7)
#else
# define machine_is_msm7627a_qrd7()	(0)
#endif

#ifdef CONFIG_MACH_SVTHIN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SVTHIN
# endif
# define machine_is_svthin()	(machine_arch_type == MACH_TYPE_SVTHIN)
#else
# define machine_is_svthin()	(0)
#endif

#ifdef CONFIG_MACH_DUOVERO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DUOVERO
# endif
# define machine_is_duovero()	(machine_arch_type == MACH_TYPE_DUOVERO)
#else
# define machine_is_duovero()	(0)
#endif

#ifdef CONFIG_MACH_CHUPACABRA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CHUPACABRA
# endif
# define machine_is_chupacabra()	(machine_arch_type == MACH_TYPE_CHUPACABRA)
#else
# define machine_is_chupacabra()	(0)
#endif

#ifdef CONFIG_MACH_SCORPION
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SCORPION
# endif
# define machine_is_scorpion()	(machine_arch_type == MACH_TYPE_SCORPION)
#else
# define machine_is_scorpion()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_HE_HMI10
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_HE_HMI10
# endif
# define machine_is_davinci_he_hmi10()	(machine_arch_type == MACH_TYPE_DAVINCI_HE_HMI10)
#else
# define machine_is_davinci_he_hmi10()	(0)
#endif

#ifdef CONFIG_MACH_TOPKICK
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TOPKICK
# endif
# define machine_is_topkick()	(machine_arch_type == MACH_TYPE_TOPKICK)
#else
# define machine_is_topkick()	(0)
#endif

#ifdef CONFIG_MACH_M3_AUGUESTRUSH
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_M3_AUGUESTRUSH
# endif
# define machine_is_m3_auguestrush()	(machine_arch_type == MACH_TYPE_M3_AUGUESTRUSH)
#else
# define machine_is_m3_auguestrush()	(0)
#endif

#ifdef CONFIG_MACH_IPC335X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IPC335X
# endif
# define machine_is_ipc335x()	(machine_arch_type == MACH_TYPE_IPC335X)
#else
# define machine_is_ipc335x()	(0)
#endif

#ifdef CONFIG_MACH_SUN4I
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SUN4I
# endif
# define machine_is_sun4i()	(machine_arch_type == MACH_TYPE_SUN4I)
#else
# define machine_is_sun4i()	(0)
#endif

#ifdef CONFIG_MACH_IMX233_OLINUXINO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_IMX233_OLINUXINO
# endif
# define machine_is_imx233_olinuxino()	(machine_arch_type == MACH_TYPE_IMX233_OLINUXINO)
#else
# define machine_is_imx233_olinuxino()	(0)
#endif

#ifdef CONFIG_MACH_K2_WL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_K2_WL
# endif
# define machine_is_k2_wl()	(machine_arch_type == MACH_TYPE_K2_WL)
#else
# define machine_is_k2_wl()	(0)
#endif

#ifdef CONFIG_MACH_K2_UL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_K2_UL
# endif
# define machine_is_k2_ul()	(machine_arch_type == MACH_TYPE_K2_UL)
#else
# define machine_is_k2_ul()	(0)
#endif

#ifdef CONFIG_MACH_K2_CL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_K2_CL
# endif
# define machine_is_k2_cl()	(machine_arch_type == MACH_TYPE_K2_CL)
#else
# define machine_is_k2_cl()	(0)
#endif

#ifdef CONFIG_MACH_MINBARI_W
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINBARI_W
# endif
# define machine_is_minbari_w()	(machine_arch_type == MACH_TYPE_MINBARI_W)
#else
# define machine_is_minbari_w()	(0)
#endif

#ifdef CONFIG_MACH_MINBARI_M
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MINBARI_M
# endif
# define machine_is_minbari_m()	(machine_arch_type == MACH_TYPE_MINBARI_M)
#else
# define machine_is_minbari_m()	(0)
#endif

#ifdef CONFIG_MACH_K035
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_K035
# endif
# define machine_is_k035()	(machine_arch_type == MACH_TYPE_K035)
#else
# define machine_is_k035()	(0)
#endif

#ifdef CONFIG_MACH_ARIEL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARIEL
# endif
# define machine_is_ariel()	(machine_arch_type == MACH_TYPE_ARIEL)
#else
# define machine_is_ariel()	(0)
#endif

#ifdef CONFIG_MACH_ARIELSAARC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARIELSAARC
# endif
# define machine_is_arielsaarc()	(machine_arch_type == MACH_TYPE_ARIELSAARC)
#else
# define machine_is_arielsaarc()	(0)
#endif

#ifdef CONFIG_MACH_ARIELDKB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARIELDKB
# endif
# define machine_is_arieldkb()	(machine_arch_type == MACH_TYPE_ARIELDKB)
#else
# define machine_is_arieldkb()	(0)
#endif

#ifdef CONFIG_MACH_ARMADILLO810
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARMADILLO810
# endif
# define machine_is_armadillo810()	(machine_arch_type == MACH_TYPE_ARMADILLO810)
#else
# define machine_is_armadillo810()	(0)
#endif

#ifdef CONFIG_MACH_TAM335X
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TAM335X
# endif
# define machine_is_tam335x()	(machine_arch_type == MACH_TYPE_TAM335X)
#else
# define machine_is_tam335x()	(0)
#endif

#ifdef CONFIG_MACH_GROUPER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GROUPER
# endif
# define machine_is_grouper()	(machine_arch_type == MACH_TYPE_GROUPER)
#else
# define machine_is_grouper()	(0)
#endif

#ifdef CONFIG_MACH_MPCSA21_9G20
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MPCSA21_9G20
# endif
# define machine_is_mpcsa21_9g20()	(machine_arch_type == MACH_TYPE_MPCSA21_9G20)
#else
# define machine_is_mpcsa21_9g20()	(0)
#endif

#ifdef CONFIG_MACH_M6U_CPU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_M6U_CPU
# endif
# define machine_is_m6u_cpu()	(machine_arch_type == MACH_TYPE_M6U_CPU)
#else
# define machine_is_m6u_cpu()	(0)
#endif

#ifdef CONFIG_MACH_DAVINCI_DP10
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DAVINCI_DP10
# endif
# define machine_is_davinci_dp10()	(machine_arch_type == MACH_TYPE_DAVINCI_DP10)
#else
# define machine_is_davinci_dp10()	(0)
#endif

#ifdef CONFIG_MACH_GINKGO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GINKGO
# endif
# define machine_is_ginkgo()	(machine_arch_type == MACH_TYPE_GINKGO)
#else
# define machine_is_ginkgo()	(0)
#endif

#ifdef CONFIG_MACH_CGT_QMX6
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CGT_QMX6
# endif
# define machine_is_cgt_qmx6()	(machine_arch_type == MACH_TYPE_CGT_QMX6)
#else
# define machine_is_cgt_qmx6()	(0)
#endif

#ifdef CONFIG_MACH_PROFPGA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PROFPGA
# endif
# define machine_is_profpga()	(machine_arch_type == MACH_TYPE_PROFPGA)
#else
# define machine_is_profpga()	(0)
#endif

#ifdef CONFIG_MACH_ACFX100OC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACFX100OC
# endif
# define machine_is_acfx100oc()	(machine_arch_type == MACH_TYPE_ACFX100OC)
#else
# define machine_is_acfx100oc()	(0)
#endif

#ifdef CONFIG_MACH_ACFX100NB
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ACFX100NB
# endif
# define machine_is_acfx100nb()	(machine_arch_type == MACH_TYPE_ACFX100NB)
#else
# define machine_is_acfx100nb()	(0)
#endif

#ifdef CONFIG_MACH_CAPRICORN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CAPRICORN
# endif
# define machine_is_capricorn()	(machine_arch_type == MACH_TYPE_CAPRICORN)
#else
# define machine_is_capricorn()	(0)
#endif

#ifdef CONFIG_MACH_PISCES
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PISCES
# endif
# define machine_is_pisces()	(machine_arch_type == MACH_TYPE_PISCES)
#else
# define machine_is_pisces()	(0)
#endif

#ifdef CONFIG_MACH_ARIES
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARIES
# endif
# define machine_is_aries()	(machine_arch_type == MACH_TYPE_ARIES)
#else
# define machine_is_aries()	(0)
#endif

#ifdef CONFIG_MACH_CANCER
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CANCER
# endif
# define machine_is_cancer()	(machine_arch_type == MACH_TYPE_CANCER)
#else
# define machine_is_cancer()	(0)
#endif

#ifdef CONFIG_MACH_LEO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LEO
# endif
# define machine_is_leo()	(machine_arch_type == MACH_TYPE_LEO)
#else
# define machine_is_leo()	(0)
#endif

#ifdef CONFIG_MACH_VIRGO
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VIRGO
# endif
# define machine_is_virgo()	(machine_arch_type == MACH_TYPE_VIRGO)
#else
# define machine_is_virgo()	(0)
#endif

#ifdef CONFIG_MACH_SAGITTARIUS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SAGITTARIUS
# endif
# define machine_is_sagittarius()	(machine_arch_type == MACH_TYPE_SAGITTARIUS)
#else
# define machine_is_sagittarius()	(0)
#endif

#ifdef CONFIG_MACH_DEVIL
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_DEVIL
# endif
# define machine_is_devil()	(machine_arch_type == MACH_TYPE_DEVIL)
#else
# define machine_is_devil()	(0)
#endif

#ifdef CONFIG_MACH_BALLANTINES
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BALLANTINES
# endif
# define machine_is_ballantines()	(machine_arch_type == MACH_TYPE_BALLANTINES)
#else
# define machine_is_ballantines()	(0)
#endif

#ifdef CONFIG_MACH_OMAP3_PROCERUSVPU
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_OMAP3_PROCERUSVPU
# endif
# define machine_is_omap3_procerusvpu()	(machine_arch_type == MACH_TYPE_OMAP3_PROCERUSVPU)
#else
# define machine_is_omap3_procerusvpu()	(0)
#endif

#ifdef CONFIG_MACH_MY27
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MY27
# endif
# define machine_is_my27()	(machine_arch_type == MACH_TYPE_MY27)
#else
# define machine_is_my27()	(0)
#endif

#ifdef CONFIG_MACH_SUN6I
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SUN6I
# endif
# define machine_is_sun6i()	(machine_arch_type == MACH_TYPE_SUN6I)
#else
# define machine_is_sun6i()	(0)
#endif

#ifdef CONFIG_MACH_SUN5I
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SUN5I
# endif
# define machine_is_sun5i()	(machine_arch_type == MACH_TYPE_SUN5I)
#else
# define machine_is_sun5i()	(0)
#endif

#ifdef CONFIG_MACH_MX512_MX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX512_MX
# endif
# define machine_is_mx512_mx()	(machine_arch_type == MACH_TYPE_MX512_MX)
#else
# define machine_is_mx512_mx()	(0)
#endif

#ifdef CONFIG_MACH_KZM9G
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_KZM9G
# endif
# define machine_is_kzm9g()	(machine_arch_type == MACH_TYPE_KZM9G)
#else
# define machine_is_kzm9g()	(0)
#endif

#ifdef CONFIG_MACH_VDSTBN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VDSTBN
# endif
# define machine_is_vdstbn()	(machine_arch_type == MACH_TYPE_VDSTBN)
#else
# define machine_is_vdstbn()	(0)
#endif

#ifdef CONFIG_MACH_CFA10036
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CFA10036
# endif
# define machine_is_cfa10036()	(machine_arch_type == MACH_TYPE_CFA10036)
#else
# define machine_is_cfa10036()	(0)
#endif

#ifdef CONFIG_MACH_CFA10049
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_CFA10049
# endif
# define machine_is_cfa10049()	(machine_arch_type == MACH_TYPE_CFA10049)
#else
# define machine_is_cfa10049()	(0)
#endif

#ifdef CONFIG_MACH_PCM051
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_PCM051
# endif
# define machine_is_pcm051()	(machine_arch_type == MACH_TYPE_PCM051)
#else
# define machine_is_pcm051()	(0)
#endif

#ifdef CONFIG_MACH_VYBRID_VF7XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VYBRID_VF7XX
# endif
# define machine_is_vybrid_vf7xx()	(machine_arch_type == MACH_TYPE_VYBRID_VF7XX)
#else
# define machine_is_vybrid_vf7xx()	(0)
#endif

#ifdef CONFIG_MACH_VYBRID_VF6XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VYBRID_VF6XX
# endif
# define machine_is_vybrid_vf6xx()	(machine_arch_type == MACH_TYPE_VYBRID_VF6XX)
#else
# define machine_is_vybrid_vf6xx()	(0)
#endif

#ifdef CONFIG_MACH_VYBRID_VF5XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VYBRID_VF5XX
# endif
# define machine_is_vybrid_vf5xx()	(machine_arch_type == MACH_TYPE_VYBRID_VF5XX)
#else
# define machine_is_vybrid_vf5xx()	(0)
#endif

#ifdef CONFIG_MACH_VYBRID_VF4XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VYBRID_VF4XX
# endif
# define machine_is_vybrid_vf4xx()	(machine_arch_type == MACH_TYPE_VYBRID_VF4XX)
#else
# define machine_is_vybrid_vf4xx()	(0)
#endif

#ifdef CONFIG_MACH_ARIA_G25
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ARIA_G25
# endif
# define machine_is_aria_g25()	(machine_arch_type == MACH_TYPE_ARIA_G25)
#else
# define machine_is_aria_g25()	(0)
#endif

#ifdef CONFIG_MACH_BCM21553
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BCM21553
# endif
# define machine_is_bcm21553()	(machine_arch_type == MACH_TYPE_BCM21553)
#else
# define machine_is_bcm21553()	(0)
#endif

#ifdef CONFIG_MACH_SMDK5410
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SMDK5410
# endif
# define machine_is_smdk5410()	(machine_arch_type == MACH_TYPE_SMDK5410)
#else
# define machine_is_smdk5410()	(0)
#endif

#ifdef CONFIG_MACH_LPC18XX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_LPC18XX
# endif
# define machine_is_lpc18xx()	(machine_arch_type == MACH_TYPE_LPC18XX)
#else
# define machine_is_lpc18xx()	(0)
#endif

#ifdef CONFIG_MACH_ORATISPARTY
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ORATISPARTY
# endif
# define machine_is_oratisparty()	(machine_arch_type == MACH_TYPE_ORATISPARTY)
#else
# define machine_is_oratisparty()	(0)
#endif

#ifdef CONFIG_MACH_QSEVEN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_QSEVEN
# endif
# define machine_is_qseven()	(machine_arch_type == MACH_TYPE_QSEVEN)
#else
# define machine_is_qseven()	(0)
#endif

#ifdef CONFIG_MACH_GMV_GENERIC
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_GMV_GENERIC
# endif
# define machine_is_gmv_generic()	(machine_arch_type == MACH_TYPE_GMV_GENERIC)
#else
# define machine_is_gmv_generic()	(0)
#endif

#ifdef CONFIG_MACH_TH_LINK_ETH
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TH_LINK_ETH
# endif
# define machine_is_th_link_eth()	(machine_arch_type == MACH_TYPE_TH_LINK_ETH)
#else
# define machine_is_th_link_eth()	(0)
#endif

#ifdef CONFIG_MACH_TN_MUNINN
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_TN_MUNINN
# endif
# define machine_is_tn_muninn()	(machine_arch_type == MACH_TYPE_TN_MUNINN)
#else
# define machine_is_tn_muninn()	(0)
#endif

#ifdef CONFIG_MACH_RAMPAGE
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_RAMPAGE
# endif
# define machine_is_rampage()	(machine_arch_type == MACH_TYPE_RAMPAGE)
#else
# define machine_is_rampage()	(0)
#endif

#ifdef CONFIG_MACH_VISSTRIM_MV10
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VISSTRIM_MV10
# endif
# define machine_is_visstrim_mv10()	(machine_arch_type == MACH_TYPE_VISSTRIM_MV10)
#else
# define machine_is_visstrim_mv10()	(0)
#endif

#ifdef CONFIG_MACH_MX28_WILMA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MX28_WILMA
# endif
# define machine_is_mx28_wilma()	(machine_arch_type == MACH_TYPE_MX28_WILMA)
#else
# define machine_is_mx28_wilma()	(0)
#endif

#ifdef CONFIG_MACH_MSM8625_FFA
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_MSM8625_FFA
# endif
# define machine_is_msm8625_ffa()	(machine_arch_type == MACH_TYPE_MSM8625_FFA)
#else
# define machine_is_msm8625_ffa()	(0)
#endif

#ifdef CONFIG_MACH_VPU101
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_VPU101
# endif
# define machine_is_vpu101()	(machine_arch_type == MACH_TYPE_VPU101)
#else
# define machine_is_vpu101()	(0)
#endif

#ifdef CONFIG_MACH_BAILEYS
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_BAILEYS
# endif
# define machine_is_baileys()	(machine_arch_type == MACH_TYPE_BAILEYS)
#else
# define machine_is_baileys()	(0)
#endif

#ifdef CONFIG_MACH_FAMILYBOX
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_FAMILYBOX
# endif
# define machine_is_familybox()	(machine_arch_type == MACH_TYPE_FAMILYBOX)
#else
# define machine_is_familybox()	(0)
#endif

#ifdef CONFIG_MACH_ENSEMBLE_MX35
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ENSEMBLE_MX35
# endif
# define machine_is_ensemble_mx35()	(machine_arch_type == MACH_TYPE_ENSEMBLE_MX35)
#else
# define machine_is_ensemble_mx35()	(0)
#endif

#ifdef CONFIG_MACH_SC_SPS_1
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_SC_SPS_1
# endif
# define machine_is_sc_sps_1()	(machine_arch_type == MACH_TYPE_SC_SPS_1)
#else
# define machine_is_sc_sps_1()	(0)
#endif

/*
 * These have not yet been registered
 */

#ifndef machine_arch_type
#define machine_arch_type	__machine_arch_type
#endif

#endif
