|
@@ -232,7 +232,6 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
|
|
#undef K
|
|
#undef K
|
|
}
|
|
}
|
|
|
|
|
|
-extern const struct seq_operations fragmentation_op;
|
|
|
|
static int fragmentation_open(struct inode *inode, struct file *file)
|
|
static int fragmentation_open(struct inode *inode, struct file *file)
|
|
{
|
|
{
|
|
(void)inode;
|
|
(void)inode;
|
|
@@ -246,7 +245,6 @@ static const struct file_operations fragmentation_file_operations = {
|
|
.release = seq_release,
|
|
.release = seq_release,
|
|
};
|
|
};
|
|
|
|
|
|
-extern const struct seq_operations pagetypeinfo_op;
|
|
|
|
static int pagetypeinfo_open(struct inode *inode, struct file *file)
|
|
static int pagetypeinfo_open(struct inode *inode, struct file *file)
|
|
{
|
|
{
|
|
return seq_open(file, &pagetypeinfo_op);
|
|
return seq_open(file, &pagetypeinfo_op);
|
|
@@ -259,7 +257,6 @@ static const struct file_operations pagetypeinfo_file_ops = {
|
|
.release = seq_release,
|
|
.release = seq_release,
|
|
};
|
|
};
|
|
|
|
|
|
-extern const struct seq_operations zoneinfo_op;
|
|
|
|
static int zoneinfo_open(struct inode *inode, struct file *file)
|
|
static int zoneinfo_open(struct inode *inode, struct file *file)
|
|
{
|
|
{
|
|
return seq_open(file, &zoneinfo_op);
|
|
return seq_open(file, &zoneinfo_op);
|
|
@@ -356,7 +353,6 @@ static const struct file_operations proc_devinfo_operations = {
|
|
.release = seq_release,
|
|
.release = seq_release,
|
|
};
|
|
};
|
|
|
|
|
|
-extern const struct seq_operations vmstat_op;
|
|
|
|
static int vmstat_open(struct inode *inode, struct file *file)
|
|
static int vmstat_open(struct inode *inode, struct file *file)
|
|
{
|
|
{
|
|
return seq_open(file, &vmstat_op);
|
|
return seq_open(file, &vmstat_op);
|