svn commit: r190133 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/drm

Robert Noland rnoland at FreeBSD.org
Thu Mar 19 22:47:50 PDT 2009


Author: rnoland
Date: Fri Mar 20 05:47:49 2009
New Revision: 190133
URL: http://svn.freebsd.org/changeset/base/190133

Log:
  Merge 189913
  
  Add list_for_each_prev to our linux compatibility.
  
  We need this for nouveau

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/dev/drm/drm_linux_list.h

Modified: stable/7/sys/dev/drm/drm_linux_list.h
==============================================================================
--- stable/7/sys/dev/drm/drm_linux_list.h	Fri Mar 20 05:46:25 2009	(r190132)
+++ stable/7/sys/dev/drm/drm_linux_list.h	Fri Mar 20 05:47:49 2009	(r190133)
@@ -67,6 +67,10 @@ list_del(struct list_head *entry) {
 #define list_for_each(entry, head)				\
     for (entry = (head)->next; entry != head; entry = (entry)->next)
 
+#define list_for_each_prev(entry, head) \
+        for (entry = (head)->prev; entry != (head); \
+                entry = entry->prev)
+
 #define list_for_each_safe(entry, temp, head)			\
     for (entry = (head)->next, temp = (entry)->next;		\
 	entry != head; 						\


More information about the svn-src-stable-7 mailing list