Commit 67cd8c87 authored by Greg Edwards's avatar Greg Edwards Committed by David Mosberger

[PATCH] ia64: Remove SN PDA page overflow check

There's an obsolete check in sn_init_pdas() left over from the 2.4
days that panics if the cpu PDA and cpu_data area span more than a page.
With 2.6, we're not limited to a page, so remove the check entirely.
parent d88ad34e
......@@ -361,13 +361,6 @@ sn_init_pdas(char **cmdline_p)
{
cnodeid_t cnode;
/*
* Make sure that the PDA fits entirely in the same page as the
* cpu_data area.
*/
if ((((unsigned long)pda & (~PAGE_MASK)) + sizeof(pda_t)) > PAGE_SIZE)
panic("overflow of cpu_data page");
memset(pda->cnodeid_to_nasid_table, -1, sizeof(pda->cnodeid_to_nasid_table));
for (cnode=0; cnode<numnodes; cnode++)
pda->cnodeid_to_nasid_table[cnode] = pxm_to_nasid(nid_to_pxm_map[cnode]);
......
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