patch-2.4.19 linux-2.4.19/arch/sparc/kernel/check_asm.sh

Next file: linux-2.4.19/arch/sparc/kernel/ioport.c
Previous file: linux-2.4.19/arch/sparc/kernel/apc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/sparc/kernel/check_asm.sh linux-2.4.19/arch/sparc/kernel/check_asm.sh
@@ -11,7 +11,7 @@
     echo "	sizeof(struct $2_struct)," >> $4
   ;;
   -ints)
-    sed -n -e '/check_asm_data:/,/\.size/p' <$2 | sed -e 's/check_asm_data://' -e 's/\.size.*//' -e 's/\.ident.*//' -e 's/\.long[ 	]\([0-9]*\)/\1,/' >>$3
+    sed -n -e '/check_asm_data:/,/\.size/p' <$2 | sed -e 's/check_asm_data://' -e 's/\.size.*//' -e 's/\.ident.*//' -e 's/\.global.*//' -e 's/\.long[ 	]\([0-9]*\)/\1,/' >>$3
   ;;
   *)
     exit 1

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)