> On the other hand, if doing an arch hook here and something like > CONFIG_ARCH_HAS_SUSPEND_IRQ_HOOKS would actually allow us to end this > pointless discussion, then why not. The preferred approach for that sort of thing nowadays is to have the generic code contain #ifndef arch_foo_bar() #define arch_foo_bar() do { } while(0) #endif And have the arch code do void arch_foo_bar(void) { xxx } #define arch_foo_bar arch_foo_bar Ben. _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm