From patchwork Thu Dec 3 12:26:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 64505 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 nB3CZ2QN014575 for ; Thu, 3 Dec 2009 12:37:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751953AbZLCMg7 (ORCPT ); Thu, 3 Dec 2009 07:36:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752374AbZLCMg7 (ORCPT ); Thu, 3 Dec 2009 07:36:59 -0500 Received: from mail-yw0-f182.google.com ([209.85.211.182]:52716 "EHLO mail-yw0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751953AbZLCMg6 (ORCPT ); Thu, 3 Dec 2009 07:36:58 -0500 Received: by ywh12 with SMTP id 12so1369538ywh.21 for ; Thu, 03 Dec 2009 04:37:05 -0800 (PST) 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=9j5g+8oBRGjggBQm3NEqcnQDJWUSxUZg/N8VN5d+yJo=; b=DqOwx1TxstHZzBQkAGIdrUyZDH5ZEPzrhitok+qQvaxRCEiNmksOvHk6wkJ16zQJvD zRMo13PKcw2lmuZyXtSqQ6FDbRfEbH1OdbhZ2SBvx1DIow7la++fMaAS1WE8JUJ+Yn3X DeEO5Ocuvf6KvkcosjaGrauVTcIC7vYys4WVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=UWTfGXjqTrti7CqTiAtOcUSgD/0RU0NULbsUJz5faQqAhwCipekIfXklVLBHIMJyVL PH8IAcExX+cbyofhDS3jC6d2+kzY2HjSuLzDzY0a81gtfii7ZfPap/pWRM+3/Q0m4eCi FgO8JDY/EeIEw+hWa3mygtgDF9zSn3X4fhqTg= Received: by 10.100.60.18 with SMTP id i18mr1644195ana.92.1259843512183; Thu, 03 Dec 2009 04:31:52 -0800 (PST) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 5sm1020013yxg.10.2009.12.03.04.31.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Dec 2009 04:31:51 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Thu, 03 Dec 2009 21:26:19 +0900 Message-Id: <20091203122619.9975.58412.sendpatchset@rxone.opensource.se> Subject: [PATCH] sh: include empty zero page in zImage Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org --- 0001/arch/sh/boot/compressed/Makefile +++ work/arch/sh/boot/compressed/Makefile 2009-12-03 21:06:02.000000000 +0900 @@ -48,8 +48,6 @@ $(obj)/vmlinux.bin.bz2: $(vmlinux.bin.al $(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE $(call if_changed,lzma) -OBJCOPYFLAGS += -R .empty_zero_page - LDFLAGS_piggy.o := -r --format binary --oformat $(ld-bfd) -T $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE --- 0001/arch/sh/boot/compressed/misc.c +++ work/arch/sh/boot/compressed/misc.c 2009-12-03 21:05:58.000000000 +0900 @@ -131,7 +131,7 @@ void decompress_kernel(void) #ifdef CONFIG_SUPERH64 output_addr = (CONFIG_MEMORY_START + 0x2000); #else - output_addr = __pa((unsigned long)&_text+PAGE_SIZE); + output_addr = __pa((unsigned long)&_text); #ifdef CONFIG_29BIT output_addr |= P2SEG; #endif