eventfd: working code with poll support

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>