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
nexedi
linux
Commits
cd350717
Commit
cd350717
authored
Jun 05, 2002
by
Patrick Mochel
Browse files
Options
Browse Files
Download
Plain Diff
Merge hera.kernel.org:/home/mochel/BK/linux-2.5
into hera.kernel.org:/home/mochel/BK/linux-2.5-linus
parents
50da7d0e
3836c942
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/base/sys.c
drivers/base/sys.c
+1
-1
drivers/pci/pci-driver.c
drivers/pci/pci-driver.c
+1
-1
include/linux/init.h
include/linux/init.h
+2
-2
No files found.
drivers/base/sys.c
View file @
cd350717
...
...
@@ -44,6 +44,6 @@ static int sys_bus_init(void)
return
device_register
(
&
system_bus
);
}
subsys
_initcall
(
sys_bus_init
);
postcore
_initcall
(
sys_bus_init
);
EXPORT_SYMBOL
(
register_sys_device
);
EXPORT_SYMBOL
(
unregister_sys_device
);
drivers/pci/pci-driver.c
View file @
cd350717
...
...
@@ -204,7 +204,7 @@ static int __init pci_driver_init(void)
return
bus_register
(
&
pci_bus_type
);
}
subsys
_initcall
(
pci_driver_init
);
postcore
_initcall
(
pci_driver_init
);
EXPORT_SYMBOL
(
pci_match_device
);
EXPORT_SYMBOL
(
pci_register_driver
);
...
...
include/linux/init.h
View file @
cd350717
...
...
@@ -61,7 +61,7 @@ extern initcall_t __initcall_start, __initcall_end;
static initcall_t __initcall_##fn __attribute__ ((unused,__section__ (".initcall" level ".init"))) = fn
#define core_initcall(fn) __define_initcall("1",fn)
#define
unused
_initcall(fn) __define_initcall("2",fn)
#define
postcore
_initcall(fn) __define_initcall("2",fn)
#define arch_initcall(fn) __define_initcall("3",fn)
#define subsys_initcall(fn) __define_initcall("4",fn)
#define fs_initcall(fn) __define_initcall("5",fn)
...
...
@@ -160,7 +160,7 @@ typedef void (*__cleanup_module_func_t)(void);
#define __setup(str,func)
/* nothing */
#define core_initcall(fn) module_init(fn)
#define
unused
_initcall(fn) module_init(fn)
#define
postcore
_initcall(fn) module_init(fn)
#define arch_initcall(fn) module_init(fn)
#define subsys_initcall(fn) module_init(fn)
#define fs_initcall(fn) module_init(fn)
...
...
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