Commit 087eb30d authored by David Mosberger's avatar David Mosberger

ia64: Switch places for the gate pages and the guard page. This improves

	backwards-compatibility with older (broken) versions of GCC which
	recognize a signal-handler only if it is in the address range
	from 0xa000000000000100. to 0xa000000000020000.
parent ab8be1d0
...@@ -19,8 +19,11 @@ ...@@ -19,8 +19,11 @@
#include <asm/pal.h> #include <asm/pal.h>
#include <asm/percpu.h> #include <asm/percpu.h>
/* 0xa000000000000000 - 0xa000000000000000+PERCPU_PAGE_SIZE remain unmapped */ #define GATE_ADDR (0xa000000000000000)
#define GATE_ADDR (0xa000000000000000 + PERCPU_PAGE_SIZE) /*
* 0xa000000000000000+2*PERCPU_PAGE_SIZE
* - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page)
*/
#define KERNEL_START 0xa000000100000000 #define KERNEL_START 0xa000000100000000
#define PERCPU_ADDR (-PERCPU_PAGE_SIZE) #define PERCPU_ADDR (-PERCPU_PAGE_SIZE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment