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
5d8a7b93
Commit
5d8a7b93
authored
Jun 26, 2003
by
David Mosberger
Committed by
David Mosberger
Jun 26, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: A couple of additional fixes to sync with 2.5.73+.
parent
b52adf5b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
13 deletions
+10
-13
arch/ia64/hp/sim/hpsim_irq.c
arch/ia64/hp/sim/hpsim_irq.c
+1
-1
arch/ia64/hp/sim/simscsi.c
arch/ia64/hp/sim/simscsi.c
+1
-0
arch/ia64/kernel/unwind.c
arch/ia64/kernel/unwind.c
+8
-12
No files found.
arch/ia64/hp/sim/hpsim_irq.c
View file @
5d8a7b93
...
@@ -39,7 +39,7 @@ hpsim_irq_init (void)
...
@@ -39,7 +39,7 @@ hpsim_irq_init (void)
int
i
;
int
i
;
for
(
i
=
0
;
i
<
NR_IRQS
;
++
i
)
{
for
(
i
=
0
;
i
<
NR_IRQS
;
++
i
)
{
idesc
=
irq_desc
(
i
);
idesc
=
irq_desc
p
(
i
);
if
(
idesc
->
handler
==
&
no_irq_type
)
if
(
idesc
->
handler
==
&
no_irq_type
)
idesc
->
handler
=
&
irq_type_hp_sim
;
idesc
->
handler
=
&
irq_type_hp_sim
;
}
}
...
...
arch/ia64/hp/sim/simscsi.c
View file @
5d8a7b93
...
@@ -350,6 +350,7 @@ simscsi_queuecommand (Scsi_Cmnd *sc, void (*done)(Scsi_Cmnd *))
...
@@ -350,6 +350,7 @@ simscsi_queuecommand (Scsi_Cmnd *sc, void (*done)(Scsi_Cmnd *))
break
;
break
;
case
MODE_SENSE
:
case
MODE_SENSE
:
case
MODE_SENSE_10
:
/* sd.c uses this to determine whether disk does write-caching. */
/* sd.c uses this to determine whether disk does write-caching. */
memset
(
sc
->
request_buffer
,
0
,
128
);
memset
(
sc
->
request_buffer
,
0
,
128
);
sc
->
result
=
GOOD
;
sc
->
result
=
GOOD
;
...
...
arch/ia64/kernel/unwind.c
View file @
5d8a7b93
...
@@ -55,18 +55,13 @@
...
@@ -55,18 +55,13 @@
#define UNW_HASH_SIZE (1 << UNW_LOG_HASH_SIZE)
#define UNW_HASH_SIZE (1 << UNW_LOG_HASH_SIZE)
#define UNW_STATS 0
/* WARNING: this disabled interrupts for long time-spans!! */
#define UNW_STATS 0
/* WARNING: this disabled interrupts for long time-spans!! */
#define UNW_DEBUG 0
#ifdef UNW_DEBUG
#ifdef UNW_DEBUG
static
unsigned
int
unw_debug_level
=
UNW_DEBUG
;
static
unsigned
int
unw_debug_level
=
UNW_DEBUG
;
# ifdef CONFIG_KDB
# include <linux/kdb.h>
# define UNW_DEBUG_ON(n) (unw_debug_level >= n && !KDB_IS_RUNNING())
# define UNW_DPRINT(n, ...) if (UNW_DEBUG_ON(n)) kdb_printf(__VA_ARGS__)
# else
/* !CONFIG_KDB */
# define UNW_DEBUG_ON(n) unw_debug_level >= n
# define UNW_DEBUG_ON(n) unw_debug_level >= n
/* Do not code a printk level, not all debug lines end in newline */
/* Do not code a printk level, not all debug lines end in newline */
# define UNW_DPRINT(n, ...) if (UNW_DEBUG_ON(n)) printk(__VA_ARGS__)
# define UNW_DPRINT(n, ...) if (UNW_DEBUG_ON(n)) printk(__VA_ARGS__)
# endif
/* CONFIG_KDB */
# define inline
# define inline
#else
/* !UNW_DEBUG */
#else
/* !UNW_DEBUG */
# define UNW_DEBUG_ON(n) 0
# define UNW_DEBUG_ON(n) 0
...
@@ -2124,7 +2119,7 @@ unw_remove_unwind_table (void *handle)
...
@@ -2124,7 +2119,7 @@ unw_remove_unwind_table (void *handle)
kfree
(
table
);
kfree
(
table
);
}
}
static
void
__init
static
int
__init
create_gate_table
(
void
)
create_gate_table
(
void
)
{
{
const
struct
unw_table_entry
*
entry
,
*
start
,
*
end
;
const
struct
unw_table_entry
*
entry
,
*
start
,
*
end
;
...
@@ -2142,7 +2137,7 @@ create_gate_table (void)
...
@@ -2142,7 +2137,7 @@ create_gate_table (void)
if
(
!
punw
)
{
if
(
!
punw
)
{
printk
(
"%s: failed to find gate DSO's unwind table!
\n
"
,
__FUNCTION__
);
printk
(
"%s: failed to find gate DSO's unwind table!
\n
"
,
__FUNCTION__
);
return
;
return
0
;
}
}
start
=
(
const
struct
unw_table_entry
*
)
punw
->
p_vaddr
;
start
=
(
const
struct
unw_table_entry
*
)
punw
->
p_vaddr
;
...
@@ -2159,7 +2154,7 @@ create_gate_table (void)
...
@@ -2159,7 +2154,7 @@ create_gate_table (void)
if
(
!
unw
.
gate_table
)
{
if
(
!
unw
.
gate_table
)
{
unw
.
gate_table_size
=
0
;
unw
.
gate_table_size
=
0
;
printk
(
KERN_ERR
"%s: unable to create unwind data for gate page!
\n
"
,
__FUNCTION__
);
printk
(
KERN_ERR
"%s: unable to create unwind data for gate page!
\n
"
,
__FUNCTION__
);
return
;
return
0
;
}
}
unw
.
gate_table_size
=
size
;
unw
.
gate_table_size
=
size
;
...
@@ -2176,6 +2171,7 @@ create_gate_table (void)
...
@@ -2176,6 +2171,7 @@ create_gate_table (void)
lp
[
2
]
=
info
-
(
char
*
)
unw
.
gate_table
;
/* info */
lp
[
2
]
=
info
-
(
char
*
)
unw
.
gate_table
;
/* info */
}
}
*
lp
=
0
;
/* end-of-table marker */
*
lp
=
0
;
/* end-of-table marker */
return
0
;
}
}
__initcall
(
create_gate_table
);
__initcall
(
create_gate_table
);
...
...
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