Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84773
b: refs/heads/master
c: 03a4482
h: refs/heads/master
i:
  84771: 19c0c91
v: v3
  • Loading branch information
Jan Engelhardt authored and Linus Torvalds committed Feb 8, 2008
1 parent 40ad389 commit 045d62f
Show file tree
Hide file tree
Showing 20 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec26e11740cdff8c3c8330ea235478704ffb4a71
refs/heads/master: 03a44825be987d720df854f63b2f7bd30e46bdde
2 changes: 1 addition & 1 deletion trunk/arch/alpha/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ c_stop(struct seq_file *f, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ static void c_stop(struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/cris/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ static void c_stop(struct seq_file *m, void *v)

extern int show_cpuinfo(struct seq_file *m, void *v);

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/frv/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ static void c_stop(struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/h8300/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static void c_stop(struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m32r/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ static void c_stop(struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m68k/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos)
static void c_stop(struct seq_file *m, void *v)
{
}
struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m68knommu/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static void c_stop(struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ c_stop (struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static void c_stop(struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start =c_start,
.next = c_next,
.stop = c_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/v850/kernel/procfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static void cpuinfo_stop (struct seq_file *m, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
.start = cpuinfo_start,
.next = cpuinfo_next,
.stop = cpuinfo_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/xtensa/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ c_stop(struct seq_file *f, void *v)
{
}

struct seq_operations cpuinfo_op =
const struct seq_operations cpuinfo_op =
{
start: c_start,
next: c_next,
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ static const struct inode_operations proc_def_inode_operations = {
.setattr = proc_setattr,
};

extern struct seq_operations mounts_op;
extern const struct seq_operations mounts_op;
struct proc_mounts {
struct seq_file m;
int event;
Expand Down Expand Up @@ -585,7 +585,7 @@ static const struct file_operations proc_mounts_operations = {
.poll = mounts_poll,
};

extern struct seq_operations mountstats_op;
extern const struct seq_operations mountstats_op;
static int mountstats_open(struct inode *inode, struct file *file)
{
int ret = seq_open(file, &mountstats_op);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static void *nommu_vma_list_next(struct seq_file *m, void *v, loff_t *pos)
return rb_next((struct rb_node *) v);
}

static struct seq_operations proc_nommu_vma_list_seqop = {
static const struct seq_operations proc_nommu_vma_list_seqop = {
.start = nommu_vma_list_start,
.next = nommu_vma_list_next,
.stop = nommu_vma_list_stop,
Expand Down
22 changes: 11 additions & 11 deletions trunk/fs/proc/proc_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
#undef K
}

extern struct seq_operations fragmentation_op;
extern const struct seq_operations fragmentation_op;
static int fragmentation_open(struct inode *inode, struct file *file)
{
(void)inode;
Expand All @@ -236,7 +236,7 @@ static const struct file_operations fragmentation_file_operations = {
.release = seq_release,
};

extern struct seq_operations pagetypeinfo_op;
extern const struct seq_operations pagetypeinfo_op;
static int pagetypeinfo_open(struct inode *inode, struct file *file)
{
return seq_open(file, &pagetypeinfo_op);
Expand All @@ -249,7 +249,7 @@ static const struct file_operations pagetypeinfo_file_ops = {
.release = seq_release,
};

extern struct seq_operations zoneinfo_op;
extern const struct seq_operations zoneinfo_op;
static int zoneinfo_open(struct inode *inode, struct file *file)
{
return seq_open(file, &zoneinfo_op);
Expand All @@ -274,7 +274,7 @@ static int version_read_proc(char *page, char **start, off_t off,
return proc_calc_metrics(page, start, off, count, eof, len);
}

extern struct seq_operations cpuinfo_op;
extern const struct seq_operations cpuinfo_op;
static int cpuinfo_open(struct inode *inode, struct file *file)
{
return seq_open(file, &cpuinfo_op);
Expand Down Expand Up @@ -327,7 +327,7 @@ static void devinfo_stop(struct seq_file *f, void *v)
/* Nothing to do */
}

static struct seq_operations devinfo_ops = {
static const struct seq_operations devinfo_ops = {
.start = devinfo_start,
.next = devinfo_next,
.stop = devinfo_stop,
Expand All @@ -346,7 +346,7 @@ static const struct file_operations proc_devinfo_operations = {
.release = seq_release,
};

extern struct seq_operations vmstat_op;
extern const struct seq_operations vmstat_op;
static int vmstat_open(struct inode *inode, struct file *file)
{
return seq_open(file, &vmstat_op);
Expand Down Expand Up @@ -377,7 +377,7 @@ static int stram_read_proc(char *page, char **start, off_t off,
#endif

#ifdef CONFIG_BLOCK
extern struct seq_operations partitions_op;
extern const struct seq_operations partitions_op;
static int partitions_open(struct inode *inode, struct file *file)
{
return seq_open(file, &partitions_op);
Expand All @@ -389,7 +389,7 @@ static const struct file_operations proc_partitions_operations = {
.release = seq_release,
};

extern struct seq_operations diskstats_op;
extern const struct seq_operations diskstats_op;
static int diskstats_open(struct inode *inode, struct file *file)
{
return seq_open(file, &diskstats_op);
Expand All @@ -403,7 +403,7 @@ static const struct file_operations proc_diskstats_operations = {
#endif

#ifdef CONFIG_MODULES
extern struct seq_operations modules_op;
extern const struct seq_operations modules_op;
static int modules_open(struct inode *inode, struct file *file)
{
return seq_open(file, &modules_op);
Expand All @@ -430,7 +430,7 @@ static const struct file_operations proc_slabinfo_operations = {
};

#ifdef CONFIG_DEBUG_SLAB_LEAK
extern struct seq_operations slabstats_op;
extern const struct seq_operations slabstats_op;
static int slabstats_open(struct inode *inode, struct file *file)
{
unsigned long *n = kzalloc(PAGE_SIZE, GFP_KERNEL);
Expand Down Expand Up @@ -604,7 +604,7 @@ static void int_seq_stop(struct seq_file *f, void *v)
}


static struct seq_operations int_seq_ops = {
static const struct seq_operations int_seq_ops = {
.start = int_seq_start,
.next = int_seq_next,
.stop = int_seq_stop,
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/proc/proc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

static struct dentry_operations proc_sys_dentry_operations;
static const struct file_operations proc_sys_file_operations;
static struct inode_operations proc_sys_inode_operations;
static const struct inode_operations proc_sys_inode_operations;

static void proc_sys_refresh_inode(struct inode *inode, struct ctl_table *table)
{
Expand Down Expand Up @@ -446,7 +446,7 @@ static const struct file_operations proc_sys_file_operations = {
.readdir = proc_sys_readdir,
};

static struct inode_operations proc_sys_inode_operations = {
static const struct inode_operations proc_sys_inode_operations = {
.lookup = proc_sys_lookup,
.permission = proc_sys_permission,
.setattr = proc_sys_setattr,
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/proc_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ static void t_stop(struct seq_file *m, void *v)
mutex_unlock(&tty_mutex);
}

static struct seq_operations tty_drivers_op = {
static const struct seq_operations tty_drivers_op = {
.start = t_start,
.next = t_next,
.stop = t_stop,
Expand Down
8 changes: 4 additions & 4 deletions trunk/fs/proc/task_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static void m_stop(struct seq_file *m, void *v)
}

static int do_maps_open(struct inode *inode, struct file *file,
struct seq_operations *ops)
const struct seq_operations *ops)
{
struct proc_maps_private *priv;
int ret = -ENOMEM;
Expand Down Expand Up @@ -299,7 +299,7 @@ static int show_map(struct seq_file *m, void *v)
return 0;
}

static struct seq_operations proc_pid_maps_op = {
static const struct seq_operations proc_pid_maps_op = {
.start = m_start,
.next = m_next,
.stop = m_stop,
Expand Down Expand Up @@ -434,7 +434,7 @@ static int show_smap(struct seq_file *m, void *v)
return ret;
}

static struct seq_operations proc_pid_smaps_op = {
static const struct seq_operations proc_pid_smaps_op = {
.start = m_start,
.next = m_next,
.stop = m_stop,
Expand Down Expand Up @@ -734,7 +734,7 @@ static int show_numa_map_checked(struct seq_file *m, void *v)
return show_numa_map(m, v);
}

static struct seq_operations proc_pid_numa_maps_op = {
static const struct seq_operations proc_pid_numa_maps_op = {
.start = m_start,
.next = m_next,
.stop = m_stop,
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/proc/task_nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static void *m_next(struct seq_file *m, void *_vml, loff_t *pos)
return vml ? vml->next : NULL;
}

static struct seq_operations proc_pid_maps_ops = {
static const struct seq_operations proc_pid_maps_ops = {
.start = m_start,
.next = m_next,
.stop = m_stop,
Expand Down

0 comments on commit 045d62f

Please sign in to comment.