Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86593
b: refs/heads/master
c: d67bbac
h: refs/heads/master
i:
  86591: e5e1964
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Feb 29, 2008
1 parent a0158b0 commit 683e967
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: cded932b75ab0a5f9181ee3da34a0a488d1a14fd
refs/heads/master: d67bbacb4b557ece3b41abdcb616354ac0ce00e1
11 changes: 10 additions & 1 deletion trunk/arch/x86/kernel/vsyscall_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,19 @@ long __vsyscall(3) venosys_1(void)
}

#ifdef CONFIG_SYSCTL

static int
vsyscall_sysctl_change(ctl_table *ctl, int write, struct file * filp,
void __user *buffer, size_t *lenp, loff_t *ppos)
{
return proc_dointvec(ctl, write, filp, buffer, lenp, ppos);
}

static ctl_table kernel_table2[] = {
{ .procname = "vsyscall64",
.data = &vsyscall_gtod_data.sysctl_enabled, .maxlen = sizeof(int),
.mode = 0644 },
.mode = 0644,
.proc_handler = vsyscall_sysctl_change },
{}
};

Expand Down

0 comments on commit 683e967

Please sign in to comment.