Index: kernel/arch/abs32le/include/asm.h
===================================================================
--- kernel/arch/abs32le/include/asm.h	(revision 4bd675d3ff3d180a95f4f0e7ce5bd65bb52a40d6)
+++ kernel/arch/abs32le/include/asm.h	(revision 3d6beaa35f8c97b40779781a9022e244474c064e)
@@ -182,14 +182,4 @@
 }
 
-static inline uintptr_t *get_ip()
-{
-	/* On real hardware this returns the current instruction
-	   pointer value. The value certainly changes with each
-	   instruction, but it can be still used to identify
-	   a specific function. */
-	
-	return 0;
-}
-
 #endif
 
Index: kernel/arch/amd64/include/asm.h
===================================================================
--- kernel/arch/amd64/include/asm.h	(revision 4bd675d3ff3d180a95f4f0e7ce5bd65bb52a40d6)
+++ kernel/arch/amd64/include/asm.h	(revision 3d6beaa35f8c97b40779781a9022e244474c064e)
@@ -332,16 +332,4 @@
 }
 
-static inline uintptr_t * get_ip() 
-{
-	uintptr_t *ip;
-	
-	asm volatile (
-		"mov %%rip, %[ip]"
-		: [ip] "=r" (ip)
-	);
-	
-	return ip;
-}
-
 /** Invalidate TLB Entry.
  *
Index: kernel/arch/ia32/include/asm.h
===================================================================
--- kernel/arch/ia32/include/asm.h	(revision 4bd675d3ff3d180a95f4f0e7ce5bd65bb52a40d6)
+++ kernel/arch/ia32/include/asm.h	(revision 3d6beaa35f8c97b40779781a9022e244474c064e)
@@ -362,17 +362,4 @@
 }
 
-/** Return current IP address */
-static inline uintptr_t * get_ip() 
-{
-	uintptr_t *ip;
-	
-	asm volatile (
-		"mov %%eip, %[ip]"
-		: [ip] "=r" (ip)
-	);
-	
-	return ip;
-}
-
 /** Invalidate TLB Entry.
  *
