Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp19047870ybl; Fri, 3 Jan 2020 14:35:19 -0800 (PST) X-Google-Smtp-Source: APXvYqwezwxJXogcLcP2V5eCh3r4Q0R/cIg1gbedc+Rv4/DT5fO+GXPx4XX+L/62pkbbzGCeePBi X-Received: by 2002:a05:6830:147:: with SMTP id j7mr102684040otp.44.1578090919228; Fri, 03 Jan 2020 14:35:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578090919; cv=none; d=google.com; s=arc-20160816; b=ww68aZTzteQAK3oVs/gVSARg1qYYSRN55qkbRtoUdBUuyE7h2/HOKwGviwgmFDuJyc zdbGzXTDf6hHvvR3NniC/BBzbSGiFCXL7GYLRBm9fZL0SoEjyQ4hvYioaVNDfine+9jk GJeOEekhAGScke8b4PA+6erKpicudECeo4k7lLrGVF0DIRq4gG0AuEOEEaIcdN/v5LB+ RejVGLdZ1hKSqR2qUCVqnWAIr576AD91kPqxfJKGSQU12lTVX/xaGlI7KsW49juwiWE7 jSw1loQ+6LwaFW8lKArgtatvkWL87ZjEIKl4gPVtuoREE8YStg4Hw9SQf9bIoAsysT/L Ga8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from; bh=CG0DNgr8EK4IrX3R29vB6Wp/gTzR4B2bhK+6rAjVC4E=; b=I2/d0giN/M+ZJCWCgPdaZ8Afz+uUKEZHUAJnOuaVMwWVHAfyGEBXoiJCcPOX7zItVZ +ZL3PgIVp1RI18lqygfJghuZnTBU9qWPqdl1vYDO7jsNCZxpvIj87+lKIE45ihhy1Nbt WnhSjSuGYWms5buQAdAcAVWvZTPjUb+dNoBwY4xxQa707x9dsjXWqLUYD8bbicX0hoLD KW50zzj+ISr+y+hgfu5DkrdgZIC7WhxgLlPGxU+SlPhFe89nsLL5+56QuAaGZvtrN++k NBZRAZHSwHp6mGyhW3QFdaftBLpfrvoNkxC9tN9G4zcrtg3y1YuezlcTRg5DN4ysCPaJ M3gQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5si31611325oto.204.2020.01.03.14.35.06; Fri, 03 Jan 2020 14:35:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728888AbgACWdp (ORCPT + 99 others); Fri, 3 Jan 2020 17:33:45 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:37420 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728832AbgACWdo (ORCPT ); Fri, 3 Jan 2020 17:33:44 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 003MHHUS061125 for ; Fri, 3 Jan 2020 17:33:43 -0500 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2xa1fgw6d8-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 03 Jan 2020 17:33:42 -0500 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 3 Jan 2020 22:33:40 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 3 Jan 2020 22:33:37 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 003MXZTe49938532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Jan 2020 22:33:36 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DFE325206D; Fri, 3 Jan 2020 22:33:35 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8768E52073; Fri, 3 Jan 2020 22:33:35 +0000 (GMT) From: Mikhail Zaslonko To: Andrew Morton , Chris Mason , Josef Bacik , David Sterba Cc: Richard Purdie , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Eduard Shishkin , Ilya Leoshkevich , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/6] s390/boot: Rename HEAP_SIZE due to name collision Date: Fri, 3 Jan 2020 23:33:30 +0100 X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200103223334.20669-1-zaslonko@linux.ibm.com> References: <20200103223334.20669-1-zaslonko@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 20010322-0016-0000-0000-000002DA49ED X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20010322-0017-0000-0000-0000333CB866 Message-Id: <20200103223334.20669-3-zaslonko@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-03_06:2020-01-02,2020-01-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 malwarescore=0 bulkscore=0 adultscore=0 mlxlogscore=886 suspectscore=2 phishscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001030203 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change the conflicting macro name in preparation for zlib_inflate hardware support. Signed-off-by: Mikhail Zaslonko --- arch/s390/boot/compressed/decompressor.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/s390/boot/compressed/decompressor.c b/arch/s390/boot/compressed/decompressor.c index 45046630c56a..368fd372c875 100644 --- a/arch/s390/boot/compressed/decompressor.c +++ b/arch/s390/boot/compressed/decompressor.c @@ -30,13 +30,13 @@ extern unsigned char _compressed_start[]; extern unsigned char _compressed_end[]; #ifdef CONFIG_HAVE_KERNEL_BZIP2 -#define HEAP_SIZE 0x400000 +#define BOOT_HEAP_SIZE 0x400000 #else -#define HEAP_SIZE 0x10000 +#define BOOT_HEAP_SIZE 0x10000 #endif static unsigned long free_mem_ptr = (unsigned long) _end; -static unsigned long free_mem_end_ptr = (unsigned long) _end + HEAP_SIZE; +static unsigned long free_mem_end_ptr = (unsigned long) _end + BOOT_HEAP_SIZE; #ifdef CONFIG_KERNEL_GZIP #include "../../../../lib/decompress_inflate.c" @@ -62,7 +62,7 @@ static unsigned long free_mem_end_ptr = (unsigned long) _end + HEAP_SIZE; #include "../../../../lib/decompress_unxz.c" #endif -#define decompress_offset ALIGN((unsigned long)_end + HEAP_SIZE, PAGE_SIZE) +#define decompress_offset ALIGN((unsigned long)_end + BOOT_HEAP_SIZE, PAGE_SIZE) unsigned long mem_safe_offset(void) { -- 2.17.1