powerpc: Make a bunch of things static
Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Dieser Commit ist enthalten in:

committet von
Michael Ellerman

Ursprung
5144b6bfe2
Commit
e51df2c170
@@ -868,7 +868,7 @@ unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PPC_MM_SLICES
|
||||
unsigned int get_paca_psize(unsigned long addr)
|
||||
static unsigned int get_paca_psize(unsigned long addr)
|
||||
{
|
||||
u64 lpsizes;
|
||||
unsigned char *hpsizes;
|
||||
|
@@ -48,7 +48,7 @@ static inline int pte_looks_normal(pte_t pte)
|
||||
(_PAGE_PRESENT | _PAGE_USER);
|
||||
}
|
||||
|
||||
struct page * maybe_pte_to_page(pte_t pte)
|
||||
static struct page *maybe_pte_to_page(pte_t pte)
|
||||
{
|
||||
unsigned long pfn = pte_pfn(pte);
|
||||
struct page *page;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren