#include <linux/init.h>
#include <asm/cputable.h>
#include <asm/code-patching.h>
-#include <asm/page.h>
-#include <asm/sections.h>
struct fixup_entry {
}
}
-void do_final_fixups(void)
-{
-#if defined(CONFIG_PPC64) && defined(CONFIG_RELOCATABLE)
- int *src, *dest;
- unsigned long length;
-
- if (PHYSICAL_START == 0)
- return;
-
- src = (int *)(KERNELBASE + PHYSICAL_START);
- dest = (int *)KERNELBASE;
- length = (__end_interrupts - _stext) / sizeof(int);
-
- while (length--) {
- patch_instruction(dest, *src);
- src++;
- dest++;
- }
-#endif
-}
-
#ifdef CONFIG_FTR_FIXUP_SELFTEST
#define check(x) \