depends on PPC32 && PPC_BOOK3S
        select PPC_HAVE_PMU_SUPPORT
 
-config POWER4
-       depends on PPC64 && PPC_BOOK3S
-       def_bool y
-
 config TUNE_CELL
        bool "Optimize for Cell Broadband Engine"
        depends on PPC64 && PPC_BOOK3S
 
 config ALTIVEC
        bool "AltiVec Support"
-       depends on 6xx || POWER4 || (PPC_E500MC && PPC64)
+       depends on 6xx || PPC_BOOK3S_64 || (PPC_E500MC && PPC64)
        ---help---
          This option enables kernel support for the Altivec extensions to the
          PowerPC processor. The kernel currently supports saving and restoring
 
 config VSX
        bool "VSX Support"
-       depends on POWER4 && ALTIVEC && PPC_FPU
+       depends on PPC_BOOK3S_64 && ALTIVEC && PPC_FPU
        ---help---
 
          This option enables kernel support for the Vector Scaler extensions
 
 config PPC_ICSWX
        bool "Support for PowerPC icswx coprocessor instruction"
-       depends on POWER4
+       depends on PPC_BOOK3S_64
        default n
        ---help---
 
 
 config PPC_ICSWX_PID
        bool "icswx requires direct PID management"
-       depends on PPC_ICSWX && POWER4
+       depends on PPC_ICSWX
        default y
        ---help---
          The PID register in server is used explicitly for ICSWX.  In
 
        return 0;
 }
 
-#ifndef CONFIG_POWER4
+#ifndef CONFIG_PPC64
 
 static long ohare_htw_scc_enable(struct device_node *node, long param,
                                 long value)
 }
 
 
-#endif /* CONFIG_POWER4 */
+#endif /* CONFIG_PPC64 */
 
 static long
 core99_read_gpio(struct device_node *node, long param, long value)
        return 0;
 }
 
-#ifdef CONFIG_POWER4
+#ifdef CONFIG_PPC64
 static long g5_gmac_enable(struct device_node *node, long param, long value)
 {
        struct macio_chip *macio = &macio_chips[0];
        if (uninorth_maj == 3)
                UN_OUT(U3_API_PHY_CONFIG_1, 0);
 }
-#endif /* CONFIG_POWER4 */
+#endif /* CONFIG_PPC64 */
 
-#ifndef CONFIG_POWER4
+#ifndef CONFIG_PPC64
 
 
 #ifdef CONFIG_PM
        return 0;
 }
 
-#endif /* CONFIG_POWER4 */
+#endif /* CONFIG_PPC64 */
 
 static long
 generic_dev_can_wake(struct device_node *node, long param, long value)
        { 0, NULL }
 };
 
-#ifndef CONFIG_POWER4
+#ifndef CONFIG_PPC64
 
 /* OHare based motherboards. Currently, we only use these on the
  * 2400,3400 and 3500 series powerbooks. Some older desktops seem
        { 0, NULL }
 };
 
-#else /* CONFIG_POWER4 */
+#else /* CONFIG_PPC64 */
 
 /* G5 features
  */
        { 0, NULL }
 };
 
-#endif /* CONFIG_POWER4 */
+#endif /* CONFIG_PPC64 */
 
 static struct pmac_mb_def pmac_mb_defs[] = {
-#ifndef CONFIG_POWER4
+#ifndef CONFIG_PPC64
        /*
         * Desktops
         */
                PMAC_TYPE_UNKNOWN_INTREPID,     intrepid_features,
                PMAC_MB_MAY_SLEEP | PMAC_MB_HAS_FW_POWER | PMAC_MB_MOBILE,
        },
-#else /* CONFIG_POWER4 */
+#else /* CONFIG_PPC64 */
        {       "PowerMac7,2",                  "PowerMac G5",
                PMAC_TYPE_POWERMAC_G5,          g5_features,
                0,
                0,
        },
 #endif /* CONFIG_PPC64 */
-#endif /* CONFIG_POWER4 */
+#endif /* CONFIG_PPC64 */
 };
 
 /*
 
        /* Fallback to selection depending on mac-io chip type */
        switch(macio->type) {
-#ifndef CONFIG_POWER4
+#ifndef CONFIG_PPC64
            case macio_grand_central:
                pmac_mb.model_id = PMAC_TYPE_PSURGE;
                pmac_mb.model_name = "Unknown PowerSurge";
                pmac_mb.model_name = "Unknown Intrepid-based";
                pmac_mb.features = intrepid_features;
                break;
-#else /* CONFIG_POWER4 */
+#else /* CONFIG_PPC64 */
        case macio_keylargo2:
                pmac_mb.model_id = PMAC_TYPE_UNKNOWN_K2;
                pmac_mb.model_name = "Unknown K2-based";
                pmac_mb.model_name = "Unknown Shasta-based";
                pmac_mb.features = g5_features;
                break;
-#endif /* CONFIG_POWER4 */
+#endif /* CONFIG_PPC64 */
        default:
                ret = -ENODEV;
                goto done;
        }
 found:
-#ifndef CONFIG_POWER4
+#ifndef CONFIG_PPC64
        /* Fixup Hooper vs. Comet */
        if (pmac_mb.model_id == PMAC_TYPE_HOOPER) {
                u32 __iomem * mach_id_ptr = ioremap(0xf3000034, 4);
         */
        powersave_lowspeed = 1;
 
-#else /* CONFIG_POWER4 */
+#else /* CONFIG_PPC64 */
        powersave_nap = 1;
-#endif  /* CONFIG_POWER4 */
+#endif  /* CONFIG_PPC64 */
 
        /* Check for "mobile" machine */
        if (model && (strncmp(model, "PowerBook", 9) == 0
                MACIO_BIS(OHARE_FCR, OH_IOBUS_ENABLE);
        }
 
-#ifdef CONFIG_POWER4
+#ifdef CONFIG_PPC64
        if (macio_chips[0].type == macio_keylargo2 ||
            macio_chips[0].type == macio_shasta) {
 #ifndef CONFIG_SMP
                        np = of_find_node_by_name(np, "firewire");
                }
        }
-#else /* CONFIG_POWER4 */
+#else /* CONFIG_PPC64 */
 
        if (macio_chips[0].type == macio_keylargo ||
            macio_chips[0].type == macio_pangea ||
                MACIO_BIC(HEATHROW_FCR, HRW_SOUND_POWER_N);
        }
 
-#endif /* CONFIG_POWER4 */
+#endif /* CONFIG_PPC64 */
 
        /* On all machines, switch modem & serial ports off */
        for_each_node_by_name(np, "ch-a")