[PATCH 2/2] Cleanup mn10300 asm-offsets.c(PAGE_SIZE_asm)

From: Stratos Psomadakis
Date: Fri Feb 25 2011 - 15:46:46 EST



Signed-off-by: Stratos Psomadakis <psomas@xxxxxxxxxxxxxxxxx>
---
arch/mn10300/kernel/asm-offsets.c | 2 --
arch/mn10300/kernel/gdb-io-ttysm-low.S | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/mn10300/kernel/asm-offsets.c b/arch/mn10300/kernel/asm-offsets.c
index 96f24fa..698eb60 100644
--- a/arch/mn10300/kernel/asm-offsets.c
+++ b/arch/mn10300/kernel/asm-offsets.c
@@ -89,8 +89,6 @@ void foo(void)
OFFSET(EXEC_DOMAIN_handler, exec_domain, handler);
OFFSET(RT_SIGFRAME_sigcontext, rt_sigframe, uc.uc_mcontext);

- DEFINE(PAGE_SIZE_asm, PAGE_SIZE);
-
OFFSET(__rx_buffer, mn10300_serial_port, rx_buffer);
OFFSET(__rx_inp, mn10300_serial_port, rx_inp);
OFFSET(__rx_outp, mn10300_serial_port, rx_outp);
diff --git a/arch/mn10300/kernel/gdb-io-ttysm-low.S b/arch/mn10300/kernel/gdb-io-ttysm-low.S
index 060b7cc..7b2d665 100644
--- a/arch/mn10300/kernel/gdb-io-ttysm-low.S
+++ b/arch/mn10300/kernel/gdb-io-ttysm-low.S
@@ -38,7 +38,7 @@ gdbstub_io_rx_handler:
gdbstub_io_rx_more:
mov a3,a2
add 2,a3
- and PAGE_SIZE_asm-1,a3
+ and PAGE_SIZE-1,a3
mov (gdbstub_rx_outp),d3
cmp a3,d3
beq gdbstub_io_rx_overflow
--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/