From 67cd8c87d04d43c9db0a11e86be221b312976796 Mon Sep 17 00:00:00 2001 From: Greg Edwards Date: Mon, 26 Apr 2004 00:39:13 -0700 Subject: [PATCH] [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. --- arch/ia64/sn/kernel/setup.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c index 8747f8915f4a..e42c83cfa9db 100644 --- a/arch/ia64/sn/kernel/setup.c +++ b/arch/ia64/sn/kernel/setup.c @@ -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; cnodecnodeid_to_nasid_table[cnode] = pxm_to_nasid(nid_to_pxm_map[cnode]); -- 2.39.5