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
0b799d7c
Commit
0b799d7c
authored
Mar 06, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Always claim the timer IRQ using SA_INTERRUPT.
parent
cf26ff0d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
5 deletions
+1
-5
arch/arm/kernel/time.c
arch/arm/kernel/time.c
+1
-0
include/asm-arm/arch-anakin/time.h
include/asm-arm/arch-anakin/time.h
+0
-1
include/asm-arm/arch-sa1100/time.h
include/asm-arm/arch-sa1100/time.h
+0
-3
include/asm-arm/arch-shark/time.h
include/asm-arm/arch-shark/time.h
+0
-1
No files found.
arch/arm/kernel/time.c
View file @
0b799d7c
...
...
@@ -200,6 +200,7 @@ void do_settimeofday(struct timeval *tv)
static
struct
irqaction
timer_irq
=
{
.
name
=
"timer"
,
.
flags
=
SA_INTERRUPT
,
};
/*
...
...
include/asm-arm/arch-anakin/time.h
View file @
0b799d7c
...
...
@@ -23,7 +23,6 @@ anakin_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
void
__init
time_init
(
void
)
{
timer_irq
.
handler
=
anakin_timer_interrupt
;
timer_irq
.
flags
=
SA_INTERRUPT
;
setup_irq
(
IRQ_TICK
,
&
timer_irq
);
}
...
...
include/asm-arm/arch-sa1100/time.h
View file @
0b799d7c
...
...
@@ -75,15 +75,12 @@ static unsigned long sa1100_gettimeoffset (void)
static
void
sa1100_timer_interrupt
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
unsigned
int
next_match
;
unsigned
long
flags
;
do
{
do_leds
();
local_irq_save
(
flags
);
do_timer
(
regs
);
OSSR
=
OSSR_M0
;
/* Clear match on timer 0 */
next_match
=
(
OSMR0
+=
LATCH
);
local_irq_restore
(
flags
);
do_set_rtc
();
}
while
((
signed
long
)(
next_match
-
OSCR
)
<=
0
);
...
...
include/asm-arm/arch-shark/time.h
View file @
0b799d7c
...
...
@@ -34,6 +34,5 @@ void __init time_init(void)
xtime
.
tv_sec
=
0
;
timer_irq
.
handler
=
timer_interrupt
;
timer_irq
.
flags
=
SA_INTERRUPT
;
/* FIXME: really? */
setup_irq
(
IRQ_TIMER
,
&
timer_irq
);
}
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