I have Ubuntu 12.04 LTS. I upgraded my kernel from 3.2.0 to 3.2.17. The ASM folder has been replaced with ASM-GENERIC in the kernel source. /usr/src/Linux/include/asm-generic

and also /usr/include/asm-generic

but in arch dependent files, I have it as ASM

/usr/src/linux/arch/x86/include/asm

When I try to do some sample programs in user space using asm/io.h (for inb/outb), I gace lot of issues because of this new asm-generic. I was having OpenSUSE with linux kernel 2.6 and I think it was ASM and not ASM-Generic.

I tried giving symbolic links in /usr/include but still lot of troubles.
Any suggestions would be of great help!