[coldfire] use the proper serial device, change memory layout
[openwrt.git] / target / linux / coldfire / patches / 100-compile_fixes.patch
1 --- a/include/asm-m68k/cf_pgtable.h
2 +++ b/include/asm-m68k/cf_pgtable.h
3 @@ -176,7 +176,7 @@ extern inline pte_t pte_modify(pte_t pte
4  
5  #define pmd_set(pmdp, ptep) do {} while (0)
6  
7 -extern inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp)
8 +static inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp)
9  {
10         pgd_val(*pgdp) = virt_to_phys(pmdp);
11  }
12 --- a/arch/m68k/mm/cf-mmu.c
13 +++ b/arch/m68k/mm/cf-mmu.c
14 @@ -21,6 +21,7 @@
15  #include <linux/blkdev.h>
16  #endif
17  #include <linux/bootmem.h>
18 +#include <linux/highmem.h>
19  
20  #include <asm/setup.h>
21  #include <asm/uaccess.h>