diff -r 652180478e95 -r 05a24788f3b2 master/fsm_master.c --- a/master/fsm_master.c Thu Jun 12 08:12:02 2008 +0000 +++ b/master/fsm_master.c Thu Jun 12 08:31:06 2008 +0000 @@ -243,8 +243,8 @@ // init slaves for (i = 0; i < master->slave_count; i++) { - if (!(slave = (ec_slave_t *) kmalloc(sizeof(ec_slave_t), - GFP_ATOMIC))) { + if (!(slave = (ec_slave_t *) + kmalloc(sizeof(ec_slave_t), GFP_KERNEL))) { EC_ERR("Failed to allocate slave %u!\n", i); ec_master_clear_slaves(master); master->scan_busy = 0;