Hi,

minor patch: use run_address() instead duplicating in lib/lar.c

--
Alex

Index: lib/lar.c
===================================================================
--- lib/lar.c	(revision 486)
+++ lib/lar.c	(working copy)
@@ -233,7 +233,6 @@
  */
 int run_file(struct mem_file *archive, const char *filename, void *where)
 {
-	int (*v) (void);
 	struct mem_file result;
 	int ret;
 
@@ -254,8 +253,7 @@
 		where = result.start;
 	}
 	printk(BIOS_SPEW, "where is %p\n", where);
-	v = where;
-	ret = v();
+	ret = run_address(where);
 	printk(BIOS_SPEW, "run_file returns with %d\n", ret);
 	return ret;
 }
-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to