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
7e20b26d
Commit
7e20b26d
authored
Jan 18, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Jan 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sn: printk cleanup
From: Pat Gefre <pfg@sgi.com> printk cleanup
parent
fcafa96f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c
arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c
+7
-5
No files found.
arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c
View file @
7e20b26d
...
@@ -309,7 +309,7 @@ pcibr_intr_alloc(vertex_hdl_t pconn_vhdl,
...
@@ -309,7 +309,7 @@ pcibr_intr_alloc(vertex_hdl_t pconn_vhdl,
owner_dev
);
owner_dev
);
PCIBR_DEBUG_ALWAYS
((
PCIBR_DEBUG_INTR_ALLOC
,
pconn_vhdl
,
PCIBR_DEBUG_ALWAYS
((
PCIBR_DEBUG_INTR_ALLOC
,
pconn_vhdl
,
"pcibr_intr_alloc: xtalk_intr=0x%x
\n
"
,
xtalk_intr
));
"pcibr_intr_alloc: xtalk_intr=0x%
l
x
\n
"
,
xtalk_intr
));
/* both an assert and a runtime check on this:
/* both an assert and a runtime check on this:
* we need to check in non-DEBUG kernels, and
* we need to check in non-DEBUG kernels, and
...
@@ -385,8 +385,8 @@ pcibr_intr_alloc(vertex_hdl_t pconn_vhdl,
...
@@ -385,8 +385,8 @@ pcibr_intr_alloc(vertex_hdl_t pconn_vhdl,
&
pcibr_soft
->
bs_intr
[
pcibr_int_bit
].
bsi_pcibr_intr_wrap
.
iw_list
;
&
pcibr_soft
->
bs_intr
[
pcibr_int_bit
].
bsi_pcibr_intr_wrap
.
iw_list
;
PCIBR_DEBUG_ALWAYS
((
PCIBR_DEBUG_INTR_ALLOC
,
pconn_vhdl
,
PCIBR_DEBUG_ALWAYS
((
PCIBR_DEBUG_INTR_ALLOC
,
pconn_vhdl
,
"Bridge bit 0x%x wrap=0x%x
\n
"
,
pcibr_int_bit
,
"Bridge bit 0x%x wrap=0x%
l
x
\n
"
,
pcibr_int_bit
,
pcibr_soft
->
bs_intr
[
pcibr_int_bit
].
bsi_pcibr_intr_wrap
));
&
(
pcibr_soft
->
bs_intr
[
pcibr_int_bit
].
bsi_pcibr_intr_wrap
)
));
if
(
compare_and_swap_ptr
((
void
**
)
intr_list_p
,
NULL
,
intr_entry
))
{
if
(
compare_and_swap_ptr
((
void
**
)
intr_list_p
,
NULL
,
intr_entry
))
{
/* we are the first interrupt on this bridge bit.
/* we are the first interrupt on this bridge bit.
...
@@ -452,6 +452,8 @@ pcibr_intr_alloc(vertex_hdl_t pconn_vhdl,
...
@@ -452,6 +452,8 @@ pcibr_intr_alloc(vertex_hdl_t pconn_vhdl,
hub_intr
=
(
hub_intr_t
)
xtalk_intr
;
hub_intr
=
(
hub_intr_t
)
xtalk_intr
;
pcibr_intr
->
bi_irq
=
hub_intr
->
i_bit
;
pcibr_intr
->
bi_irq
=
hub_intr
->
i_bit
;
pcibr_intr
->
bi_cpu
=
hub_intr
->
i_cpuid
;
pcibr_intr
->
bi_cpu
=
hub_intr
->
i_cpuid
;
PCIBR_DEBUG_ALWAYS
((
PCIBR_DEBUG_INTR_ALLOC
,
pconn_vhdl
,
"pcibr_intr_alloc complete: pcibr_intr=0x%lx
\n
"
,
pcibr_intr
));
return
pcibr_intr
;
return
pcibr_intr
;
}
}
...
@@ -543,8 +545,8 @@ pcibr_intr_connect(pcibr_intr_t pcibr_intr, intr_func_t intr_func, intr_arg_t in
...
@@ -543,8 +545,8 @@ pcibr_intr_connect(pcibr_intr_t pcibr_intr, intr_func_t intr_func, intr_arg_t in
return
-
1
;
return
-
1
;
PCIBR_DEBUG_ALWAYS
((
PCIBR_DEBUG_INTR_ALLOC
,
pcibr_intr
->
bi_dev
,
PCIBR_DEBUG_ALWAYS
((
PCIBR_DEBUG_INTR_ALLOC
,
pcibr_intr
->
bi_dev
,
"pcibr_intr_connect: intr_func=0x%x
\n
"
,
"pcibr_intr_connect: intr_func=0x%
lx, intr_arg=0x%l
x
\n
"
,
pcibr_intr
));
intr_func
,
intr_arg
));
pcibr_intr
->
bi_func
=
intr_func
;
pcibr_intr
->
bi_func
=
intr_func
;
pcibr_intr
->
bi_arg
=
intr_arg
;
pcibr_intr
->
bi_arg
=
intr_arg
;
...
...
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