Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377339
b: refs/heads/master
c: 35b03ae
h: refs/heads/master
i:
  377337: dd9def9
  377335: bafee1e
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jun 19, 2013
1 parent 8c107ff commit e4dc2ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 4026099a3118a1e038c48f3f85203a674938025b
refs/heads/master: 35b03aec919c952e67b0b093638e0d79b468f9bc
3 changes: 2 additions & 1 deletion trunk/arch/s390/mm/mem_detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ void create_mem_hole(struct mem_chunk mem_chunk[], unsigned long addr,
continue;
} else if ((addr <= chunk->addr) &&
(addr + size >= chunk->addr + chunk->size)) {
memset(chunk, 0 , sizeof(*chunk));
memmove(chunk, chunk + 1, (MEMORY_CHUNKS-i-1) * sizeof(*chunk));
memset(&mem_chunk[MEMORY_CHUNKS-1], 0, sizeof(*chunk));
} else if (addr + size < chunk->addr + chunk->size) {
chunk->size = chunk->addr + chunk->size - addr - size;
chunk->addr = addr + size;
Expand Down

0 comments on commit e4dc2ae

Please sign in to comment.