summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-12 00:35:07 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-12 00:35:07 +0000
commitca2b53c30a3c2dea1d2610319ea0f4913ecae2e4 (patch)
tree517264cd64f493b4abe59243171390dc9f665161 /arch
parent2bab1036f931dad0ae1633669c92fb201b229789 (diff)
Make HZ_TO_STD macro name lowercase.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/irixelf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/irixelf.c b/arch/mips/kernel/irixelf.c
index db8bb8698..3329e5e84 100644
--- a/arch/mips/kernel/irixelf.c
+++ b/arch/mips/kernel/irixelf.c
@@ -255,7 +255,7 @@ static unsigned int load_irix_interp(struct elfhdr * interp_elf_ex,
/* First of all, some simple consistency checks */
if ((interp_elf_ex->e_type != ET_EXEC &&
interp_elf_ex->e_type != ET_DYN) ||
- !elf_check_arch(interp_elf_ex->e_machine) ||
+ !irix_elf_check_arch(interp_elf_ex) ||
!interpreter->f_op->mmap) {
printk("IRIX interp has bad e_type %d\n", interp_elf_ex->e_type);
return 0xffffffff;
@@ -395,7 +395,7 @@ static int verify_binary(struct elfhdr *ehp, struct linux_binprm *bprm)
/* First of all, some simple consistency checks */
if((ehp->e_type != ET_EXEC && ehp->e_type != ET_DYN) ||
- !elf_check_arch(ehp->e_machine) || !bprm->file->f_op->mmap) {
+ !irix_elf_check_arch(ehp) || !bprm->file->f_op->mmap) {
return -ENOEXEC;
}
@@ -810,7 +810,7 @@ static int load_irix_library(struct file *file)
/* First of all, some simple consistency checks. */
if(elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 ||
- !elf_check_arch(elf_ex.e_machine) || !file->f_op->mmap)
+ !irix_elf_check_arch(&elf_ex) || !file->f_op->mmap)
return -ENOEXEC;
/* Now read in all of the header information. */