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

2010-08-19 Thread Philippe De Muyter
m68knommu: whitespace cleanup in 68328/entry.S

Signed-off-by: Philippe De Muyter p...@macqel.be
---
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
jbsrsyscall_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
jbsrsyscall_trace
@@ -71,9 +71,9 @@ ENTRY(system_call)
SAVE_ALL
 
/* save top of frame*/
-   pea %sp@
-   jbsrset_esp0
-   addql   #4,%sp
+   pea %sp@
+   jbsrset_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
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


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

2010-08-19 Thread Greg Ungerer


Hi Philippe,

Philippe De Muyter wrote:

m68knommu: whitespace cleanup in 68328/entry.S

Signed-off-by: Philippe De Muyter p...@macqel.be


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
jbsrsyscall_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
jbsrsyscall_trace
@@ -71,9 +71,9 @@ ENTRY(system_call)
SAVE_ALL
 
 	/* save top of frame*/

-   pea %sp@
-   jbsrset_esp0
-   addql   #4,%sp
+   pea %sp@
+   jbsrset_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
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev




--

Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, AustraliaWEB: http://www.SnapGear.com
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev