When compiling kernel for SGH-I717, an error occurs:
Error: selected processor does not support ARM mode smc #0
It happens when
So following the post http://blog.csdn.net/gchww/article/details/7571584 and http://wakefang.blogspot.com/2011/08/error-selected-processor-does-not.html,
open scm.c (since this is the file where the compilation error occurs, as shown in the error message above. You should replace it with the appropriate file in you case, of course) and search for "asm", add the following line
before every asm instruction.
Re-compile, it works.
P.S. if same error occurs again for another file, do the same operation for that file.