Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Martyn Welch
linux
Commits
c442b806
Commit
c442b806
authored
14 years ago
by
Thomas Gleixner
Browse files
Options
Downloads
Patches
Plain Diff
xen: Cleanup genirq namespace
Converted with coccinelle. Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
37daf322
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
drivers/xen/events.c
+11
-11
11 additions, 11 deletions
drivers/xen/events.c
with
11 additions
and
11 deletions
drivers/xen/events.c
+
11
−
11
View file @
c442b806
...
...
@@ -122,7 +122,7 @@ static struct irq_chip xen_pirq_chip;
/* Get info for IRQ */
static
struct
irq_info
*
info_for_irq
(
unsigned
irq
)
{
return
get_irq
_data
(
irq
);
return
irq_get_handler
_data
(
irq
);
}
/* Constructors for packed IRQ information. */
...
...
@@ -403,7 +403,7 @@ static void xen_irq_init(unsigned irq)
info
->
type
=
IRQT_UNBOUND
;
set_irq
_data
(
irq
,
info
);
irq_set_handler
_data
(
irq
,
info
);
list_add_tail
(
&
info
->
list
,
&
xen_irq_list_head
);
}
...
...
@@ -458,11 +458,11 @@ static int __must_check xen_allocate_irq_gsi(unsigned gsi)
static
void
xen_free_irq
(
unsigned
irq
)
{
struct
irq_info
*
info
=
get_irq
_data
(
irq
);
struct
irq_info
*
info
=
irq_get_handler
_data
(
irq
);
list_del
(
&
info
->
list
);
set_irq
_data
(
irq
,
NULL
);
irq_set_handler
_data
(
irq
,
NULL
);
kfree
(
info
);
...
...
@@ -639,8 +639,8 @@ int xen_bind_pirq_gsi_to_irq(unsigned gsi,
if
(
irq
<
0
)
goto
out
;
set_irq
_chip_and_handler_name
(
irq
,
&
xen_pirq_chip
,
handle_level_irq
,
name
);
irq_set
_chip_and_handler_name
(
irq
,
&
xen_pirq_chip
,
handle_level_irq
,
name
);
irq_op
.
irq
=
irq
;
irq_op
.
vector
=
0
;
...
...
@@ -690,8 +690,8 @@ int xen_bind_pirq_msi_to_irq(struct pci_dev *dev, struct msi_desc *msidesc,
if
(
irq
==
-
1
)
goto
out
;
set_irq
_chip_and_handler_name
(
irq
,
&
xen_pirq_chip
,
handle_level_irq
,
name
);
irq_set
_chip_and_handler_name
(
irq
,
&
xen_pirq_chip
,
handle_level_irq
,
name
);
xen_irq_info_pirq_init
(
irq
,
0
,
pirq
,
0
,
vector
,
0
);
ret
=
irq_set_msi_desc
(
irq
,
msidesc
);
...
...
@@ -772,7 +772,7 @@ int bind_evtchn_to_irq(unsigned int evtchn)
if
(
irq
==
-
1
)
goto
out
;
set_irq
_chip_and_handler_name
(
irq
,
&
xen_dynamic_chip
,
irq_set
_chip_and_handler_name
(
irq
,
&
xen_dynamic_chip
,
handle_fasteoi_irq
,
"event"
);
xen_irq_info_evtchn_init
(
irq
,
evtchn
);
...
...
@@ -799,7 +799,7 @@ static int bind_ipi_to_irq(unsigned int ipi, unsigned int cpu)
if
(
irq
<
0
)
goto
out
;
set_irq
_chip_and_handler_name
(
irq
,
&
xen_percpu_chip
,
irq_set
_chip_and_handler_name
(
irq
,
&
xen_percpu_chip
,
handle_percpu_irq
,
"ipi"
);
bind_ipi
.
vcpu
=
cpu
;
...
...
@@ -848,7 +848,7 @@ int bind_virq_to_irq(unsigned int virq, unsigned int cpu)
if
(
irq
==
-
1
)
goto
out
;
set_irq
_chip_and_handler_name
(
irq
,
&
xen_percpu_chip
,
irq_set
_chip_and_handler_name
(
irq
,
&
xen_percpu_chip
,
handle_percpu_irq
,
"virq"
);
bind_virq
.
virq
=
virq
;
...
...
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