Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
onny
uboot-i9100
Commits
626d0734
Commit
626d0734
authored
16 years ago
by
Graeme Russ
Committed by
Wolfgang Denk
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixed off-by-one errors in lib_m68k/interrupts.c
Signed-off-by:
Graeme Russ
<
graeme.russ@gmail.com
>
parent
a5989c42
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib_m68k/interrupts.c
+2
-2
2 additions, 2 deletions
lib_m68k/interrupts.c
with
2 additions
and
2 deletions
lib_m68k/interrupts.c
+
2
−
2
View file @
626d0734
...
...
@@ -61,7 +61,7 @@ static __inline__ void set_sr (unsigned short sr)
*/
void
irq_install_handler
(
int
vec
,
interrupt_handler_t
*
handler
,
void
*
arg
)
{
if
((
vec
<
0
)
||
(
vec
>
NR_IRQS
))
{
if
((
vec
<
0
)
||
(
vec
>
=
NR_IRQS
))
{
printf
(
"irq_install_handler: wrong interrupt vector %d
\n
"
,
vec
);
return
;
...
...
@@ -73,7 +73,7 @@ void irq_install_handler (int vec, interrupt_handler_t * handler, void *arg)
void
irq_free_handler
(
int
vec
)
{
if
((
vec
<
0
)
||
(
vec
>
NR_IRQS
))
{
if
((
vec
<
0
)
||
(
vec
>
=
NR_IRQS
))
{
return
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment