|
@@ -17,6 +17,7 @@
|
|
|
#include <asm/mach/map.h>
|
|
#include <asm/mach/map.h>
|
|
|
#include <asm/mmu_context.h>
|
|
#include <asm/mmu_context.h>
|
|
|
#include <asm/pgtable.h>
|
|
#include <asm/pgtable.h>
|
|
|
|
|
+#include <asm/ptrace.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_EFI
|
|
#ifdef CONFIG_EFI
|
|
|
void efi_init(void);
|
|
void efi_init(void);
|
|
@@ -34,6 +35,10 @@ int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md);
|
|
|
__f(args); \
|
|
__f(args); \
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+#define ARCH_EFI_IRQ_FLAGS_MASK \
|
|
|
|
|
+ (PSR_J_BIT | PSR_E_BIT | PSR_A_BIT | PSR_I_BIT | PSR_F_BIT | \
|
|
|
|
|
+ PSR_T_BIT | MODE_MASK)
|
|
|
|
|
+
|
|
|
static inline void efi_set_pgd(struct mm_struct *mm)
|
|
static inline void efi_set_pgd(struct mm_struct *mm)
|
|
|
{
|
|
{
|
|
|
check_and_switch_context(mm, NULL);
|
|
check_and_switch_context(mm, NULL);
|