Title: [6586] trunk/arch/blackfin/include/asm/uaccess.h: restore exception_table_entry struct -- while we may not use it, common kernel code relies on it
Revision
6586
Author
vapier
Date
2009-06-04 14:21:17 -0500 (Thu, 04 Jun 2009)

Log Message

restore exception_table_entry struct -- while we may not use it, common kernel code relies on it

Modified Paths

Diff

Modified: trunk/arch/blackfin/include/asm/uaccess.h (6585 => 6586)


--- trunk/arch/blackfin/include/asm/uaccess.h	2009-06-04 19:19:21 UTC (rev 6585)
+++ trunk/arch/blackfin/include/asm/uaccess.h	2009-06-04 19:21:17 UTC (rev 6586)
@@ -67,6 +67,23 @@
 #endif
 
 /*
+ * The exception table consists of pairs of addresses: the first is the
+ * address of an instruction that is allowed to fault, and the second is
+ * the address at which the program should continue.  No registers are
+ * modified, so it is entirely up to the continuation code to figure out
+ * what to do.
+ *
+ * All the routines below use bits of fixup code that are out of line
+ * with the main instruction path.  This means when everything is well,
+ * we don't even have to jump over them.  Further, they do not intrude
+ * on our cache or tlb entries.
+ */
+
+struct exception_table_entry {
+	unsigned long insn, fixup;
+};
+
+/*
  * These are the main single-value transfer routines.  They automatically
  * use the right size if we just have the right pointer type.
  */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to