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
d38045b0
Commit
d38045b0
authored
Apr 09, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: fix up some warnings
parent
c9b3c920
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
11 deletions
+7
-11
arch/ppc64/xmon/start.c
arch/ppc64/xmon/start.c
+2
-3
arch/ppc64/xmon/xmon.c
arch/ppc64/xmon/xmon.c
+5
-8
No files found.
arch/ppc64/xmon/start.c
View file @
d38045b0
...
...
@@ -7,12 +7,11 @@
* 2 of the License, or (at your option) any later version.
*/
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/sysrq.h>
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/page.h>
#include <linux/pmu.h>
#include <linux/kernel.h>
#include <linux/sysrq.h>
#include <asm/prom.h>
#include <asm/processor.h>
...
...
arch/ppc64/xmon/xmon.c
View file @
d38045b0
...
...
@@ -12,6 +12,8 @@
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/mm.h>
#include <linux/reboot.h>
#include <asm/ptrace.h>
#include <asm/string.h>
#include <asm/prom.h>
...
...
@@ -22,13 +24,9 @@
#include <asm/mmu_context.h>
#include <asm/Naca.h>
#include <asm/Paca.h>
#include <asm/ppcdebug.h>
#include "nonstdio.h"
#include "privinst.h"
#include <linux/mm.h>
#include <asm/ppcdebug.h>
#include <asm/Paca.h>
#define scanhex xmon_scanhex
#define skipbl xmon_skipbl
...
...
@@ -132,7 +130,6 @@ static void mem_map_check_slab(void);
static
void
mem_map_lock_pages
(
void
);
static
void
mem_map_check_hash
(
void
);
static
void
mem_check_dup_rpn
(
void
);
static
void
show_state
(
void
);
static
void
debug_trace
(
void
);
extern
int
print_insn_big_powerpc
(
FILE
*
,
unsigned
long
,
unsigned
long
);
...
...
@@ -1218,7 +1215,7 @@ read_spr(int n)
instrs
[
0
]
=
0x7c6002a6
+
((
n
&
0x1F
)
<<
16
)
+
((
n
&
0x3e0
)
<<
6
);
instrs
[
1
]
=
0x4e800020
;
opd
[
0
]
=
instrs
;
opd
[
0
]
=
(
unsigned
long
)
instrs
;
opd
[
1
]
=
0
;
opd
[
2
]
=
0
;
store_inst
(
instrs
);
...
...
@@ -1237,7 +1234,7 @@ write_spr(int n, unsigned long val)
instrs
[
0
]
=
0x7c6003a6
+
((
n
&
0x1F
)
<<
16
)
+
((
n
&
0x3e0
)
<<
6
);
instrs
[
1
]
=
0x4e800020
;
opd
[
0
]
=
instrs
;
opd
[
0
]
=
(
unsigned
long
)
instrs
;
opd
[
1
]
=
0
;
opd
[
2
]
=
0
;
store_inst
(
instrs
);
...
...
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