patch-2.4.23 linux-2.4.23/arch/sparc64/kernel/check_asm.sh
Next file: linux-2.4.23/arch/sparc64/kernel/cpu.c
Previous file: linux-2.4.23/arch/sparc64/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/sparc64/kernel/check_asm.sh
- Orig date:
2002-02-25 11:37:56.000000000 -0800
diff -urN linux-2.4.22/arch/sparc64/kernel/check_asm.sh linux-2.4.23/arch/sparc64/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/\.long[ ]\([0-9]*\)/\1,/' | grep -v '\.ident' >>$3
+ sed -n -e '/check_asm_data:/,/\.size/p' <$2 | sed -e 's/check_asm_data://' -e 's/\.size.*//' -e 's/\.section.*//' -e 's/\.long[ ]\([0-9]*\)/\1,/' | grep -v '\.ident' >>$3
;;
*)
exit 1
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)