Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73072
b: refs/heads/master
c: 7e5186e
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Oct 30, 2007
1 parent 2d7c3e9 commit af6b96c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 16f393df496cfe74f7a26a1ba85e41fd818c0582
refs/heads/master: 7e5186eaae8eebc0101d539791dbff92256455ee
6 changes: 3 additions & 3 deletions trunk/arch/sh/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ static struct resource data_resource = { .name = "Kernel data", };

unsigned long memory_start;
EXPORT_SYMBOL(memory_start);

unsigned long memory_end;
unsigned long memory_end = 0;
EXPORT_SYMBOL(memory_end);

static int __init early_parse_mem(char *p)
Expand Down Expand Up @@ -265,7 +264,8 @@ void __init setup_arch(char **cmdline_p)
data_resource.end = virt_to_phys(_edata)-1;

memory_start = (unsigned long)PAGE_OFFSET+__MEMORY_START;
memory_end = memory_start + __MEMORY_SIZE;
if (!memory_end)
memory_end = memory_start + __MEMORY_SIZE;

#ifdef CONFIG_CMDLINE_BOOL
strlcpy(command_line, CONFIG_CMDLINE, sizeof(command_line));
Expand Down

0 comments on commit af6b96c

Please sign in to comment.