Commit 2930ffc7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

revert "kallsyms: fix absolute addresses for kASLR"

Revert the recently applied 0f55159d ("kallsyms: fix absolute
addresses for kASLR").  Kees said

: This got NAKed, please don't apply -- this patch works for x86 and
: ARM, but may cause problems for others:

It appears that Kees will be fixing all this up for 3.15.

Cc: Andy Honig <>
Cc: Kees Cook <>
Cc: Michal Marek <>
Cc: Rusty Russell <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 2216ee85
......@@ -330,7 +330,8 @@ static void write_src(void)
printf("\tPTR\t_text + %#llx\n",
table[i].addr - _text);
printf("\tPTR\t%#llx\n", table[i].addr);
printf("\tPTR\t_text - %#llx\n",
_text - table[i].addr);
} else {
printf("\tPTR\t%#llx\n", table[i].addr);
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