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
83c65b19
Commit
83c65b19
authored
Nov 17, 2002
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CONFIG_MODULES=n build: only call extable_init if CONFIG_MODULES.
parent
65066418
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
init/main.c
init/main.c
+6
-2
No files found.
init/main.c
View file @
83c65b19
...
@@ -60,10 +60,8 @@ extern char *linux_banner;
...
@@ -60,10 +60,8 @@ extern char *linux_banner;
static
int
init
(
void
*
);
static
int
init
(
void
*
);
extern
void
init_IRQ
(
void
);
extern
void
init_IRQ
(
void
);
extern
void
init_modules
(
void
);
extern
void
sock_init
(
void
);
extern
void
sock_init
(
void
);
extern
void
fork_init
(
unsigned
long
);
extern
void
fork_init
(
unsigned
long
);
extern
void
extable_init
(
void
);
extern
void
mca_init
(
void
);
extern
void
mca_init
(
void
);
extern
void
sbus_init
(
void
);
extern
void
sbus_init
(
void
);
extern
void
sysctl_init
(
void
);
extern
void
sysctl_init
(
void
);
...
@@ -75,6 +73,10 @@ extern void radix_tree_init(void);
...
@@ -75,6 +73,10 @@ extern void radix_tree_init(void);
extern
void
free_initmem
(
void
);
extern
void
free_initmem
(
void
);
extern
void
populate_rootfs
(
void
);
extern
void
populate_rootfs
(
void
);
#ifdef CONFIG_MODULES
extern
void
extable_init
(
void
);
#endif
#ifdef CONFIG_TC
#ifdef CONFIG_TC
extern
void
tc_init
(
void
);
extern
void
tc_init
(
void
);
#endif
#endif
...
@@ -395,7 +397,9 @@ asmlinkage void __init start_kernel(void)
...
@@ -395,7 +397,9 @@ asmlinkage void __init start_kernel(void)
printk
(
"Kernel command line: %s
\n
"
,
saved_command_line
);
printk
(
"Kernel command line: %s
\n
"
,
saved_command_line
);
parse_options
(
command_line
);
parse_options
(
command_line
);
trap_init
();
trap_init
();
#ifdef CONFIG_MODULES
extable_init
();
extable_init
();
#endif
rcu_init
();
rcu_init
();
init_IRQ
();
init_IRQ
();
sched_init
();
sched_init
();
...
...
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