From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH] Remove duplicate list_move Date: Wed, 28 Mar 2007 10:02:38 -0600 Message-ID: <1175097758.5771.4.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org We had our own copy of list_move() in the ia64 tree. Now that list.h has been updated to a newer upstream version, it's no longer necessary. Patch against the staging tree, cset 14630. Thanks, Alex Signed-off-by: Alex Williamson --- diff -r b6eaca0bcee1 xen/include/asm-ia64/linux-xen/asm/iosapic.h --- a/xen/include/asm-ia64/linux-xen/asm/iosapic.h Wed Mar 28 15:04:14 2007 +0000 +++ b/xen/include/asm-ia64/linux-xen/asm/iosapic.h Wed Mar 28 09:38:20 2007 -0600 @@ -109,17 +109,6 @@ extern void __devinit map_iosapic_to_nod #endif #ifdef XEN -/* Move to common code later */ -/** - * list_move - delete from one list and add as another's head - * @list: the entry to move - * @head: the head that will precede our entry - */ -static inline void list_move(struct list_head *list, struct list_head *head) -{ - __list_del(list->prev, list->next); - list_add(list, head); -} #define move_irq(x)