serial: fix NULL pointer dereference
[safe/jmp/linux-2.6] / include / linux / oprofile.h
index d68d2ed..5171639 100644 (file)
@@ -67,6 +67,9 @@ struct oprofile_operations {
 
        /* Initiate a stack backtrace. Optional. */
        void (*backtrace)(struct pt_regs * const regs, unsigned int depth);
+
+       /* Multiplex between different events. Optional. */
+       int (*switch_events)(void);
        /* CPU identification string. */
        char * cpu_type;
 };