[coreboot] [PATCH] flashrom: Fix compilation of nic3com on 64bit

ron minnich rminnich at gmail.com
Thu May 14 23:31:43 CEST 2009


I think one aspect of this is right, one is wrong

-void get_io_perms(void)
+void get_io_perms()

The void should be left in here I think.

 {
 #if defined (__sun) && (defined(__i386) || defined(__amd64))
       if (sysi86(SI86V86, V86SC_IOPL, PS_IOPL) != 0) {
@@ -102,7 +102,7 @@
 {
       int ret = 0;

-       get_io_perms(void);
+       get_io_perms();

removing it here is the right thing.

ron




More information about the coreboot mailing list