Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23818
b: refs/heads/master
c: 5f44a66
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Mar 25, 2006
1 parent c72059f commit 2e75c76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2d3efedbecc04dc348d723e4c90b46731b3bb48
refs/heads/master: 5f44a669805ab2c18b347436ec5333173b821268
7 changes: 4 additions & 3 deletions trunk/arch/x86_64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void show_mem(void)

int after_bootmem;

static void *spp_getpage(void)
static __init void *spp_getpage(void)
{
void *ptr;
if (after_bootmem)
Expand All @@ -108,7 +108,7 @@ static void *spp_getpage(void)
return ptr;
}

static void set_pte_phys(unsigned long vaddr,
static __init void set_pte_phys(unsigned long vaddr,
unsigned long phys, pgprot_t prot)
{
pgd_t *pgd;
Expand Down Expand Up @@ -157,7 +157,8 @@ static void set_pte_phys(unsigned long vaddr,
}

/* NOTE: this is meant to be run only at boot */
void __set_fixmap (enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
void __init
__set_fixmap (enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
{
unsigned long address = __fix_to_virt(idx);

Expand Down

0 comments on commit 2e75c76

Please sign in to comment.