Commit eccab90c authored by Anton Blanchard's avatar Anton Blanchard

ppc64: fix some compiler warnings

parent c0d92706
......@@ -43,6 +43,7 @@
#include <asm/lmb.h>
#include <asm/abs_addr.h>
#include <asm/tlbflush.h>
#include <asm/io.h>
#include <asm/eeh.h>
#include <asm/tlb.h>
......
......@@ -382,7 +382,7 @@ void free_initmem(void)
free_page(addr);
totalram_pages++;
}
printk ("Freeing unused kernel memory: %dk freed\n",
printk ("Freeing unused kernel memory: %luk freed\n",
(&__init_end - &__init_begin) >> 10);
}
......
......@@ -20,6 +20,9 @@
struct free_pte_ctx;
static inline void tlb_flush(struct free_pte_ctx *tlb);
/* Avoid pulling in another include just for this */
#define check_pgt_cache() do { } while (0)
/* Get the generic bits... */
#include <asm-generic/tlb.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment