Author: stepan
Date: 2007-09-05 04:10:45 +0200 (Wed, 05 Sep 2007)
New Revision: 493
Modified:
LinuxBIOSv3/lib/lar.c
Log:
minor patch: use run_address() instead duplicating in lib/lar.c
Signed-off-by: Alex Beregszaszi <[EMAIL PROTECTED]>
Acked-by: Stefan Reinauer <[EMAIL PROTECTED]>
Modified: LinuxBIOSv3/lib/lar.c
===================================================================
--- LinuxBIOSv3/lib/lar.c 2007-09-05 02:05:55 UTC (rev 492)
+++ LinuxBIOSv3/lib/lar.c 2007-09-05 02:10:45 UTC (rev 493)
@@ -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;
@@ -261,8 +260,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