diff options
Diffstat (limited to 'arch/mips/include')
| -rw-r--r-- | arch/mips/include/asm/cache.h | 2 | ||||
| -rw-r--r-- | arch/mips/include/asm/cevt-r4k.h | 3 | ||||
| -rw-r--r-- | arch/mips/include/asm/hugetlb.h | 1 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h | 2 | 
4 files changed, 6 insertions, 2 deletions
diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h index 650ac9ba734..b4db69fbc40 100644 --- a/arch/mips/include/asm/cache.h +++ b/arch/mips/include/asm/cache.h @@ -17,6 +17,6 @@  #define SMP_CACHE_SHIFT		L1_CACHE_SHIFT  #define SMP_CACHE_BYTES		L1_CACHE_BYTES -#define __read_mostly __attribute__((__section__(".data.read_mostly"))) +#define __read_mostly __attribute__((__section__(".data..read_mostly")))  #endif /* _ASM_CACHE_H */ diff --git a/arch/mips/include/asm/cevt-r4k.h b/arch/mips/include/asm/cevt-r4k.h index fa4328f9124..65f9bdd02f1 100644 --- a/arch/mips/include/asm/cevt-r4k.h +++ b/arch/mips/include/asm/cevt-r4k.h @@ -14,6 +14,9 @@  #ifndef __ASM_CEVT_R4K_H  #define __ASM_CEVT_R4K_H +#include <linux/clockchips.h> +#include <asm/time.h> +  DECLARE_PER_CPU(struct clock_event_device, mips_clockevent_device);  void mips_event_handler(struct clock_event_device *dev); diff --git a/arch/mips/include/asm/hugetlb.h b/arch/mips/include/asm/hugetlb.h index f5e85601532..c565b7c3f0b 100644 --- a/arch/mips/include/asm/hugetlb.h +++ b/arch/mips/include/asm/hugetlb.h @@ -70,6 +70,7 @@ static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,  static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,  					 unsigned long addr, pte_t *ptep)  { +	flush_tlb_mm(vma->vm_mm);  }  static inline int huge_pte_none(pte_t pte) diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h b/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h index 32978d32561..ed72e6a26b7 100644 --- a/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h +++ b/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h @@ -88,7 +88,7 @@ struct bcm_tag {  	char kernel_crc[CRC_LEN];  	/* 228-235: Unused at present */  	char reserved1[8]; -	/* 236-239: CRC32 of header excluding tagVersion */ +	/* 236-239: CRC32 of header excluding last 20 bytes */  	char header_crc[CRC_LEN];  	/* 240-255: Unused at present */  	char reserved2[16];  |