Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
fsl_hypervisor.h File Reference
#include <uapi/linux/fsl_hypervisor.h>

Go to the source code of this file.

Functions

int fsl_hv_failover_register (struct notifier_block *nb)
 
int fsl_hv_failover_unregister (struct notifier_block *nb)
 

Function Documentation

int fsl_hv_failover_register ( struct notifier_block nb)

fsl_hv_event_register() - register a callback for failover events : pointer to caller-supplied notifier_block structure

This function is called by device drivers to register their callback functions for fail-over events.

The caller should allocate a notifier_block object and initialize the 'priority' and 'notifier_call' fields.

Definition at line 768 of file fsl_hypervisor.c.

int fsl_hv_failover_unregister ( struct notifier_block nb)

fsl_hv_event_unregister() - unregister a callback for failover events : the same 'nb' used in previous fsl_hv_failover_register call

Definition at line 777 of file fsl_hypervisor.c.