Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272040
b: refs/heads/master
c: 69515f8
h: refs/heads/master
v: v3
  • Loading branch information
Edgar E. Iglesias authored and Michal Simek committed Oct 14, 2011
1 parent a82437a commit 58ddebc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0fb2a6f283f25731217841f961cefa0a19bd449d
refs/heads/master: 69515f8b957a4b1558d4726ffa6be2484e1dcb60
8 changes: 5 additions & 3 deletions trunk/arch/microblaze/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
* I've snaffled the value from the microblaze binutils source code
* /binutils/microblaze/include/elf/microblaze.h
*/
#define EM_XILINX_MICROBLAZE 0xbaab
#define ELF_ARCH EM_XILINX_MICROBLAZE
#define EM_MICROBLAZE 189
#define EM_MICROBLAZE_OLD 0xbaab
#define ELF_ARCH EM_MICROBLAZE

/*
* This is used to ensure we don't load something for the wrong architecture.
*/
#define elf_check_arch(x) ((x)->e_machine == EM_XILINX_MICROBLAZE)
#define elf_check_arch(x) ((x)->e_machine == EM_MICROBLAZE \
|| (x)->e_machine == EM_MICROBLAZE_OLD)

/*
* These are used to set parameters in the core dumps.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/microblaze/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ asmlinkage long do_syscall_trace_enter(struct pt_regs *regs)
ret = -1L;

if (unlikely(current->audit_context))
audit_syscall_entry(EM_XILINX_MICROBLAZE, regs->r12,
audit_syscall_entry(EM_MICROBLAZE, regs->r12,
regs->r5, regs->r6,
regs->r7, regs->r8);

Expand Down

0 comments on commit 58ddebc

Please sign in to comment.