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
67436cef
Commit
67436cef
authored
Feb 06, 2011
by
Thomas Gleixner
Committed by
Matt Turner
Mar 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alpha: rawhide: Convert irq_chip functions
Signed-off-by:
Matt Turner
<
mattst88@gmail.com
>
parent
a3265263
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
arch/alpha/kernel/sys_rawhide.c
arch/alpha/kernel/sys_rawhide.c
+10
-7
No files found.
arch/alpha/kernel/sys_rawhide.c
View file @
67436cef
...
...
@@ -56,9 +56,10 @@ rawhide_update_irq_hw(int hose, int mask)
(((h) < MCPCIA_MAX_HOSES) && (cached_irq_masks[(h)] != 0))
static
inline
void
rawhide_enable_irq
(
unsigned
int
irq
)
rawhide_enable_irq
(
struct
irq_data
*
d
)
{
unsigned
int
mask
,
hose
;
unsigned
int
irq
=
d
->
irq
;
irq
-=
16
;
hose
=
irq
/
24
;
...
...
@@ -76,9 +77,10 @@ rawhide_enable_irq(unsigned int irq)
}
static
void
rawhide_disable_irq
(
unsigned
int
irq
)
rawhide_disable_irq
(
struct
irq_data
*
d
)
{
unsigned
int
mask
,
hose
;
unsigned
int
irq
=
d
->
irq
;
irq
-=
16
;
hose
=
irq
/
24
;
...
...
@@ -96,9 +98,10 @@ rawhide_disable_irq(unsigned int irq)
}
static
void
rawhide_mask_and_ack_irq
(
unsigned
int
irq
)
rawhide_mask_and_ack_irq
(
struct
irq_data
*
d
)
{
unsigned
int
mask
,
mask1
,
hose
;
unsigned
int
irq
=
d
->
irq
;
irq
-=
16
;
hose
=
irq
/
24
;
...
...
@@ -123,9 +126,9 @@ rawhide_mask_and_ack_irq(unsigned int irq)
static
struct
irq_chip
rawhide_irq_type
=
{
.
name
=
"RAWHIDE"
,
.
unmask
=
rawhide_enable_irq
,
.
mask
=
rawhide_disable_irq
,
.
mask_ack
=
rawhide_mask_and_ack_irq
,
.
irq_unmask
=
rawhide_enable_irq
,
.
irq_mask
=
rawhide_disable_irq
,
.
irq_
mask_ack
=
rawhide_mask_and_ack_irq
,
};
static
void
...
...
@@ -177,8 +180,8 @@ rawhide_init_irq(void)
}
for
(
i
=
16
;
i
<
128
;
++
i
)
{
irq_to_desc
(
i
)
->
status
|=
IRQ_LEVEL
;
set_irq_chip_and_handler
(
i
,
&
rawhide_irq_type
,
handle_level_irq
);
irq_set_status_flags
(
i
,
IRQ_LEVEL
);
}
init_i8259a_irqs
();
...
...
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