patch-2.3.4 linux/include/asm-m68k/processor.h
Next file: linux/include/asm-mips/processor.h
Previous file: linux/include/asm-i386/system.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-m68k/processor.h
- Orig date:
Tue Jan 19 10:58:34 1999
diff -u --recursive --new-file v2.3.3/linux/include/asm-m68k/processor.h linux/include/asm-m68k/processor.h
@@ -7,6 +7,12 @@
#ifndef __ASM_M68K_PROCESSOR_H
#define __ASM_M68K_PROCESSOR_H
+/*
+ * Default implementation of macro that returns current
+ * instruction pointer ("program counter").
+ */
+#define current_text_addr() ({ __label__ _l; _l: &&_l;})
+
#include <asm/segment.h>
#include <asm/fpu.h>
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)