|  | @@ -1,5 +1,5 @@
 | 
		
	
		
			
			| 1 |  | -#ifndef _LIST_H
 | 
		
	
		
			
			| 2 |  | -#define _LIST_H
 | 
		
	
		
			
			|  | 1 | +#ifndef _GPXE_LIST_H
 | 
		
	
		
			
			|  | 2 | +#define _GPXE_LIST_H
 | 
		
	
		
			
			| 3 | 3 |  
 | 
		
	
		
			
			| 4 | 4 |  /** @file
 | 
		
	
		
			
			| 5 | 5 |   *
 | 
		
	
	
		
			
			|  | @@ -11,14 +11,6 @@
 | 
		
	
		
			
			| 11 | 11 |  
 | 
		
	
		
			
			| 12 | 12 |  #include <stddef.h>
 | 
		
	
		
			
			| 13 | 13 |  
 | 
		
	
		
			
			| 14 |  | -/*
 | 
		
	
		
			
			| 15 |  | - * These are non-NULL pointers that will result in page faults
 | 
		
	
		
			
			| 16 |  | - * under normal circumstances, used to verify that nobody uses
 | 
		
	
		
			
			| 17 |  | - * non-initialized list entries.
 | 
		
	
		
			
			| 18 |  | - */
 | 
		
	
		
			
			| 19 |  | -#define LIST_POISON1 ( ( void * ) 0x00100100 )
 | 
		
	
		
			
			| 20 |  | -#define LIST_POISON2 ( ( void * ) 0x00200200 )
 | 
		
	
		
			
			| 21 |  | -
 | 
		
	
		
			
			| 22 | 14 |  /*
 | 
		
	
		
			
			| 23 | 15 |   * Simple doubly linked list implementation.
 | 
		
	
		
			
			| 24 | 16 |   *
 | 
		
	
	
		
			
			|  | @@ -108,8 +100,6 @@ static inline void __list_del ( struct list_head * prev,
 | 
		
	
		
			
			| 108 | 100 |   */
 | 
		
	
		
			
			| 109 | 101 |  static inline void list_del ( struct list_head *entry ) {
 | 
		
	
		
			
			| 110 | 102 |  	__list_del ( entry->prev, entry->next );
 | 
		
	
		
			
			| 111 |  | -	entry->next = LIST_POISON1;
 | 
		
	
		
			
			| 112 |  | -	entry->prev = LIST_POISON2;
 | 
		
	
		
			
			| 113 | 103 |  }
 | 
		
	
		
			
			| 114 | 104 |  
 | 
		
	
		
			
			| 115 | 105 |  /**
 | 
		
	
	
		
			
			|  | @@ -152,4 +142,4 @@ static inline int list_empty ( const struct list_head *head ) {
 | 
		
	
		
			
			| 152 | 142 |  	      &pos->member != (head);					      \
 | 
		
	
		
			
			| 153 | 143 |  	      pos = list_entry ( pos->member.next, typeof ( *pos ), member ) )
 | 
		
	
		
			
			| 154 | 144 |  
 | 
		
	
		
			
			| 155 |  | -#endif /* _LIST_H */
 | 
		
	
		
			
			|  | 145 | +#endif /* _GPXE_LIST_H */
 |