#ifdef CONFIG_STRAM_SWAP if (!max_swap_size) { #endif if (block->flags & BLOCK_GFP) { DPRINTK("atari_stram_free: is kmalloced, order_size=%d\n", get_order(block->size)); free_pages((unsigned long)addr, get_order(block->size)); } else goto fail; #ifdef CONFIG_STRAM_SWAP } else if (block->flags & BLOCK_INSWAP) { DPRINTK( "atari_stram_free: is swap-alloced\n" ); free_stram_region( SWAP_NR(block->start), N_PAGES(block->size) ); } else 
if (!(block->flags & BLOCK_GFP)) 
void atari_stram_free( void *addr ){	BLOCK *block;	DPRINTK( "atari_stram_free(addr=%p)\n", addr );	if (!(block = find_region( addr ))) {		printk( KERN_ERR "Attempt to free non-allocated ST-RAM block at %p "				"from %p\n", addr, __builtin_return_address(0) );		return;	}	DPRINTK( "atari_stram_free: found block (%p): size=%08lx, owner=%s, "			 "flags=%02x\n", block, block->size, block->owner, block->flags );#ifdef CONFIG_STRAM_SWAP	if (!max_swap_size) {#endif		if (block->flags & BLOCK_GFP) {			DPRINTK("atari_stram_free: is kmalloced, order_size=%d\n",				get_order(block->size));			free_pages((unsigned long)addr, get_order(block->size));		}		else			goto fail;#ifdef CONFIG_STRAM_SWAP	}	else if (block->flags & BLOCK_INSWAP) {		DPRINTK( "atari_stram_free: is swap-alloced\n" );		free_stram_region( SWAP_NR(block->start), N_PAGES(block->size) );	}	else		goto fail;#endif	remove_region( block );	return;  fail:	printk( KERN_ERR "atari_stram_free: cannot free block at %p "			"(called from %p)\n", addr, __builtin_return_address(0) );}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f9c98d0287de42221c624482fd4f8d485c98ab22/stram.c/buggy/arch/m68k/atari/stram.c