projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376ec33
)
[PATCH] x86_64: Make vsyscall.c compile without CONFIG_SYSCTL
author
Andi Kleen
<ak@suse.de>
Tue, 17 May 2005 04:53:33 +0000
(21:53 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:16 +0000
(07:59 -0700)
Originally from Matt Tolentino
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/vsyscall.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/vsyscall.c
b/arch/x86_64/kernel/vsyscall.c
index 1a7541435ef0161e700b0d00d8c1ea6151cb0fd8..2e5734425949648ea92bd8d7fd9e65e6f99a8ed5 100644
(file)
--- a/
arch/x86_64/kernel/vsyscall.c
+++ b/
arch/x86_64/kernel/vsyscall.c
@@
-217,7
+217,9
@@
static int __init vsyscall_init(void)
BUG_ON((unsigned long) &vtime != VSYSCALL_ADDR(__NR_vtime));
BUG_ON((VSYSCALL_ADDR(0) != __fix_to_virt(VSYSCALL_FIRST_PAGE)));
map_vsyscall();
+#ifdef CONFIG_SYSCTL
register_sysctl_table(kernel_root_table2, 0);
+#endif
return 0;
}