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
2dd18907
Commit
2dd18907
authored
Jul 07, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
parents
a35d0e11
fd9afbd5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
arch/sparc64/Kconfig
arch/sparc64/Kconfig
+7
-0
arch/sparc64/boot/Makefile
arch/sparc64/boot/Makefile
+3
-3
arch/sparc64/kernel/process.c
arch/sparc64/kernel/process.c
+2
-0
arch/sparc64/kernel/traps.c
arch/sparc64/kernel/traps.c
+4
-1
No files found.
arch/sparc64/Kconfig
View file @
2dd18907
...
@@ -924,6 +924,13 @@ config DEBUG_SPINLOCK
...
@@ -924,6 +924,13 @@ config DEBUG_SPINLOCK
best used in conjunction with the NMI watchdog so that spinlock
best used in conjunction with the NMI watchdog so that spinlock
deadlocks are also debuggable.
deadlocks are also debuggable.
config KALLSYMS
bool "Load all symbols for debugging/ksymoops"
help
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 DEBUG_SPINLOCK_SLEEP
config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking"
bool "Sleep-inside-spinlock checking"
help
help
...
...
arch/sparc64/boot/Makefile
View file @
2dd18907
...
@@ -10,11 +10,11 @@ ELFTOAOUT := elftoaout
...
@@ -10,11 +10,11 @@ ELFTOAOUT := elftoaout
host-progs
:=
piggyback
host-progs
:=
piggyback
targets
:=
image tftpboot.img vmlinux.aout
targets
:=
image tftpboot.img vmlinux.aout
quiet_cmd_elftoaout
=
EL
T
2AOUT
$@
quiet_cmd_elftoaout
=
EL
F
2AOUT
$@
cmd_elftoaout
=
$(ELFTOAOUT)
vmlinux
-o
$@
cmd_elftoaout
=
$(ELFTOAOUT)
vmlinux
-o
$@
quiet_cmd_piggy
=
PIGGY
$@
quiet_cmd_piggy
=
PIGGY
$@
cmd_piggy
=
$(obj)
/piggyback
$@
System.map
$(ROOT_IMG)
cmd_piggy
=
$(obj)
/piggyback
$@
System.map
$(ROOT_IMG)
quiet_cmd_strip
=
STRIP
$@
quiet_cmd_strip
=
STRIP
$@
cmd_strip
=
$(STRIP)
-R
.comment
-R
.note
-K
sun4u_init
-K
_end
-K
_start vmlinux
-o
$@
cmd_strip
=
$(STRIP)
-R
.comment
-R
.note
-K
sun4u_init
-K
_end
-K
_start vmlinux
-o
$@
...
...
arch/sparc64/kernel/process.c
View file @
2dd18907
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/kallsyms.h>
#include <linux/mm.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
...
@@ -284,6 +285,7 @@ void __show_regs(struct pt_regs * regs)
...
@@ -284,6 +285,7 @@ void __show_regs(struct pt_regs * regs)
#endif
#endif
printk
(
"TSTATE: %016lx TPC: %016lx TNPC: %016lx Y: %08x %s
\n
"
,
regs
->
tstate
,
printk
(
"TSTATE: %016lx TPC: %016lx TNPC: %016lx Y: %08x %s
\n
"
,
regs
->
tstate
,
regs
->
tpc
,
regs
->
tnpc
,
regs
->
y
,
print_tainted
());
regs
->
tpc
,
regs
->
tnpc
,
regs
->
y
,
print_tainted
());
print_symbol
(
"TPC: <%s>
\n
"
,
regs
->
tpc
);
printk
(
"g0: %016lx g1: %016lx g2: %016lx g3: %016lx
\n
"
,
printk
(
"g0: %016lx g1: %016lx g2: %016lx g3: %016lx
\n
"
,
regs
->
u_regs
[
0
],
regs
->
u_regs
[
1
],
regs
->
u_regs
[
2
],
regs
->
u_regs
[
0
],
regs
->
u_regs
[
1
],
regs
->
u_regs
[
2
],
regs
->
u_regs
[
3
]);
regs
->
u_regs
[
3
]);
...
...
arch/sparc64/kernel/traps.c
View file @
2dd18907
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
#include <linux/config.h>
#include <linux/config.h>
#include <linux/sched.h>
/* for jiffies */
#include <linux/sched.h>
/* for jiffies */
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/kallsyms.h>
#include <linux/signal.h>
#include <linux/signal.h>
#include <linux/smp.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/smp_lock.h>
...
@@ -1644,7 +1645,9 @@ void die_if_kernel(char *str, struct pt_regs *regs)
...
@@ -1644,7 +1645,9 @@ void die_if_kernel(char *str, struct pt_regs *regs)
(
char
*
)
rw
<
((
char
*
)
current
)
(
char
*
)
rw
<
((
char
*
)
current
)
+
sizeof
(
union
thread_union
)
&&
+
sizeof
(
union
thread_union
)
&&
!
(((
unsigned
long
)
rw
)
&
0x7
))
{
!
(((
unsigned
long
)
rw
)
&
0x7
))
{
printk
(
"Caller[%016lx]
\n
"
,
rw
->
ins
[
7
]);
printk
(
"Caller[%016lx]"
,
rw
->
ins
[
7
]);
print_symbol
(
": %s
\n
"
,
rw
->
ins
[
7
]);
printk
(
"
\n
"
);
lastrw
=
rw
;
lastrw
=
rw
;
rw
=
(
struct
reg_window
*
)
rw
=
(
struct
reg_window
*
)
(
rw
->
ins
[
6
]
+
STACK_BIAS
);
(
rw
->
ins
[
6
]
+
STACK_BIAS
);
...
...
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