From: Kevin Hilman Subject: [PATCH 18/28] PM: Changed secure RAM storage size from 0x8000 to 0x803F Date: Thu, 1 Oct 2009 16:58:48 -0700 Message-ID: <1254441538-9257-19-git-send-email-khilman@deeprootsystems.com> References: <1254441538-9257-1-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-2-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-3-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-4-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-5-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-6-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-7-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-8-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-9-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-10-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-11-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-12-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-13-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-14-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-15-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-16-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-17-git-send-email-khilman@deeprootsystems.com> <1254441538-9257-18-git-send-email-khilman@deeprootsystems.com> Return-path: Received: from mail-px0-f179.google.com ([209.85.216.179]:51872 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755060AbZJAX71 (ORCPT ); Thu, 1 Oct 2009 19:59:27 -0400 Received: by mail-px0-f179.google.com with SMTP id 9so694314pxi.4 for ; Thu, 01 Oct 2009 16:59:31 -0700 (PDT) In-Reply-To: <1254441538-9257-18-git-send-email-khilman@deeprootsystems.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org Cc: Tero Kristo From: Tero Kristo Without this, causes some random crashes related to memory management. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/pm34xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 5e24552..e58eebb 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -1027,7 +1027,7 @@ static int __init omap3_pm_init(void) if (omap_type() != OMAP2_DEVICE_TYPE_GP) { omap3_secure_ram_storage = - kmalloc(0x8000, GFP_KERNEL); + kmalloc(0x803F, GFP_KERNEL); if (!omap3_secure_ram_storage) printk(KERN_ERR "Memory allocation failed when" "allocating for secure sram context\n"); -- 1.6.4.3