projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3dc19c
)
powerpc/xmon: Remove unused #defines
author
Michael Ellerman
<michael@ellerman.id.au>
Tue, 9 Oct 2012 04:20:34 +0000
(
04:20
+0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Thu, 15 Nov 2012 01:59:52 +0000
(12:59 +1100)
Neither REGS_PER_LINE or LAST_VOLATILE are used, nor have they ever
been as far back as I can see.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/xmon/xmon.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/xmon/xmon.c
b/arch/powerpc/xmon/xmon.c
index cc96a71297566442cff6a65ed0054e141face819..abf6be44635617dc21bbb4d25f1a95b272e9540e 100644
(file)
--- a/
arch/powerpc/xmon/xmon.c
+++ b/
arch/powerpc/xmon/xmon.c
@@
-166,12
+166,8
@@
extern void xmon_leave(void);
#ifdef CONFIG_PPC64
#define REG "%.16lx"
-#define REGS_PER_LINE 4
-#define LAST_VOLATILE 13
#else
#define REG "%.8lx"
-#define REGS_PER_LINE 8
-#define LAST_VOLATILE 12
#endif
#define GETWORD(v) (((v)[0] << 24) + ((v)[1] << 16) + ((v)[2] << 8) + (v)[3])