Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200419
b: refs/heads/master
c: b5416ca
h: refs/heads/master
i:
  200417: c2f5981
  200415: 04d8007
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Jun 15, 2010
1 parent a8005ca commit c965cf6
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 8054a3428fbec2d91dfeb5bd78d7e75064cf163b
refs/heads/master: b5416ca9f824d3deb1e25a32683100360e104b72
11 changes: 10 additions & 1 deletion trunk/arch/powerpc/include/asm/kdump.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@

#include <asm/page.h>

/* Kdump kernel runs at 32 MB, change at your peril. */
/*
* If CONFIG_RELOCATABLE is enabled we can place the kdump kernel anywhere.
* To keep enough space in the RMO for the first stage kernel on 64bit, we
* place it at 64MB. If CONFIG_RELOCATABLE is not enabled we must place
* the second stage at 32MB.
*/
#if defined(CONFIG_RELOCATABLE) && defined(CONFIG_PPC64)
#define KDUMP_KERNELBASE 0x4000000
#else
#define KDUMP_KERNELBASE 0x2000000
#endif

/* How many bytes to reserve at zero for kdump. The reserve limit should
* be greater or equal to the trampoline's end address.
Expand Down

0 comments on commit c965cf6

Please sign in to comment.