|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/debugfs.h>#include <linux/kernel.h>#include <linux/mm.h>#include <linux/swap.h>#include <linux/pagemap.h>#include <linux/hugetlb.h>#include "internal.h"Go to the source code of this file.
Functions | |
| DEFINE_SIMPLE_ATTRIBUTE (hwpoison_fops, NULL, hwpoison_inject,"%lli\n") | |
| DEFINE_SIMPLE_ATTRIBUTE (unpoison_fops, NULL, hwpoison_unpoison,"%lli\n") | |
| module_init (pfn_inject_init) | |
| module_exit (pfn_inject_exit) | |
| MODULE_LICENSE ("GPL") | |
| DEFINE_SIMPLE_ATTRIBUTE | ( | hwpoison_fops | , |
| NULL | , | ||
| hwpoison_inject | , | ||
| "%lli\n" | |||
| ) |
| DEFINE_SIMPLE_ATTRIBUTE | ( | unpoison_fops | , |
| NULL | , | ||
| hwpoison_unpoison | , | ||
| "%lli\n" | |||
| ) |
| module_exit | ( | pfn_inject_exit | ) |
| module_init | ( | pfn_inject_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2