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
ef9c8db4
Commit
ef9c8db4
authored
Mar 06, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Fix several small bugs/omissions from the 2.5.64 sync.
parent
01cbbadc
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
10 deletions
+16
-10
arch/ia64/kernel/process.c
arch/ia64/kernel/process.c
+1
-1
arch/ia64/kernel/unwind.c
arch/ia64/kernel/unwind.c
+2
-4
include/asm-ia64/ide.h
include/asm-ia64/ide.h
+2
-0
include/asm-ia64/posix_types.h
include/asm-ia64/posix_types.h
+4
-2
include/asm-ia64/siginfo.h
include/asm-ia64/siginfo.h
+5
-2
include/asm-ia64/thread_info.h
include/asm-ia64/thread_info.h
+2
-1
No files found.
arch/ia64/kernel/process.c
View file @
ef9c8db4
...
...
@@ -746,7 +746,7 @@ dup_task_struct(struct task_struct *orig)
memcpy
(
tsk
,
orig
,
sizeof
(
struct
task_struct
)
+
sizeof
(
struct
thread_info
));
tsk
->
thread_info
=
(
struct
thread_info
*
)
((
char
*
)
tsk
+
IA64_TASK_SIZE
);
atomic_set
(
&
tsk
->
usage
,
1
);
atomic_set
(
&
tsk
->
usage
,
2
);
return
tsk
;
}
...
...
arch/ia64/kernel/unwind.c
View file @
ef9c8db4
...
...
@@ -242,7 +242,7 @@ get_scratch_regs (struct unw_frame_info *info)
info
->
pt
=
info
->
sp
-
16
;
}
UNW_DPRINT
(
3
,
"unwind.%s: sp 0x%lx pt 0x%lx
\n
"
,
__FUNCTION__
,
info
->
sp
,
info
->
pt
);
return
info
->
pt
;
return
(
struct
pt_regs
*
)
info
->
pt
;
}
int
...
...
@@ -1641,7 +1641,6 @@ run_script (struct unw_script *script, struct unw_frame_info *state)
struct
unw_insn
*
ip
,
*
limit
,
next_insn
;
unsigned
long
opc
,
dst
,
val
,
off
;
unsigned
long
*
s
=
(
unsigned
long
*
)
state
;
struct
pt_regs
*
pt
;
STAT
(
unsigned
long
start
;)
STAT
(
++
unw
.
stat
.
script
.
runs
;
start
=
ia64_get_itc
());
...
...
@@ -1677,8 +1676,7 @@ run_script (struct unw_script *script, struct unw_frame_info *state)
case
UNW_INSN_MOVE_SCRATCH
:
if
(
state
->
pt
)
{
pt
=
get_scratch_regs
(
state
);
s
[
dst
]
=
pt
+
val
;
s
[
dst
]
=
(
unsigned
long
)
get_scratch_regs
(
state
)
+
val
;
}
else
{
s
[
dst
]
=
0
;
UNW_DPRINT
(
0
,
"unwind.%s: no state->pt, dst=%ld, val=%ld
\n
"
,
...
...
include/asm-ia64/ide.h
View file @
ef9c8db4
...
...
@@ -91,6 +91,8 @@ ide_init_default_hwifs (void)
#endif
}
#include <asm-generic/ide_iops.h>
#endif
/* __KERNEL__ */
#endif
/* __ASM_IA64_IDE_H */
include/asm-ia64/posix_types.h
View file @
ef9c8db4
...
...
@@ -6,8 +6,8 @@
* be a little careful about namespace pollution etc. Also, we cannot
* assume GCC is being used.
*
* Copyright (C) 1998-2000 Hewlett-Packard Co
*
Copyright (C) 1998-2000
David Mosberger-Tang <davidm@hpl.hp.com>
* Copyright (C) 1998-2000
, 2003
Hewlett-Packard Co
*
David Mosberger-Tang <davidm@hpl.hp.com>
*/
typedef
unsigned
int
__kernel_dev_t
;
...
...
@@ -26,6 +26,8 @@ typedef long __kernel_ptrdiff_t;
typedef
long
__kernel_time_t
;
typedef
long
__kernel_suseconds_t
;
typedef
long
__kernel_clock_t
;
typedef
int
__kernel_timer_t
;
typedef
int
__kernel_clockid_t
;
typedef
int
__kernel_daddr_t
;
typedef
char
*
__kernel_caddr_t
;
typedef
unsigned
long
__kernel_sigset_t
;
/* at least 32 bits */
...
...
include/asm-ia64/siginfo.h
View file @
ef9c8db4
...
...
@@ -33,8 +33,11 @@ typedef struct siginfo {
/* POSIX.1b timers */
struct
{
unsigned
int
_timer1
;
unsigned
int
_timer2
;
timer_t
_tid
;
/* timer id */
int
_overrun
;
/* overrun count */
char
_pad
[
sizeof
(
__ARCH_SI_UID_T
)
-
sizeof
(
int
)];
sigval_t
_sigval
;
/* must overlay ._rt._sigval! */
int
_sys_private
;
/* not to be passed to user */
}
_timer
;
/* POSIX.1b signals */
...
...
include/asm-ia64/thread_info.h
View file @
ef9c8db4
/*
* Copyright (C) 2002 Hewlett-Packard Co
* Copyright (C) 2002
-2003
Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
#ifndef _ASM_IA64_THREAD_INFO_H
...
...
@@ -51,6 +51,7 @@ struct thread_info {
/* how to get the thread information struct from C */
#define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE))
#define free_thread_info(ti)
/* nothing */
#endif
/* !__ASSEMBLY */
...
...
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