kernel: start working on 3.18 support
This commit: 1) Copies 3.14 patches 2) Drops mainlined stuff 3) Modifies some patches to apply Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43093
This commit is contained in:
		@@ -0,0 +1,14 @@
 | 
			
		||||
--- a/Makefile
 | 
			
		||||
+++ b/Makefile
 | 
			
		||||
@@ -611,9 +611,9 @@ include $(srctree)/arch/$(SRCARCH)/Makef
 | 
			
		||||
 KBUILD_CFLAGS	+= $(call cc-option,-fno-delete-null-pointer-checks,)
 | 
			
		||||
 
 | 
			
		||||
 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
 | 
			
		||||
-KBUILD_CFLAGS	+= -Os $(call cc-disable-warning,maybe-uninitialized,)
 | 
			
		||||
+KBUILD_CFLAGS	+= -Os $(EXTRA_OPTIMIZATION) $(call cc-disable-warning,maybe-uninitialized,)
 | 
			
		||||
 else
 | 
			
		||||
-KBUILD_CFLAGS	+= -O2
 | 
			
		||||
+KBUILD_CFLAGS	+= -O2 -fno-reorder-blocks -fno-tree-ch $(EXTRA_OPTIMIZATION)
 | 
			
		||||
 endif
 | 
			
		||||
 
 | 
			
		||||
 # Tell gcc to never replace conditional load with a non-conditional one
 | 
			
		||||
		Reference in New Issue
	
	Block a user