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

SPEAr1310 Machine support with Device Tree

modulename: spear1310.ko

and/or

spear1310_clock.ko

configname: CONFIG_MACH_SPEAR1310

Linux Kernel Configuration
└─>ST SPEAr Family
└─>SPEAr1310 Machine support with Device Tree
In linux kernel since version 3.1 (release Date: 2011-10-24)  
Supports ST SPEAr1310 machine configured via the device-tree

source code: