Message ID | 20120714204952.GA4798@raptus.dandreoli.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
* Domenico Andreoli <cavokz@gmail.com> [120714 13:54]: > From: Domenico Andreoli <domenico.andreoli@linux.com> > > There is not point in having arch_id as parameter of __arch_decomp_setup(), > nothing in it uses arch_id. The machine id is already exported (and used) > with symbol __machine_arch_type as per mach-types.h. > > Removing the pointless macro as well. Thanks applying into fixes. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Index: b/arch/arm/plat-omap/include/plat/uncompress.h =================================================================== --- a/arch/arm/plat-omap/include/plat/uncompress.h +++ b/arch/arm/plat-omap/include/plat/uncompress.h @@ -103,7 +103,7 @@ static inline void flush(void) _DEBUG_LL_ENTRY(mach, TI81XX_UART##p##_BASE, OMAP_PORT_SHIFT, \ TI81XXUART##p) -static inline void __arch_decomp_setup(unsigned long arch_id) +static inline void arch_decomp_setup(void) { int port = 0; @@ -186,8 +186,6 @@ static inline void __arch_decomp_setup(u } while (0); } -#define arch_decomp_setup() __arch_decomp_setup(arch_id) - /* * nothing to do */