[IBAL] use non-pageable memory to prevent possible problems on power down. [mlnx...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 16 Sep 2009 16:16:08 +0000 (16:16 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 16 Sep 2009 16:16:08 +0000 (16:16 +0000)
Suggested by Hobin Lee (Xsigo)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2438 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_pnp.c

index 7fe8c36..ac51a37 100644 (file)
@@ -587,7 +587,7 @@ pnp_create_context(
        CL_ASSERT( p_reg );\r
 \r
        /* No context exists for this port.  Create one. */\r
        CL_ASSERT( p_reg );\r
 \r
        /* No context exists for this port.  Create one. */\r
-       p_context = (al_pnp_context_t*)cl_pzalloc( sizeof(al_pnp_context_t) );\r
+       p_context = (al_pnp_context_t*)cl_zalloc( sizeof(al_pnp_context_t) );\r
        if( !p_context )\r
        {\r
                AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR,\r
        if( !p_context )\r
        {\r
                AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR,\r