Merge branch '4.4-fixes' into mips-for-linux-next

Changed files
+14 -4
arch
mips
include
kernel
vdso
scripts
+1
arch/mips/include/asm/io.h
··· 275 275 */ 276 276 #define ioremap_cachable(offset, size) \ 277 277 __ioremap_mode((offset), (size), _page_cachable_default) 278 + #define ioremap_cache ioremap_cachable 278 279 279 280 /* 280 281 * These two are MIPS specific ioremap variant. ioremap_cacheable_cow
+4
arch/mips/include/asm/mips-cm.h
··· 243 243 #define CM_GCR_BASE_CMDEFTGT_IOCU0 2 244 244 #define CM_GCR_BASE_CMDEFTGT_IOCU1 3 245 245 246 + /* GCR_RESET_EXT_BASE register fields */ 247 + #define CM_GCR_RESET_EXT_BASE_EVARESET BIT(31) 248 + #define CM_GCR_RESET_EXT_BASE_UEB BIT(30) 249 + 246 250 /* GCR_ACCESS register fields */ 247 251 #define CM_GCR_ACCESS_ACCESSEN_SHF 0 248 252 #define CM_GCR_ACCESS_ACCESSEN_MSK (_ULCAST_(0xff) << 0)
+1 -1
arch/mips/include/asm/page.h
··· 33 33 #define PAGE_SHIFT 16 34 34 #endif 35 35 #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) 36 - #define PAGE_MASK (~(PAGE_SIZE - 1)) 36 + #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) 37 37 38 38 /* 39 39 * This is used for calculating the real page sizes
+1 -1
arch/mips/kernel/setup.c
··· 623 623 624 624 #define USE_PROM_CMDLINE IS_ENABLED(CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER) 625 625 #define USE_DTB_CMDLINE IS_ENABLED(CONFIG_MIPS_CMDLINE_FROM_DTB) 626 - #define EXTEND_WITH_PROM IS_ENABLED(CONFIG_MIPS_CMDLINE_EXTEND) 626 + #define EXTEND_WITH_PROM IS_ENABLED(CONFIG_MIPS_CMDLINE_DTB_EXTEND) 627 627 628 628 static void __init arch_mem_init(char **cmdline_p) 629 629 {
+3
arch/mips/kernel/smp-cps.c
··· 202 202 /* Ensure its coherency is disabled */ 203 203 write_gcr_co_coherence(0); 204 204 205 + /* Start it with the legacy memory map and exception base */ 206 + write_gcr_co_reset_ext_base(CM_GCR_RESET_EXT_BASE_UEB); 207 + 205 208 /* Ensure the core can access the GCRs */ 206 209 access = read_gcr_access(); 207 210 access |= 1 << (CM_GCR_ACCESS_ACCESSEN_SHF + core);
+1 -1
arch/mips/vdso/Makefile
··· 26 26 # the comments on that file. 27 27 # 28 28 ifndef CONFIG_CPU_MIPSR6 29 - ifeq ($(call ld-ifversion, -lt, 22500000, y),y) 29 + ifeq ($(call ld-ifversion, -lt, 225000000, y),y) 30 30 $(warning MIPS VDSO requires binutils >= 2.25) 31 31 obj-vdso-y := $(filter-out gettimeofday.o, $(obj-vdso-y)) 32 32 ccflags-vdso += -DDISABLE_MIPS_VDSO
+3 -1
scripts/ld-version.sh
··· 2 2 # extract linker version number from stdin and turn into single number 3 3 { 4 4 gsub(".*)", ""); 5 + gsub(".*version ", ""); 6 + gsub("-.*", ""); 5 7 split($1,a, "."); 6 - print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5]; 8 + print a[1]*100000000 + a[2]*1000000 + a[3]*10000 + a[4]*100 + a[5]; 7 9 exit 8 10 }