#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/of.h>
#include <linux/reboot.h>
#include <linux/uaccess.h>
#include <linux/notifier.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <asm/fsl_hcalls.h>
#include <linux/fsl_hypervisor.h>
Go to the source code of this file.
#define nextp |
( |
|
x | ) |
(((x) + 1) & (QSIZE - 1)) |
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.
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.
MODULE_DESCRIPTION |
( |
"Freescale hypervisor management driver" |
| ) |
|
module_exit |
( |
fsl_hypervisor_exit |
| ) |
|
module_init |
( |
fsl_hypervisor_init |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|