Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108244
b: refs/heads/master
c: 9de15e9
h: refs/heads/master
v: v3
  • Loading branch information
Yoshinori Sato authored and Linus Torvalds committed Aug 12, 2008
1 parent c36549a commit a4072ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: b1c3c898274334a9255445ba0636d13eda8399d7
refs/heads/master: 9de15e9110b760c91a32197c4e4c88c32235ece1
9 changes: 3 additions & 6 deletions trunk/arch/h8300/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@

#undef DEBUG

extern void die_if_kernel(char *,struct pt_regs *,long);
extern void free_initmem(void);

/*
* BAD_PAGE is the page that is used for page faults when linux
* is out-of-memory. Older versions of linux just did a
Expand Down Expand Up @@ -73,7 +70,7 @@ extern unsigned long memory_end;
* The parameters are pointers to where to stick the starting and ending
* addresses of available kernel virtual memory.
*/
void paging_init(void)
void __init paging_init(void)
{
/*
* Make sure start_mem is page aligned, otherwise bootmem and
Expand Down Expand Up @@ -122,7 +119,7 @@ void paging_init(void)
}
}

void mem_init(void)
void __init mem_init(void)
{
int codek = 0, datak = 0, initk = 0;
/* DAVIDM look at setup memory map generically with reserved area */
Expand Down Expand Up @@ -178,7 +175,7 @@ void free_initrd_mem(unsigned long start, unsigned long end)
#endif

void
free_initmem()
free_initmem(void)
{
#ifdef CONFIG_RAMKERNEL
unsigned long addr;
Expand Down

0 comments on commit a4072ae

Please sign in to comment.