Author: uwe
Date: 2008-03-25 20:43:01 +0100 (Tue, 25 Mar 2008)
New Revision: 3189
Modified:
trunk/util/getpir/code_gen.c
Log:
Make the getpir output compile (Closes #70).
Signed-off-by: Jon Dufresne <jon.dufresne(a)gmail.com>
Acked-by: Uwe Hermann <uwe(a)hermann-uwe.de>
Modified: trunk/util/getpir/code_gen.c
===================================================================
--- trunk/util/getpir/code_gen.c 2008-03-24 15:47:49 UTC (rev 3188)
+++ trunk/util/getpir/code_gen.c 2008-03-25 19:43:01 UTC (rev 3189)
@@ -66,5 +66,10 @@
fprintf(fpir, "\t}\n");
fprintf(fpir, "};\n");
+ fprintf(fpir, "\nunsigned long write_pirq_routing_table(unsigned long addr)\n");
+ fprintf(fpir, "{\n");
+ fprintf(fpir, "\treturn copy_pirq_routing_table(addr);\n");
+ fprintf(fpir, "}\n");
+
fclose(fpir);
}