Commit 89fd5072 authored by Anton Blanchard's avatar Anton Blanchard Committed by Todd Inglett

ppc64: dont attempt a traceback table lookup for userspace addresses

parent f92e3618
......@@ -2072,6 +2072,10 @@ find_tb_table(unsigned long codeaddr, struct tbtable *tab)
int instr;
int num_parms;
/* dont look for traceback table in userspace */
if (codeaddr < PAGE_OFFSET)
return 0;
if (tab == NULL)
return 0;
memset(tab, 0, sizeof(tab));
......
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