[IA64] Rename platform_name to ia64_platform_name
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 25 Jul 2012 07:15:13 +0000 (15:15 +0800)
committerTony Luck <tony.luck@intel.com>
Wed, 25 Jul 2012 18:47:16 +0000 (11:47 -0700)
The macro name is too generic and conflicts with
snd_soc_dai_link.platform_name, which triggers lots of build errors.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/machvec.h
arch/ia64/include/asm/machvec_dig.h
arch/ia64/include/asm/machvec_dig_vtd.h
arch/ia64/include/asm/machvec_hpsim.h
arch/ia64/include/asm/machvec_hpzx1.h
arch/ia64/include/asm/machvec_hpzx1_swiotlb.h
arch/ia64/include/asm/machvec_sn2.h
arch/ia64/include/asm/machvec_uv.h
arch/ia64/include/asm/machvec_xen.h
arch/ia64/include/asm/processor.h
arch/ia64/pci/fixup.c

index 367d299d99384e1448e9376b1c899af149e0f599..2d1ad4b11a85a9e9e4083c67f9c30ccf921659fa 100644 (file)
@@ -120,7 +120,7 @@ extern void machvec_tlb_migrate_finish (struct mm_struct *);
 # ifdef MACHVEC_PLATFORM_HEADER
 #  include MACHVEC_PLATFORM_HEADER
 # else
-#  define platform_name                ia64_mv.name
+#  define ia64_platform_name   ia64_mv.name
 #  define platform_setup       ia64_mv.setup
 #  define platform_cpu_init    ia64_mv.cpu_init
 #  define platform_irq_init    ia64_mv.irq_init
index 8a0752f40987ebae6cdaf9ccb411bc133de43017..1f7403a2fbee03407f767a6571392b7147793684 100644 (file)
@@ -10,7 +10,7 @@ extern ia64_mv_setup_t dig_setup;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name          "dig"
+#define ia64_platform_name     "dig"
 #define platform_setup         dig_setup
 
 #endif /* _ASM_IA64_MACHVEC_DIG_h */
index 6ab1de5c45efe74b9e86e542f6b066578e2aa751..44308b4c3f6e4cbe0635038f2bec0fc021d9eaf0 100644 (file)
@@ -11,7 +11,7 @@ extern ia64_mv_dma_init                       pci_iommu_alloc;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name                          "dig_vtd"
+#define ia64_platform_name                     "dig_vtd"
 #define platform_setup                         dig_setup
 #define platform_dma_init                      pci_iommu_alloc
 
index cf72fc87fdfed8e172235d5a436a03c188148759..e757112793664d3df43ab6faf68605efb4e8bd0c 100644 (file)
@@ -11,7 +11,7 @@ extern ia64_mv_irq_init_t hpsim_irq_init;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name          "hpsim"
+#define ia64_platform_name     "hpsim"
 #define platform_setup         hpsim_setup
 #define platform_irq_init      hpsim_irq_init
 
index 3bd83d78a412047099be119a2fa1b3094d767f47..c74d3159e9ebcfaa3ae46e79b67d1e5c45046f6c 100644 (file)
@@ -11,7 +11,7 @@ extern ia64_mv_dma_init                       sba_dma_init;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name                          "hpzx1"
+#define ia64_platform_name                     "hpzx1"
 #define platform_setup                         dig_setup
 #define platform_dma_init                      sba_dma_init
 
index 1091ac39740c6c407c35bb43e8d511eea2aafb02..906ef621077448d3e6a35243078a2da7ca9f4368 100644 (file)
@@ -11,7 +11,7 @@ extern ia64_mv_dma_get_ops                    hwsw_dma_get_ops;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name                          "hpzx1_swiotlb"
+#define ia64_platform_name                     "hpzx1_swiotlb"
 #define platform_setup                         dig_setup
 #define platform_dma_init                      machvec_noop
 #define platform_dma_get_ops                   hwsw_dma_get_ops
index f061a30aac42c7b297434d0ec88ae0f5d348f5ee..ece9fa85be8864330b783ff37985f58370e68c43 100644 (file)
@@ -71,7 +71,7 @@ extern ia64_mv_pci_fixup_bus_t                sn_pci_fixup_bus;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name                  "sn2"
+#define ia64_platform_name             "sn2"
 #define platform_setup                 sn_setup
 #define platform_cpu_init              sn_cpu_init
 #define platform_irq_init              sn_irq_init
index 2931447f3813c2cf34c469614923a84b70dfcb22..2c50853f35ac0037297d0860c26ffb5ecb9b88a3 100644 (file)
@@ -20,7 +20,7 @@ extern ia64_mv_setup_t uv_setup;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name                  "uv"
+#define ia64_platform_name             "uv"
 #define platform_setup                 uv_setup
 
 #endif /* _ASM_IA64_MACHVEC_UV_H */
index 55f9228056cd6ef4138739ceb0812923d64d94c0..8b8bd0eb39236ee3a251068b4ec4e3e9fc3ee7e9 100644 (file)
@@ -13,7 +13,7 @@ extern ia64_mv_send_ipi_t             xen_platform_send_ipi;
  * platform's machvec structure.  When compiling a non-generic kernel,
  * the macros are used directly.
  */
-#define platform_name                          "xen"
+#define ia64_platform_name                     "xen"
 #define platform_setup                         dig_setup
 #define platform_cpu_init                      xen_cpu_init
 #define platform_irq_init                      xen_irq_init
index 832dd3789e9d02c14471730ddfbbf85d60e816da..944152a5091223798fb3427b2dc5bb56ecaef4be 100644 (file)
@@ -719,7 +719,7 @@ enum idle_boot_override {IDLE_NO_OVERRIDE=0, IDLE_HALT, IDLE_FORCE_MWAIT,
 
 void default_idle(void);
 
-#define ia64_platform_is(x) (strcmp(x, platform_name) == 0)
+#define ia64_platform_is(x) (strcmp(x, ia64_platform_name) == 0)
 
 #endif /* !__ASSEMBLY__ */
 
index f5959c0c1810422358f48498b29e44dcc743b4b5..eab28e314022e7c4456a2860d99eea70c22c8df0 100644 (file)
@@ -30,8 +30,8 @@ static void __devinit pci_fixup_video(struct pci_dev *pdev)
        struct pci_bus *bus;
        u16 config;
 
-       if ((strcmp(platform_name, "dig") != 0)
-           && (strcmp(platform_name, "hpzx1")  != 0))
+       if ((strcmp(ia64_platform_name, "dig") != 0)
+           && (strcmp(ia64_platform_name, "hpzx1")  != 0))
                return;
        /* Maybe, this machine supports legacy memory map. */
 
This page took 0.039251 seconds and 5 git commands to generate.