Remove support for /dev/port altogether. 1. It is not usable with ports which require 4 byte access. 2. The same can be achieved by using capabilities and su bits and so on. 3. __m68000__ doesn't even implement it and most other non i386 archs "implement" it but apparently don't even care about endianess issues. 4. It's not standard. 5. seek() + port access is "racy" with respect to multiple usage. 6. Nothing is using it. ... and so on and so on ... And finally, kernel size with it: text data bss dec hex filename 1480587 243280 259628 1983495 1e4407 vmlinux kernel size without it: [root@kozaczek linux]# size vmlinux text data bss dec hex filename 1480229 243184 259628 1983041 1e4241 vmlinux Which means a saving of 454 bytes :-).