Add return statements to arch_init functions for ia64 and ppc.
authorBruce Cran <bruce@cran.org.uk>
Thu, 20 Dec 2012 13:59:56 +0000 (13:59 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Dec 2012 14:18:40 +0000 (15:18 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/arch-ia64.h
arch/arch-ppc.h

index 8ccbd86..2df55ba 100644 (file)
@@ -47,6 +47,7 @@ extern int tsc_reliable;
 static inline int arch_init(char *envp[])
 {
        tsc_reliable = 1;
+       return 0;
 }
 
 #define ARCH_HAVE_FFZ
index 0f20375..e73093d 100644 (file)
@@ -63,6 +63,7 @@ extern int tsc_reliable;
 static inline int arch_init(char *envp[])
 {
        tsc_reliable = 1;
+       return 0;
 }
 
 #define ARCH_HAVE_FFZ