CONFIG_Q40 is not available for thedefaultarchitecture x86.
Result is shown for architecture m68k

Q40/Q60 support

modulename: head.ko

configname: CONFIG_Q40

Linux Kernel Configuration
└─>Q40/Q60 support
In linux kernel since version 2.6.12  
The Q40 is a Motorola 68040-based successor to the Sinclair QL
manufactured in Germany. There is an official Q40 home page at
<http://www.q40.de/>. This option enables support for the Q40 and
Q60. Select your CPU below. For 68LC060 don't forget to enable FPU
emulation.

source code:
selects
CONFIG_MMU_MOTOROLA
CONFIG_LEGACY_TIMER_TICK