From patchwork Mon Oct 26 10:30:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 55850 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9QAXuAJ010424 for ; Mon, 26 Oct 2009 10:35:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755480AbZJZKfk (ORCPT ); Mon, 26 Oct 2009 06:35:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755515AbZJZKfk (ORCPT ); Mon, 26 Oct 2009 06:35:40 -0400 Received: from mail-pz0-f188.google.com ([209.85.222.188]:35428 "EHLO mail-pz0-f188.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755480AbZJZKfj (ORCPT ); Mon, 26 Oct 2009 06:35:39 -0400 Received: by pzk26 with SMTP id 26so7337866pzk.4 for ; Mon, 26 Oct 2009 03:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=WhNLhgtZH7UHTBHrcc8Nc6aDkE2Tm8Tbdre8lU2Vz00=; b=ajP34eeV0R2vrDkzdCA35otav4nNJISpHIdoLCYp0hIksR56bz2HRosuWnVybrAesB DP8pS6YGZukSEN+gWSg6doCo/u7FHBVMvKzayObW+zGIoc+Z34a9xhmG0S8Jac760b3H gDZ303lweNf9SEAFg90MV+R2Wixmc/7XzbV5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=XkAlgX0yqfN/bJCdmSHq8DX+th2nPejMbydXdGGMaOtkjumXIySpJeihXGVC4hLuiw s3VxDJHU+6ULHkP/Z17NT9XBX+fb82g8vMc8As7KE/vG2ZNq4N3zrXNgJRg5l80aJ/SH AYj4UADa2CNWgz6FGb/A0PukZpfCdAOuVh89g= Received: by 10.114.2.3 with SMTP id 3mr4845875wab.109.1256553344679; Mon, 26 Oct 2009 03:35:44 -0700 (PDT) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 20sm952592pzk.5.2009.10.26.03.35.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Oct 2009 03:35:43 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Mon, 26 Oct 2009 19:30:48 +0900 Message-Id: <20091026103048.24085.71003.sendpatchset@rxone.opensource.se> Subject: [PATCH] sh: fix kexec by removing check for old kexec-tools Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org --- 0001/arch/sh/kernel/machine_kexec.c +++ work/arch/sh/kernel/machine_kexec.c 2009-10-26 19:15:04.000000000 +0900 @@ -46,12 +46,6 @@ void machine_crash_shutdown(struct pt_re */ int machine_kexec_prepare(struct kimage *image) { - /* older versions of kexec-tools are passing - * the zImage entry point as a virtual address. - */ - if (image->start != __pa(image->start)) - return -EINVAL; /* upgrade your kexec-tools */ - return 0; }