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
97a85964
Commit
97a85964
authored
Jul 16, 2015
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI/keystone: Prepare irq handlers for irq argument removal
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
5168a73c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
drivers/pci/host/pci-keystone.c
drivers/pci/host/pci-keystone.c
+5
-2
No files found.
drivers/pci/host/pci-keystone.c
View file @
97a85964
...
...
@@ -110,8 +110,9 @@ static int ks_pcie_establish_link(struct keystone_pcie *ks_pcie)
return
-
EINVAL
;
}
static
void
ks_pcie_msi_irq_handler
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
static
void
ks_pcie_msi_irq_handler
(
unsigned
int
__
irq
,
struct
irq_desc
*
desc
)
{
unsigned
int
irq
=
irq_desc_get_irq
(
desc
);
struct
keystone_pcie
*
ks_pcie
=
irq_desc_get_handler_data
(
desc
);
u32
offset
=
irq
-
ks_pcie
->
msi_host_irqs
[
0
];
struct
pcie_port
*
pp
=
&
ks_pcie
->
pp
;
...
...
@@ -137,8 +138,10 @@ static void ks_pcie_msi_irq_handler(unsigned int irq, struct irq_desc *desc)
* Traverse through pending legacy interrupts and invoke handler for each. Also
* takes care of interrupt controller level mask/ack operation.
*/
static
void
ks_pcie_legacy_irq_handler
(
unsigned
int
irq
,
struct
irq_desc
*
desc
)
static
void
ks_pcie_legacy_irq_handler
(
unsigned
int
__irq
,
struct
irq_desc
*
desc
)
{
unsigned
int
irq
=
irq_desc_get_irq
(
desc
);
struct
keystone_pcie
*
ks_pcie
=
irq_desc_get_handler_data
(
desc
);
struct
pcie_port
*
pp
=
&
ks_pcie
->
pp
;
u32
irq_offset
=
irq
-
ks_pcie
->
legacy_host_irqs
[
0
];
...
...
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