CONFIG_MACH_SPEAR310 is not available for thedefaultarchitecture x86.
Result is shown for architecture arm

SPEAr310

modulename: spear310.ko

configname: CONFIG_MACH_SPEAR310

SPEAr3XX Family
└─>SPEAr310
In linux kernel since version 2.6.35 (release Date: 2010-08-01)  
Supports ST SPEAr310 Machine

source code: