From patchwork Tue Jan 11 10:28:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karolina Drobnik X-Patchwork-Id: 12709691 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C66FCC433EF for ; Tue, 11 Jan 2022 10:29:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4AE026B0072; Tue, 11 Jan 2022 05:29:27 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 45E846B0073; Tue, 11 Jan 2022 05:29:27 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 34CF76B0074; Tue, 11 Jan 2022 05:29:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0163.hostedemail.com [216.40.44.163]) by kanga.kvack.org (Postfix) with ESMTP id 2370E6B0072 for ; Tue, 11 Jan 2022 05:29:27 -0500 (EST) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id CBC3A92762 for ; Tue, 11 Jan 2022 10:29:26 +0000 (UTC) X-FDA: 79017634332.09.4E4199E Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by imf22.hostedemail.com (Postfix) with ESMTP id 1DD30C000D for ; Tue, 11 Jan 2022 10:29:25 +0000 (UTC) Received: by mail-wr1-f46.google.com with SMTP id l25so21174992wrb.13 for ; Tue, 11 Jan 2022 02:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OT2ScgAHFZvFT9FK0xgI4roqBQX72wkwsPKNNrCL1mE=; b=Sl1kCLBtavBFmZkLlGQA2unqA1WjEwN+5kgHuphnPLsQPTT32sjcnIu9w3medLtNP1 xkW6HJ9jFmcXNigXAG53jVjy5TdTzV51muyVQEjSvhKa/96tTwimsKo5CPOXPUMIhOs2 dltdKgxRiiDn6KPBsOgba1i77Jx5TtWE2ReK09dajsbPn82yYKtBdWotvmJMF3ckq8YB AQZTMH3VAByY3Zh5rZ96bg1DCLhglk+kr06V2nu/ZdNoWBRi6jQAnW6O5C8JWB/mRnJm K6ocsEcTAXfEQuIrqss7fEsUITDhMW1sVhcXraX9uPYrQFxIxwx8LaleMDlP/4g4a5X1 APuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OT2ScgAHFZvFT9FK0xgI4roqBQX72wkwsPKNNrCL1mE=; b=DRJWAgFBIL3PPOZcxNRkB4P1xkH2nyKYPZ8w5Cq/+e8Lv41Hc0TomQWjd4aGWS4B01 gvgRoAOtJJCUvnpB3dBHsv3A86qYUfhaeOi7ajQryHhMbleUT2hJLCtZ6pgTVelTioD6 ZB647bqqF5K9CvNCCyHLDn7MyWtJfhWaiGOxpLp4rfjT1RGBzhGv+XCpO2KPTTDMnIcn oG6+8arUMzk8hJwE5fURGFgiZoM/MTeF88pkB75tqPvC/aXi0f8XJ1uNf2jSBheQgIDD suVmMTF0GVwzggNafOZIhlqo1mGyRb4GQoV5fby24M3rsjwtq7Pj8xwdx+DI0kEJtcKs UjTg== X-Gm-Message-State: AOAM533trHpIN9uPj+DgXPlDSKV/Y9IFlJL/AwQuo4HhU+SI94BhcGvf +7NM+jrU/eTevT1pDms91aB13OvBQe0= X-Google-Smtp-Source: ABdhPJzWvOgTMnu2BMP+Br7/QmKsrfqpp32RVS2Onj6KiBwrz14yAEvHltQZls1CU5HavNeqyZQDbQ== X-Received: by 2002:a5d:4d50:: with SMTP id a16mr1605630wru.264.1641896964154; Tue, 11 Jan 2022 02:29:24 -0800 (PST) Received: from localhost.localdomain ([2a01:4b00:f411:e700:fdaa:e573:6067:6ef5]) by smtp.gmail.com with ESMTPSA id r11sm9739748wrz.78.2022.01.11.02.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 02:29:23 -0800 (PST) From: Karolina Drobnik To: linux-mm@kvack.org, akpm@linux-foundation.org, rppt@kernel.org Cc: linux-kernel@vger.kernel.org, Karolina Drobnik Subject: [PATCH] memblock: Remove #ifdef __KERNEL__ from memblock.h Date: Tue, 11 Jan 2022 10:28:47 +0000 Message-Id: <20220111102847.673746-1-karolinadrobnik@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 1DD30C000D X-Stat-Signature: qd8797iyeosoofnq661n7usmnfczanty Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Sl1kCLBt; spf=pass (imf22.hostedemail.com: domain of karolinadrobnik@gmail.com designates 209.85.221.46 as permitted sender) smtp.mailfrom=karolinadrobnik@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-HE-Tag: 1641896965-258696 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000204, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: memblock.h is not a uAPI header, so __KERNEL__ guard can be deleted Signed-off-by: Karolina Drobnik --- include/linux/memblock.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/memblock.h index 9dc7cb239d21..50ad19662a32 100644 --- a/include/linux/memblock.h +++ b/include/linux/memblock.h @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _LINUX_MEMBLOCK_H #define _LINUX_MEMBLOCK_H -#ifdef __KERNEL__ /* * Logical memory blocks. @@ -605,6 +604,5 @@ static inline void early_memtest(phys_addr_t start, phys_addr_t end) } #endif -#endif /* __KERNEL__ */ #endif /* _LINUX_MEMBLOCK_H */