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
c948a950
Commit
c948a950
authored
Sep 27, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Sync with 2.5.39.
parent
34f4843b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
2 deletions
+21
-2
arch/ia64/Config.help
arch/ia64/Config.help
+5
-0
arch/ia64/config.in
arch/ia64/config.in
+1
-0
arch/ia64/kernel/process.c
arch/ia64/kernel/process.c
+7
-2
arch/ia64/vmlinux.lds.S
arch/ia64/vmlinux.lds.S
+8
-0
No files found.
arch/ia64/Config.help
View file @
c948a950
...
...
@@ -157,6 +157,11 @@ CONFIG_PCMCIA
and ds.o. If you want to compile it as a module, say M here and
read <file:Documentation/modules.txt>.
CONFIG_KALLSYMS
Say Y here to let the kernel print out symbolic crash information and
symbolic stack backtraces. This increases the size of the kernel
somewhat, as all symbols have to be loaded into the kernel image.
CONFIG_KCORE_ELF
If you enabled support for /proc file system then the file
/proc/kcore will contain the kernel core image. This can be used
...
...
arch/ia64/config.in
View file @
c948a950
...
...
@@ -263,6 +263,7 @@ choice 'Physical memory granularity' \
bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
bool ' Load all symbols for debugging/kksymoops' CONFIG_KALLSYMS
bool ' Print possible IA64 hazards to console' CONFIG_IA64_PRINT_HAZARDS
bool ' Disable VHPT' CONFIG_DISABLE_VHPT
bool ' Magic SysRq key' CONFIG_MAGIC_SYSRQ
...
...
arch/ia64/kernel/process.c
View file @
c948a950
...
...
@@ -12,6 +12,7 @@
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/personality.h>
#include <linux/sched.h>
#include <linux/slab.h>
...
...
@@ -45,8 +46,9 @@ static void
do_show_stack
(
struct
unw_frame_info
*
info
,
void
*
arg
)
{
unsigned
long
ip
,
sp
,
bsp
;
char
buf
[
80
];
/* don't make it so big that it overflows the stack! */
printk
(
"
\n
Call Trace:
"
);
printk
(
"
\n
Call Trace:
\n
"
);
do
{
unw_get_ip
(
info
,
&
ip
);
if
(
ip
==
0
)
...
...
@@ -54,7 +56,9 @@ do_show_stack (struct unw_frame_info *info, void *arg)
unw_get_sp
(
info
,
&
sp
);
unw_get_bsp
(
info
,
&
bsp
);
printk
(
"[<%016lx>] sp=0x%016lx bsp=0x%016lx
\n
"
,
ip
,
sp
,
bsp
);
snprintf
(
buf
,
sizeof
(
buf
),
" [<%016lx>] %%s sp=0x%016lx bsp=0x%016lx
\n
"
,
ip
,
sp
,
bsp
);
print_symbol
(
buf
,
ip
);
}
while
(
unw_unwind
(
info
)
>=
0
);
}
...
...
@@ -94,6 +98,7 @@ show_regs (struct pt_regs *regs)
printk
(
"
\n
Pid: %d, comm: %20s
\n
"
,
current
->
pid
,
current
->
comm
);
printk
(
"psr : %016lx ifs : %016lx ip : [<%016lx>] %s
\n
"
,
regs
->
cr_ipsr
,
regs
->
cr_ifs
,
ip
,
print_tainted
());
print_symbol
(
"ip is at %s
\n
"
,
ip
);
printk
(
"unat: %016lx pfs : %016lx rsc : %016lx
\n
"
,
regs
->
ar_unat
,
regs
->
ar_pfs
,
regs
->
ar_rsc
);
printk
(
"rnat: %016lx bsps: %016lx pr : %016lx
\n
"
,
...
...
arch/ia64/vmlinux.lds.S
View file @
c948a950
...
...
@@ -160,6 +160,14 @@ SECTIONS
.
bss
:
AT
(
ADDR
(
.
bss
)
-
PAGE_OFFSET
)
{
*(
.
bss
)
*(
COMMON
)
}
/
*
XXX
Must
this
come
last
to
avoid
shifting
other
symbols
?
--
davidm
*/
__kallsyms
:
AT
(
ADDR
(
__kallsyms
)
-
PAGE_OFFSET
)
{
__start___kallsyms
=
.
; /* All kernel symbols */
*(
__kallsyms
)
__stop___kallsyms
=
.
;
}
_end
=
.
;
/
*
Stabs
debugging
sections
.
*/
...
...
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