Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
1e0edd3f
Commit
1e0edd3f
authored
Oct 17, 2008
by
Alexey Dobriyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proc: spread __init
Signed-off-by:
Alexey Dobriyan
<
adobriyan@gmail.com
>
parent
5bcd7ff9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
fs/proc/proc_devtree.c
fs/proc/proc_devtree.c
+2
-1
fs/proc/proc_sysctl.c
fs/proc/proc_sysctl.c
+2
-2
No files found.
fs/proc/proc_devtree.c
View file @
1e0edd3f
...
...
@@ -4,6 +4,7 @@
* Copyright 1997 Paul Mackerras
*/
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
...
...
@@ -214,7 +215,7 @@ void proc_device_tree_add_node(struct device_node *np,
/*
* Called on initialization to set up the /proc/device-tree subtree
*/
void
proc_device_tree_init
(
void
)
void
__init
proc_device_tree_init
(
void
)
{
struct
device_node
*
root
;
if
(
!
have_of
)
...
...
fs/proc/proc_sysctl.c
View file @
1e0edd3f
/*
* /proc/sys support
*/
#include <linux/init.h>
#include <linux/sysctl.h>
#include <linux/proc_fs.h>
#include <linux/security.h>
...
...
@@ -395,7 +395,7 @@ static struct dentry_operations proc_sys_dentry_operations = {
.
d_compare
=
proc_sys_compare
,
};
int
proc_sys_init
(
void
)
int
__init
proc_sys_init
(
void
)
{
struct
proc_dir_entry
*
proc_sys_root
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment