patch-2.3.4 linux/include/asm-alpha/processor.h

Next file: linux/include/asm-alpha/semaphore.h
Previous file: linux/fs/stat.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/include/asm-alpha/processor.h linux/include/asm-alpha/processor.h
@@ -8,6 +8,12 @@
 #define __ASM_ALPHA_PROCESSOR_H
 
 /*
+ * Default implementation of macro that returns current
+ * instruction pointer ("program counter").
+ */
+#define current_text_addr() ({ __label__ _l; _l: &&_l;})
+
+/*
  * We have a 42-bit user address space: 4TB user VM...
  */
 #define TASK_SIZE (0x40000000000UL)

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