From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932290AbcBHPo4 (ORCPT ); Mon, 8 Feb 2016 10:44:56 -0500 Received: from mail.bmw-carit.de ([62.245.222.98]:46707 "EHLO linuxmail.bmw-carit.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932250AbcBHPow (ORCPT ); Mon, 8 Feb 2016 10:44:52 -0500 From: Daniel Wagner To: "Maciej W. Rozycki" Cc: Ralf Baechle , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Daniel Wagner Subject: [PATCH v3 0/3] Differentiate between 32 and 64 bit ELF header Date: Mon, 8 Feb 2016 16:44:35 +0100 Message-Id: <1454946278-13859-1-git-send-email-daniel.wagner@bmw-carit.de> X-Mailer: git-send-email 2.5.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maciej, Thanks a lot for your input. It looks like we getting somewhere. This version is much smaller and not so invasive as the prevision one. I had some trouble with my cross compile setup. The first patch addresses this problem. If I got it right it is just a missing include wrapper file. cheers, daniel Daniel Wagner (3): mips: Use arch specific auxvec.h instead of generic-asm version crash_dump: Add vmcore_elf32_check_arch mips: Differentiate between 32 and 64 bit ELF header arch/mips/include/asm/auxvec.h | 1 + arch/mips/include/asm/elf.h | 9 +++++++-- arch/mips/kernel/binfmt_elfn32.c | 2 +- arch/mips/kernel/binfmt_elfo32.c | 2 +- fs/proc/vmcore.c | 2 +- include/linux/crash_dump.h | 8 ++++++-- 6 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 arch/mips/include/asm/auxvec.h -- 2.5.0