s390 build fix.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



{standard input}: Assembler messages:
{standard input}:397: Error: symbol `.Litfits' is already defined
{standard input}:585: Error: symbol `.Litfits' is already defined

Newer gcc's inline this it seems, which blows up.

--- linux-2.6.12/arch/s390/kernel/cpcmd.c~	2005-08-18 15:12:51.000000000 -0400
+++ linux-2.6.12/arch/s390/kernel/cpcmd.c	2005-08-18 15:13:35.000000000 -0400
@@ -46,9 +46,9 @@ int  __cpcmd(const char *cmd, char *resp
 				"lra	3,0(%4)\n"
 				"lr	5,%5\n"
 				"diag	2,4,0x8\n"
-				"brc	8, .Litfits\n"
+				"brc	8, .Litfits%=\n"
 				"ar	5, %5\n"
-				".Litfits: \n"
+				".Litfits%=: \n"
 				"lr	%0,4\n"
 				"lr	%1,5\n"
 				: "=d" (return_code), "=d" (return_len)
@@ -64,9 +64,9 @@ int  __cpcmd(const char *cmd, char *resp
 				"sam31\n"
 				"diag	2,4,0x8\n"
 				"sam64\n"
-				"brc	8, .Litfits\n"
+				"brc	8, .Litfits%=\n"
 				"agr	5, %5\n"
-				".Litfits: \n"
+				".Litfits%=: \n"
 				"lgr	%0,4\n"
 				"lgr	%1,5\n"
 				: "=d" (return_code), "=d" (return_len)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux