Changeset 8e7afdbc in mainline for kernel/arch/sparc64/src/drivers/sgcn.c
- Timestamp:
- 2009-04-27T14:48:51Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6568225
- Parents:
- 43847ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/sgcn.c
r43847ba r8e7afdbc 342 342 { 343 343 sgcn_buffer_begin_init(); 344 344 345 345 sgcn_instance_t *instance = 346 346 malloc(sizeof(sgcn_instance_t), FRAME_ATOMIC); 347 if (!instance) 348 return NULL; 349 350 instance->srlnin = NULL; 351 instance->thread = thread_create(ksgcnpoll, instance, TASK, 0, 352 "ksgcnpoll", true); 353 if (!instance->thread) { 354 free(instance); 355 return NULL; 347 348 if (instance) { 349 instance->srlnin = NULL; 350 instance->thread = thread_create(ksgcnpoll, instance, TASK, 0, 351 "ksgcnpoll", true); 352 353 if (!instance->thread) { 354 free(instance); 355 return NULL; 356 } 356 357 } 357 358
Note:
See TracChangeset
for help on using the changeset viewer.