2010-08-17 16:53:00

by Philippe De Muyter

[permalink] [raw]
Subject: [PATCH] m68knommu: whitespace cleanup in 68328/entry.S

m68knommu: whitespace cleanup in 68328/entry.S

Signed-off-by: Philippe De Muyter <[email protected]>
---
diff --git a/arch/m68knommu/platform/68328/entry.S b/arch/m68knommu/platform/68328/entry.S
--- a/arch/m68knommu/platform/68328/entry.S
+++ b/arch/m68knommu/platform/68328/entry.S
@@ -43,7 +43,7 @@ badsys:
jra ret_from_exception

do_trace:
- movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/
+ movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/
subql #4,%sp
SAVE_SWITCH_STACK
jbsr syscall_trace
@@ -57,7 +57,7 @@ do_trace:
lea sys_call_table, %a0
jbsr %a0@(%d1)

-1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
+1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
subql #4,%sp /* dummy return address */
SAVE_SWITCH_STACK
jbsr syscall_trace
@@ -71,9 +71,9 @@ ENTRY(system_call)
SAVE_ALL

/* save top of frame*/
- pea %sp@
- jbsr set_esp0
- addql #4,%sp
+ pea %sp@
+ jbsr set_esp0
+ addql #4,%sp

movel %sp@(PT_OFF_ORIG_D0),%d0

@@ -88,10 +88,10 @@ ENTRY(system_call)
lea sys_call_table,%a0
movel %a0@(%d0), %a0
jbsr %a0@
- movel %d0,%sp@(PT_OFF_D0) /* save the return value*/
+ movel %d0,%sp@(PT_OFF_D0) /* save the return value*/

ret_from_exception:
- btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel*/
+ btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel*/
jeq Luser_return /* if so, skip resched, signals*/

Lkernel_return:


2010-08-20 04:43:18

by Greg Ungerer

[permalink] [raw]
Subject: Re: [uClinux-dev] [PATCH] m68knommu: whitespace cleanup in 68328/entry.S


Hi Philippe,

Philippe De Muyter wrote:
> m68knommu: whitespace cleanup in 68328/entry.S
>
> Signed-off-by: Philippe De Muyter <[email protected]>

Thanks, applied to the m68knommu git tree.

Regards
Greg


> diff --git a/arch/m68knommu/platform/68328/entry.S b/arch/m68knommu/platform/68328/entry.S
> --- a/arch/m68knommu/platform/68328/entry.S
> +++ b/arch/m68knommu/platform/68328/entry.S
> @@ -43,7 +43,7 @@ badsys:
> jra ret_from_exception
>
> do_trace:
> - movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/
> + movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/
> subql #4,%sp
> SAVE_SWITCH_STACK
> jbsr syscall_trace
> @@ -57,7 +57,7 @@ do_trace:
> lea sys_call_table, %a0
> jbsr %a0@(%d1)
>
> -1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
> +1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
> subql #4,%sp /* dummy return address */
> SAVE_SWITCH_STACK
> jbsr syscall_trace
> @@ -71,9 +71,9 @@ ENTRY(system_call)
> SAVE_ALL
>
> /* save top of frame*/
> - pea %sp@
> - jbsr set_esp0
> - addql #4,%sp
> + pea %sp@
> + jbsr set_esp0
> + addql #4,%sp
>
> movel %sp@(PT_OFF_ORIG_D0),%d0
>
> @@ -88,10 +88,10 @@ ENTRY(system_call)
> lea sys_call_table,%a0
> movel %a0@(%d0), %a0
> jbsr %a0@
> - movel %d0,%sp@(PT_OFF_D0) /* save the return value*/
> + movel %d0,%sp@(PT_OFF_D0) /* save the return value*/
>
> ret_from_exception:
> - btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel*/
> + btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel*/
> jeq Luser_return /* if so, skip resched, signals*/
>
> Lkernel_return:
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>


--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: [email protected]
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com