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
7aae857c
Commit
7aae857c
authored
Dec 07, 2002
by
Pete Zaitcev
Committed by
David S. Miller
Dec 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: kill NR_IRQS + 1 stuff.
parent
a7d3162c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/sparc/kernel/irq.c
arch/sparc/kernel/irq.c
+2
-2
No files found.
arch/sparc/kernel/irq.c
View file @
7aae857c
...
@@ -95,7 +95,7 @@ void (*sparc_init_timers)(void (*)(int, void *,struct pt_regs *)) =
...
@@ -95,7 +95,7 @@ void (*sparc_init_timers)(void (*)(int, void *,struct pt_regs *)) =
struct
irqaction
static_irqaction
[
MAX_STATIC_ALLOC
];
struct
irqaction
static_irqaction
[
MAX_STATIC_ALLOC
];
int
static_irq_count
;
int
static_irq_count
;
struct
irqaction
*
irq_action
[
NR_IRQS
+
1
]
=
{
struct
irqaction
*
irq_action
[
NR_IRQS
]
=
{
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
};
};
...
@@ -113,7 +113,7 @@ int show_interrupts(struct seq_file *p, void *v)
...
@@ -113,7 +113,7 @@ int show_interrupts(struct seq_file *p, void *v)
return
show_sun4d_interrupts
(
p
,
v
);
return
show_sun4d_interrupts
(
p
,
v
);
}
}
for
(
i
=
0
;
i
<
(
NR_IRQS
+
1
)
;
i
++
)
{
for
(
i
=
0
;
i
<
NR_IRQS
;
i
++
)
{
action
=
*
(
i
+
irq_action
);
action
=
*
(
i
+
irq_action
);
if
(
!
action
)
if
(
!
action
)
continue
;
continue
;
...
...
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