Skip to content
Snippets Groups Projects
Commit 9f95ea36 authored by Imre Kaloz's avatar Imre Kaloz
Browse files

coldfire compile error fix

SVN-Revision: 16542
parent 17276a57
No related branches found
No related tags found
No related merge requests found
--- a/include/asm-m68k/cf_pgtable.h
+++ b/include/asm-m68k/cf_pgtable.h
@@ -176,7 +176,7 @@ extern inline pte_t pte_modify(pte_t pte
#define pmd_set(pmdp, ptep) do {} while (0)
-extern inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp)
+static inline void pgd_set(pgd_t *pgdp, pmd_t *pmdp)
{
pgd_val(*pgdp) = virt_to_phys(pmdp);
}
--- a/include/asm-m68k/irq.h
+++ b/include/asm-m68k/irq.h
@@ -61,7 +61,8 @@
#define IRQ_USER 8
-extern unsigned int irq_canonicalize(unsigned int irq);
+//extern unsigned int irq_canonicalize(unsigned int irq);
+#define irq_canonicalize(irq) (irq)
struct pt_regs;
--- a/arch/m68k/mm/cf-mmu.c
+++ b/arch/m68k/mm/cf-mmu.c
@@ -21,6 +21,7 @@
#include <linux/blkdev.h>
#endif
#include <linux/bootmem.h>
+#include <linux/highmem.h>
#include <asm/setup.h>
#include <asm/uaccess.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment