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
ee66a461
Commit
ee66a461
authored
Jan 26, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
parents
b6f995cc
b9ac2245
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
60 additions
and
54 deletions
+60
-54
Documentation/fb/modedb.txt
Documentation/fb/modedb.txt
+2
-2
Makefile
Makefile
+9
-5
drivers/net/irda/act200l-sir.c
drivers/net/irda/act200l-sir.c
+2
-2
drivers/net/irda/act200l.c
drivers/net/irda/act200l.c
+2
-2
drivers/net/irda/actisys-sir.c
drivers/net/irda/actisys-sir.c
+2
-2
drivers/net/irda/actisys.c
drivers/net/irda/actisys.c
+2
-2
drivers/net/irda/ali-ircc.c
drivers/net/irda/ali-ircc.c
+1
-1
drivers/net/irda/ep7211_ir.c
drivers/net/irda/ep7211_ir.c
+1
-1
drivers/net/irda/esi.c
drivers/net/irda/esi.c
+2
-2
drivers/net/irda/girbil-sir.c
drivers/net/irda/girbil-sir.c
+2
-2
drivers/net/irda/girbil.c
drivers/net/irda/girbil.c
+2
-2
drivers/net/irda/irport.c
drivers/net/irda/irport.c
+1
-1
drivers/net/irda/litelink-sir.c
drivers/net/irda/litelink-sir.c
+2
-2
drivers/net/irda/litelink.c
drivers/net/irda/litelink.c
+2
-2
drivers/net/irda/ma600-sir.c
drivers/net/irda/ma600-sir.c
+2
-2
drivers/net/irda/ma600.c
drivers/net/irda/ma600.c
+2
-2
drivers/net/irda/mcp2120-sir.c
drivers/net/irda/mcp2120-sir.c
+2
-2
drivers/net/irda/mcp2120.c
drivers/net/irda/mcp2120.c
+2
-2
drivers/net/irda/nsc-ircc.c
drivers/net/irda/nsc-ircc.c
+1
-1
drivers/net/irda/old_belkin-sir.c
drivers/net/irda/old_belkin-sir.c
+2
-2
drivers/net/irda/old_belkin.c
drivers/net/irda/old_belkin.c
+2
-2
drivers/net/irda/smsc-ircc2.c
drivers/net/irda/smsc-ircc2.c
+2
-2
drivers/net/irda/tekram-sir.c
drivers/net/irda/tekram-sir.c
+2
-2
drivers/net/irda/tekram.c
drivers/net/irda/tekram.c
+2
-2
drivers/net/irda/via-ircc.c
drivers/net/irda/via-ircc.c
+1
-1
drivers/net/irda/w83977af_ir.c
drivers/net/irda/w83977af_ir.c
+2
-2
drivers/video/console/fbcon.c
drivers/video/console/fbcon.c
+1
-1
init/main.c
init/main.c
+1
-1
kernel/sched.c
kernel/sched.c
+3
-1
net/ipv6/tcp_ipv6.c
net/ipv6/tcp_ipv6.c
+1
-1
No files found.
Documentation/fb/modedb.txt
View file @
ee66a461
...
@@ -51,10 +51,10 @@ There may be more modes.
...
@@ -51,10 +51,10 @@ There may be more modes.
Drivers that support modedb boot options
Drivers that support modedb boot options
Boot Name Cards Supported
Boot Name Cards Supported
ami
- Amiga chipset frame buffer
ami
fb
- Amiga chipset frame buffer
aty128fb - ATI Rage128 / Pro frame buffer
aty128fb - ATI Rage128 / Pro frame buffer
atyfb - ATI Mach64 frame buffer
atyfb - ATI Mach64 frame buffer
tdfx - 3D Fx frame buffer
tdfx
fb
- 3D Fx frame buffer
tridentfb - Trident (Cyber)blade chipset frame buffer
tridentfb - Trident (Cyber)blade chipset frame buffer
BTW, only a few drivers use this at the moment. Others are to follow
BTW, only a few drivers use this at the moment. Others are to follow
...
...
Makefile
View file @
ee66a461
...
@@ -825,8 +825,15 @@ define all-sources
...
@@ -825,8 +825,15 @@ define all-sources
-name
'*.[chS]'
-print
)
-name
'*.[chS]'
-print
)
endef
endef
quiet_cmd_cscope
=
MAKE
$@
quiet_cmd_cscope-file
=
FILELST cscope.files
cmd_cscope
=
$
(
all-sources
)
| cscope
-k
-b
-i
-
cmd_cscope-file
=
$
(
all-sources
)
>
cscope.files
quiet_cmd_cscope
=
MAKE cscope.out
cmd_cscope
=
cscope
-k
-b
cscope
:
FORCE
$(
call
cmd,cscope-file
)
$(
call
cmd,cscope
)
quiet_cmd_TAGS
=
MAKE
$@
quiet_cmd_TAGS
=
MAKE
$@
cmd_TAGS
=
$
(
all-sources
)
| etags -
cmd_TAGS
=
$
(
all-sources
)
| etags -
...
@@ -840,9 +847,6 @@ define cmd_tags
...
@@ -840,9 +847,6 @@ define cmd_tags
$
(
all-sources
)
| xargs ctags
$$
CTAGSF
-a
$
(
all-sources
)
| xargs ctags
$$
CTAGSF
-a
endef
endef
cscope
:
FORCE
$(
call
cmd,cscope
)
TAGS
:
FORCE
TAGS
:
FORCE
$(
call
cmd,TAGS
)
$(
call
cmd,TAGS
)
...
...
drivers/net/irda/act200l-sir.c
View file @
ee66a461
...
@@ -93,12 +93,12 @@ static struct dongle_driver act200l = {
...
@@ -93,12 +93,12 @@ static struct dongle_driver act200l = {
.
set_speed
=
act200l_change_speed
,
.
set_speed
=
act200l_change_speed
,
};
};
int
__init
act200l_init
(
void
)
static
int
__init
act200l_init
(
void
)
{
{
return
irda_register_dongle
(
&
act200l
);
return
irda_register_dongle
(
&
act200l
);
}
}
void
__exit
act200l_cleanup
(
void
)
static
void
__exit
act200l_cleanup
(
void
)
{
{
irda_unregister_dongle
(
&
act200l
);
irda_unregister_dongle
(
&
act200l
);
}
}
...
...
drivers/net/irda/act200l.c
View file @
ee66a461
...
@@ -92,12 +92,12 @@ static struct dongle_reg dongle = {
...
@@ -92,12 +92,12 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
act200l_init
(
void
)
static
int
__init
act200l_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
act200l_cleanup
(
void
)
static
void
__exit
act200l_cleanup
(
void
)
{
{
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/actisys-sir.c
View file @
ee66a461
...
@@ -89,7 +89,7 @@ static struct dongle_driver act220l_plus = {
...
@@ -89,7 +89,7 @@ static struct dongle_driver act220l_plus = {
.
set_speed
=
actisys_change_speed
,
.
set_speed
=
actisys_change_speed
,
};
};
int
__init
actisys_sir_init
(
void
)
static
int
__init
actisys_sir_init
(
void
)
{
{
int
ret
;
int
ret
;
...
@@ -107,7 +107,7 @@ int __init actisys_sir_init(void)
...
@@ -107,7 +107,7 @@ int __init actisys_sir_init(void)
return
0
;
return
0
;
}
}
void
__exit
actisys_sir_cleanup
(
void
)
static
void
__exit
actisys_sir_cleanup
(
void
)
{
{
/* We have to remove both dongles */
/* We have to remove both dongles */
irda_unregister_dongle
(
&
act220l_plus
);
irda_unregister_dongle
(
&
act220l_plus
);
...
...
drivers/net/irda/actisys.c
View file @
ee66a461
...
@@ -91,7 +91,7 @@ static struct dongle_reg dongle_plus = {
...
@@ -91,7 +91,7 @@ static struct dongle_reg dongle_plus = {
* So, we register a dongle of each sort and let irattach
* So, we register a dongle of each sort and let irattach
* pick the right one...
* pick the right one...
*/
*/
int
__init
actisys_init
(
void
)
static
int
__init
actisys_init
(
void
)
{
{
int
ret
;
int
ret
;
...
@@ -108,7 +108,7 @@ int __init actisys_init(void)
...
@@ -108,7 +108,7 @@ int __init actisys_init(void)
return
0
;
return
0
;
}
}
void
__exit
actisys_cleanup
(
void
)
static
void
__exit
actisys_cleanup
(
void
)
{
{
/* We have to remove both dongles */
/* We have to remove both dongles */
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
...
...
drivers/net/irda/ali-ircc.c
View file @
ee66a461
...
@@ -133,7 +133,7 @@ static void SetCOMInterrupts(struct ali_ircc_cb *self , unsigned char enable);
...
@@ -133,7 +133,7 @@ static void SetCOMInterrupts(struct ali_ircc_cb *self , unsigned char enable);
* Initialize chip. Find out whay kinds of chips we are dealing with
* Initialize chip. Find out whay kinds of chips we are dealing with
* and their configuation registers address
* and their configuation registers address
*/
*/
int
__init
ali_ircc_init
(
void
)
static
int
__init
ali_ircc_init
(
void
)
{
{
ali_chip_t
*
chip
;
ali_chip_t
*
chip
;
chipio_t
info
;
chipio_t
info
;
...
...
drivers/net/irda/ep7211_ir.c
View file @
ee66a461
...
@@ -97,7 +97,7 @@ static int ep7211_ir_reset(struct irda_task *task)
...
@@ -97,7 +97,7 @@ static int ep7211_ir_reset(struct irda_task *task)
* Initialize EP7211 I/R module
* Initialize EP7211 I/R module
*
*
*/
*/
int
__init
ep7211_ir_init
(
void
)
static
int
__init
ep7211_ir_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/esi.c
View file @
ee66a461
...
@@ -52,12 +52,12 @@ static struct dongle_reg dongle = {
...
@@ -52,12 +52,12 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
esi_init
(
void
)
static
int
__init
esi_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
esi_cleanup
(
void
)
static
void
__exit
esi_cleanup
(
void
)
{
{
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/girbil-sir.c
View file @
ee66a461
...
@@ -72,12 +72,12 @@ static struct dongle_driver girbil = {
...
@@ -72,12 +72,12 @@ static struct dongle_driver girbil = {
.
set_speed
=
girbil_change_speed
,
.
set_speed
=
girbil_change_speed
,
};
};
int
__init
girbil_init
(
void
)
static
int
__init
girbil_init
(
void
)
{
{
return
irda_register_dongle
(
&
girbil
);
return
irda_register_dongle
(
&
girbil
);
}
}
void
__exit
girbil_cleanup
(
void
)
static
void
__exit
girbil_cleanup
(
void
)
{
{
irda_unregister_dongle
(
&
girbil
);
irda_unregister_dongle
(
&
girbil
);
}
}
...
...
drivers/net/irda/girbil.c
View file @
ee66a461
...
@@ -71,12 +71,12 @@ static struct dongle_reg dongle = {
...
@@ -71,12 +71,12 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
girbil_init
(
void
)
static
int
__init
girbil_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
girbil_cleanup
(
void
)
static
void
__exit
girbil_cleanup
(
void
)
{
{
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/irport.c
View file @
ee66a461
...
@@ -98,7 +98,7 @@ EXPORT_SYMBOL(irport_change_speed);
...
@@ -98,7 +98,7 @@ EXPORT_SYMBOL(irport_change_speed);
EXPORT_SYMBOL
(
irport_net_open
);
EXPORT_SYMBOL
(
irport_net_open
);
EXPORT_SYMBOL
(
irport_net_close
);
EXPORT_SYMBOL
(
irport_net_close
);
int
__init
irport_init
(
void
)
static
int
__init
irport_init
(
void
)
{
{
int
i
;
int
i
;
...
...
drivers/net/irda/litelink-sir.c
View file @
ee66a461
...
@@ -64,12 +64,12 @@ static struct dongle_driver litelink = {
...
@@ -64,12 +64,12 @@ static struct dongle_driver litelink = {
.
set_speed
=
litelink_change_speed
,
.
set_speed
=
litelink_change_speed
,
};
};
int
__init
litelink_sir_init
(
void
)
static
int
__init
litelink_sir_init
(
void
)
{
{
return
irda_register_dongle
(
&
litelink
);
return
irda_register_dongle
(
&
litelink
);
}
}
void
__exit
litelink_sir_cleanup
(
void
)
static
void
__exit
litelink_sir_cleanup
(
void
)
{
{
irda_unregister_dongle
(
&
litelink
);
irda_unregister_dongle
(
&
litelink
);
}
}
...
...
drivers/net/irda/litelink.c
View file @
ee66a461
...
@@ -56,12 +56,12 @@ static struct dongle_reg dongle = {
...
@@ -56,12 +56,12 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
litelink_init
(
void
)
static
int
__init
litelink_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
litelink_cleanup
(
void
)
static
void
__exit
litelink_cleanup
(
void
)
{
{
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/ma600-sir.c
View file @
ee66a461
...
@@ -66,13 +66,13 @@ static struct dongle_driver ma600 = {
...
@@ -66,13 +66,13 @@ static struct dongle_driver ma600 = {
};
};
int
__init
ma600_sir_init
(
void
)
static
int
__init
ma600_sir_init
(
void
)
{
{
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
return
irda_register_dongle
(
&
ma600
);
return
irda_register_dongle
(
&
ma600
);
}
}
void
__exit
ma600_sir_cleanup
(
void
)
static
void
__exit
ma600_sir_cleanup
(
void
)
{
{
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
irda_unregister_dongle
(
&
ma600
);
irda_unregister_dongle
(
&
ma600
);
...
...
drivers/net/irda/ma600.c
View file @
ee66a461
...
@@ -82,13 +82,13 @@ static struct dongle_reg dongle = {
...
@@ -82,13 +82,13 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
ma600_init
(
void
)
static
int
__init
ma600_init
(
void
)
{
{
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
ma600_cleanup
(
void
)
static
void
__exit
ma600_cleanup
(
void
)
{
{
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
IRDA_DEBUG
(
2
,
"%s()
\n
"
,
__FUNCTION__
);
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
...
...
drivers/net/irda/mcp2120-sir.c
View file @
ee66a461
...
@@ -49,12 +49,12 @@ static struct dongle_driver mcp2120 = {
...
@@ -49,12 +49,12 @@ static struct dongle_driver mcp2120 = {
.
set_speed
=
mcp2120_change_speed
,
.
set_speed
=
mcp2120_change_speed
,
};
};
int
__init
mcp2120_init
(
void
)
static
int
__init
mcp2120_init
(
void
)
{
{
return
irda_register_dongle
(
&
mcp2120
);
return
irda_register_dongle
(
&
mcp2120
);
}
}
void
__exit
mcp2120_cleanup
(
void
)
static
void
__exit
mcp2120_cleanup
(
void
)
{
{
irda_unregister_dongle
(
&
mcp2120
);
irda_unregister_dongle
(
&
mcp2120
);
}
}
...
...
drivers/net/irda/mcp2120.c
View file @
ee66a461
...
@@ -48,12 +48,12 @@ static struct dongle_reg dongle = {
...
@@ -48,12 +48,12 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
mcp2120_init
(
void
)
static
int
__init
mcp2120_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
mcp2120_cleanup
(
void
)
static
void
__exit
mcp2120_cleanup
(
void
)
{
{
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/nsc-ircc.c
View file @
ee66a461
...
@@ -155,7 +155,7 @@ static int nsc_ircc_pmproc(struct pm_dev *dev, pm_request_t rqst, void *data);
...
@@ -155,7 +155,7 @@ static int nsc_ircc_pmproc(struct pm_dev *dev, pm_request_t rqst, void *data);
* Initialize chip. Just try to find out how many chips we are dealing with
* Initialize chip. Just try to find out how many chips we are dealing with
* and where they are
* and where they are
*/
*/
int
__init
nsc_ircc_init
(
void
)
static
int
__init
nsc_ircc_init
(
void
)
{
{
chipio_t
info
;
chipio_t
info
;
nsc_chip_t
*
chip
;
nsc_chip_t
*
chip
;
...
...
drivers/net/irda/old_belkin-sir.c
View file @
ee66a461
...
@@ -78,12 +78,12 @@ static struct dongle_driver old_belkin = {
...
@@ -78,12 +78,12 @@ static struct dongle_driver old_belkin = {
.
set_speed
=
old_belkin_change_speed
,
.
set_speed
=
old_belkin_change_speed
,
};
};
int
__init
old_belkin_init
(
void
)
static
int
__init
old_belkin_init
(
void
)
{
{
return
irda_register_dongle
(
&
old_belkin
);
return
irda_register_dongle
(
&
old_belkin
);
}
}
void
__exit
old_belkin_cleanup
(
void
)
static
void
__exit
old_belkin_cleanup
(
void
)
{
{
irda_unregister_dongle
(
&
old_belkin
);
irda_unregister_dongle
(
&
old_belkin
);
}
}
...
...
drivers/net/irda/old_belkin.c
View file @
ee66a461
...
@@ -82,12 +82,12 @@ static struct dongle_reg dongle = {
...
@@ -82,12 +82,12 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
old_belkin_init
(
void
)
static
int
__init
old_belkin_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
old_belkin_cleanup
(
void
)
static
void
__exit
old_belkin_cleanup
(
void
)
{
{
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/smsc-ircc2.c
View file @
ee66a461
...
@@ -322,7 +322,7 @@ static inline void register_bank(int iobase, int bank)
...
@@ -322,7 +322,7 @@ static inline void register_bank(int iobase, int bank)
* Initialize chip. Just try to find out how many chips we are dealing with
* Initialize chip. Just try to find out how many chips we are dealing with
* and where they are
* and where they are
*/
*/
int
__init
smsc_ircc_init
(
void
)
static
int
__init
smsc_ircc_init
(
void
)
{
{
int
ret
=-
ENODEV
;
int
ret
=-
ENODEV
;
...
@@ -1727,7 +1727,7 @@ static int __exit smsc_ircc_close(struct smsc_ircc_cb *self)
...
@@ -1727,7 +1727,7 @@ static int __exit smsc_ircc_close(struct smsc_ircc_cb *self)
return
0
;
return
0
;
}
}
void
__exit
smsc_ircc_cleanup
(
void
)
static
void
__exit
smsc_ircc_cleanup
(
void
)
{
{
int
i
;
int
i
;
...
...
drivers/net/irda/tekram-sir.c
View file @
ee66a461
...
@@ -59,7 +59,7 @@ static struct dongle_driver tekram = {
...
@@ -59,7 +59,7 @@ static struct dongle_driver tekram = {
.
set_speed
=
tekram_change_speed
,
.
set_speed
=
tekram_change_speed
,
};
};
int
__init
tekram_sir_init
(
void
)
static
int
__init
tekram_sir_init
(
void
)
{
{
if
(
tekram_delay
<
1
||
tekram_delay
>
500
)
if
(
tekram_delay
<
1
||
tekram_delay
>
500
)
tekram_delay
=
200
;
tekram_delay
=
200
;
...
@@ -68,7 +68,7 @@ int __init tekram_sir_init(void)
...
@@ -68,7 +68,7 @@ int __init tekram_sir_init(void)
return
irda_register_dongle
(
&
tekram
);
return
irda_register_dongle
(
&
tekram
);
}
}
void
__exit
tekram_sir_cleanup
(
void
)
static
void
__exit
tekram_sir_cleanup
(
void
)
{
{
irda_unregister_dongle
(
&
tekram
);
irda_unregister_dongle
(
&
tekram
);
}
}
...
...
drivers/net/irda/tekram.c
View file @
ee66a461
...
@@ -52,12 +52,12 @@ static struct dongle_reg dongle = {
...
@@ -52,12 +52,12 @@ static struct dongle_reg dongle = {
.
owner
=
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
};
};
int
__init
tekram_init
(
void
)
static
int
__init
tekram_init
(
void
)
{
{
return
irda_device_register_dongle
(
&
dongle
);
return
irda_device_register_dongle
(
&
dongle
);
}
}
void
__exit
tekram_cleanup
(
void
)
static
void
__exit
tekram_cleanup
(
void
)
{
{
irda_device_unregister_dongle
(
&
dongle
);
irda_device_unregister_dongle
(
&
dongle
);
}
}
...
...
drivers/net/irda/via-ircc.c
View file @
ee66a461
...
@@ -145,7 +145,7 @@ static struct pci_driver via_driver = {
...
@@ -145,7 +145,7 @@ static struct pci_driver via_driver = {
*
*
* Initialize chip. Just find out chip type and resource.
* Initialize chip. Just find out chip type and resource.
*/
*/
int
__init
via_ircc_init
(
void
)
static
int
__init
via_ircc_init
(
void
)
{
{
int
rc
;
int
rc
;
...
...
drivers/net/irda/w83977af_ir.c
View file @
ee66a461
...
@@ -110,7 +110,7 @@ static struct net_device_stats *w83977af_net_get_stats(struct net_device *dev);
...
@@ -110,7 +110,7 @@ static struct net_device_stats *w83977af_net_get_stats(struct net_device *dev);
* Initialize chip. Just try to find out how many chips we are dealing with
* Initialize chip. Just try to find out how many chips we are dealing with
* and where they are
* and where they are
*/
*/
int
__init
w83977af_init
(
void
)
static
int
__init
w83977af_init
(
void
)
{
{
int
i
;
int
i
;
...
@@ -129,7 +129,7 @@ int __init w83977af_init(void)
...
@@ -129,7 +129,7 @@ int __init w83977af_init(void)
* Close all configured chips
* Close all configured chips
*
*
*/
*/
void
__exit
w83977af_cleanup
(
void
)
static
void
__exit
w83977af_cleanup
(
void
)
{
{
int
i
;
int
i
;
...
...
drivers/video/console/fbcon.c
View file @
ee66a461
...
@@ -545,7 +545,7 @@ static const char *fbcon_startup(void)
...
@@ -545,7 +545,7 @@ static const char *fbcon_startup(void)
return
display_desc
;
return
display_desc
;
done
=
1
;
done
=
1
;
info
=
registered_fb
[
num_registered_fb
-
1
];
info
=
registered_fb
[
0
];
if
(
!
info
)
return
NULL
;
if
(
!
info
)
return
NULL
;
info
->
currcon
=
-
1
;
info
->
currcon
=
-
1
;
...
...
init/main.c
View file @
ee66a461
...
@@ -409,6 +409,7 @@ asmlinkage void __init start_kernel(void)
...
@@ -409,6 +409,7 @@ asmlinkage void __init start_kernel(void)
parse_args
(
"Booting kernel"
,
command_line
,
__start___param
,
parse_args
(
"Booting kernel"
,
command_line
,
__start___param
,
__stop___param
-
__start___param
,
__stop___param
-
__start___param
,
&
unknown_bootoption
);
&
unknown_bootoption
);
sort_main_extable
();
trap_init
();
trap_init
();
rcu_init
();
rcu_init
();
init_IRQ
();
init_IRQ
();
...
@@ -436,7 +437,6 @@ asmlinkage void __init start_kernel(void)
...
@@ -436,7 +437,6 @@ asmlinkage void __init start_kernel(void)
page_address_init
();
page_address_init
();
mem_init
();
mem_init
();
kmem_cache_init
();
kmem_cache_init
();
sort_main_extable
();
if
(
late_time_init
)
if
(
late_time_init
)
late_time_init
();
late_time_init
();
calibrate_delay
();
calibrate_delay
();
...
...
kernel/sched.c
View file @
ee66a461
...
@@ -124,6 +124,9 @@
...
@@ -124,6 +124,9 @@
(NS_TO_JIFFIES((p)->sleep_avg) * MAX_BONUS / \
(NS_TO_JIFFIES((p)->sleep_avg) * MAX_BONUS / \
MAX_SLEEP_AVG)
MAX_SLEEP_AVG)
/* spinlock debugging needs this, even on !CONFIG_SMP */
spinlock_t
kernel_flag
__cacheline_aligned_in_smp
=
SPIN_LOCK_UNLOCKED
;
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
#define TIMESLICE_GRANULARITY(p) (MIN_TIMESLICE * \
#define TIMESLICE_GRANULARITY(p) (MIN_TIMESLICE * \
(1 << (((MAX_BONUS - CURRENT_BONUS(p)) ? : 1) - 1)) * \
(1 << (((MAX_BONUS - CURRENT_BONUS(p)) ? : 1) - 1)) * \
...
@@ -2867,7 +2870,6 @@ __init int migration_init(void)
...
@@ -2867,7 +2870,6 @@ __init int migration_init(void)
*
*
* Don't use in new code.
* Don't use in new code.
*/
*/
spinlock_t
kernel_flag
__cacheline_aligned_in_smp
=
SPIN_LOCK_UNLOCKED
;
EXPORT_SYMBOL
(
kernel_flag
);
EXPORT_SYMBOL
(
kernel_flag
);
#endif
#endif
...
...
net/ipv6/tcp_ipv6.c
View file @
ee66a461
...
@@ -485,7 +485,7 @@ static int tcp_v6_check_established(struct sock *sk)
...
@@ -485,7 +485,7 @@ static int tcp_v6_check_established(struct sock *sk)
unique:
unique:
BUG_TRAP
(
sk_unhashed
(
sk
));
BUG_TRAP
(
sk_unhashed
(
sk
));
sk_add_node
(
sk
,
&
head
->
chain
);
__
sk_add_node
(
sk
,
&
head
->
chain
);
sk
->
sk_hashent
=
hash
;
sk
->
sk_hashent
=
hash
;
sock_prot_inc_use
(
sk
->
sk_prot
);
sock_prot_inc_use
(
sk
->
sk_prot
);
write_unlock_bh
(
&
head
->
lock
);
write_unlock_bh
(
&
head
->
lock
);
...
...
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