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
71479bdc
Commit
71479bdc
authored
Nov 04, 2002
by
Andrew Morton
Committed by
Linus Torvalds
Nov 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] initialize timers under arch/
This completes the kernel-wide audit.
parent
add026ec
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
arch/cris/drivers/ethernet.c
arch/cris/drivers/ethernet.c
+2
-2
arch/ia64/sn/kernel/irq.c
arch/ia64/sn/kernel/irq.c
+1
-1
arch/ia64/sn/kernel/mca.c
arch/ia64/sn/kernel/mca.c
+1
-1
arch/m68k/amiga/amisound.c
arch/m68k/amiga/amisound.c
+1
-1
arch/m68k/mac/macboing.c
arch/m68k/mac/macboing.c
+2
-1
arch/ppc/8xx_io/cs4218_tdm.c
arch/ppc/8xx_io/cs4218_tdm.c
+1
-2
No files found.
arch/cris/drivers/ethernet.c
View file @
71479bdc
...
...
@@ -234,8 +234,8 @@ static struct sk_buff *tx_skb;
static
unsigned
int
network_rec_config_shadow
=
0
;
/* Network speed indication. */
static
struct
timer_list
speed_timer
;
static
struct
timer_list
clear_led_timer
;
static
struct
timer_list
speed_timer
=
TIMER_INITIALIZER
(
NULL
,
0
,
0
)
;
static
struct
timer_list
clear_led_timer
=
TIMER_INITIALIZER
(
NULL
,
0
,
0
)
;
static
int
current_speed
;
/* Speed read from tranceiver */
static
int
current_speed_selection
;
/* Speed selected by user */
static
int
led_next_time
;
...
...
arch/ia64/sn/kernel/irq.c
View file @
71479bdc
...
...
@@ -294,7 +294,7 @@ irq_to_bit_pos(int irq) {
#ifdef ajmtestintr
#include <linux/timer.h>
struct
timer_list
intr_test_timer
;
struct
timer_list
intr_test_timer
=
TIMER_INITIALIZER
(
NULL
,
0
,
0
)
;
int
intr_test_icount
[
NR_IRQS
];
struct
intr_test_reg_struct
{
pcibr_soft_t
pcibr_soft
;
...
...
arch/ia64/sn/kernel/mca.c
View file @
71479bdc
...
...
@@ -238,7 +238,7 @@ sn_cpei_handler(int irq, void *devid, struct pt_regs *regs) {
#include <linux/timer.h>
#define CPEI_INTERVAL (HZ/100)
struct
timer_list
sn_cpei_timer
;
struct
timer_list
sn_cpei_timer
=
TIMER_INITIALIZER
(
NULL
,
0
,
0
)
;
void
sn_init_cpei_timer
(
void
);
void
...
...
arch/m68k/amiga/amisound.c
View file @
71479bdc
...
...
@@ -62,7 +62,7 @@ void __init amiga_init_sound(void)
}
static
void
nosound
(
unsigned
long
ignored
);
static
struct
timer_list
sound_timer
=
{
function
:
nosound
}
;
static
struct
timer_list
sound_timer
=
TIMER_INITIALIZER
(
nosound
,
0
,
0
)
;
void
amiga_mksound
(
unsigned
int
hz
,
unsigned
int
ticks
)
{
...
...
arch/m68k/mac/macboing.c
View file @
71479bdc
...
...
@@ -56,7 +56,8 @@ static void ( *mac_special_bell )( unsigned int, unsigned int, unsigned int ) =
/*
* our timer to start/continue/stop the bell
*/
static
struct
timer_list
mac_sound_timer
=
{
function
:
mac_nosound
};
static
struct
timer_list
mac_sound_timer
=
TIMER_INITIALIZER
(
mac_nosound
,
0
,
0
);
/*
* Sort of initialize the sound chip (called from mac_mksound on the first
...
...
arch/ppc/8xx_io/cs4218_tdm.c
View file @
71479bdc
...
...
@@ -1375,8 +1375,7 @@ static void cs_nosound(unsigned long xx)
restore_flags
(
flags
);
}
static
struct
timer_list
beep_timer
=
{
.
function
=
cs_nosound
static
struct
timer_list
beep_timer
=
TIMER_INITIALIZER
(
cs_nosound
,
0
,
0
);
}
;
static
void
cs_mksound
(
unsigned
int
hz
,
unsigned
int
ticks
)
...
...
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