Altera_Forum
Honored Contributor
16 years agoDoes anyboy use "struct semaphore" and down(struct semaphore
Hello everyone,
I use the latest version of nios2-linux(nios2-linux-20090730),when I test the driver nios2-linux/linux-2.6/drivers/char/altera_pio_button.c,I found that the function down(struct semaphore *) never return.I think it's a serious problem,drivers can not work without semphare,wake_up(wait_queue_head_t *) seems not work too,I can not find their definitions,so I don't know why, could anybody help me. Thank you