patch-2.3.4 linux/include/asm-arm/processor.h
Next file: linux/include/asm-i386/processor.h
Previous file: linux/include/asm-alpha/semaphore.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Tue May 25 14:55:05 1999
-  Orig file: 
v2.3.3/linux/include/asm-arm/processor.h
-  Orig date: 
Sat May  8 11:06:58 1999
diff -u --recursive --new-file v2.3.3/linux/include/asm-arm/processor.h linux/include/asm-arm/processor.h
@@ -7,6 +7,12 @@
 #ifndef __ASM_ARM_PROCESSOR_H
 #define __ASM_ARM_PROCESSOR_H
 
+/*
+ * Default implementation of macro that returns current
+ * instruction pointer ("program counter").
+ */
+#define current_text_addr() ({ __label__ _l; _l: &&_l;})
+
 #define FP_SIZE 35
 
 struct fp_hard_struct {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)