Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp615255pxb; Tue, 14 Sep 2021 05:12:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNpBFSk//dGscmEJy7bZNaUFRM92lNgsu3Xw2Avt6fhA2be0rGwFBk2t9ise5aAVltCW9d X-Received: by 2002:a5d:8b43:: with SMTP id c3mr11460613iot.30.1631621543509; Tue, 14 Sep 2021 05:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631621543; cv=none; d=google.com; s=arc-20160816; b=rJrOOdofID12lNBQxYs9eBj6ZPOlxQ7ClxnIR0UWEe2hmpLxtrsoACELRoMzxAhw+n 1P8g/Zqnhi+jD0jsEpPs20LkFBify4q804xdf7qefcQkq6yUFHKZzz4sgXTHg3oTYH6L NKZuw2kKREVQ1wcifbaw56U++yAAauZ0T5cod7sWCbzzLR53Mlw4i1h5F8uaz/g1D0xm eQ5o36cyK8lUfuCl7zaao9tufcSq5tLxVkAt3MJmO9FzV1rhqOS7OUz9RIQXZrofzbdm yrB7WE8wk27KiBPJOrt+JyYOr2OvE7169gNZxUiQsetdvSkdO0tcyhiSHKqu60IN6Gun f9hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HKSNmBhkWTRTmvJzcP38tmeS4MAPilgjCgGjOOk1Eoo=; b=jEcbpXUfu0fJ7cFs/Z4Tu+FYRnpCUYBR9U7JgYqVtCWzGt9O/jcNzW00qQ1hHylCrz TFTUQuwaPjUOqnMz41WTFoaVLyM4Ez+hw8lXtA4RE3/DzKgLf5uW7xAjLBpcKZRoLYP1 t5zNuF/cBzJvzBIu9qhV9P+jgCAzpcM9RNCN+eOjGuHsSVY4uLHo+OwtgJ97qcYJTxmD fbIxYI2dmJn6uvgtjYIRikd28N7SCqQCeXqSU7c8YMXPzGltN3Gdqq9AQRHVzZ68rumV +fFGM+8b1tBn0AU0brAoC4qsrdNCyTdAKidwDo4mQbZMs/xW5s8nrqHICl0lyYNdgmLv 5wVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uo9xo1sS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q186si10344909ioq.108.2021.09.14.05.12.11; Tue, 14 Sep 2021 05:12:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uo9xo1sS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232535AbhINMMW (ORCPT + 99 others); Tue, 14 Sep 2021 08:12:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:42086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232199AbhINMMV (ORCPT ); Tue, 14 Sep 2021 08:12:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DAEC26113E; Tue, 14 Sep 2021 12:10:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631621464; bh=wUEIWjCdyHLOP9Ajpbl5z4Hb5g6osFdwVI9Ed8pwrF8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uo9xo1sSKmZ71oRJaftwe86egJ4+rak5RockonFicTeMsL5SQcQBsjVQllEHp2n5s RWXu8t9o7m1AjT+zzG7+6LReVKVoDgIF866xt2IBv6qol78pFbWfHldtcAHTWEcGtT jks41McZT5NQLTzzDcAYCaRoQPz/jcOnHoOGFyzdlXairXRB69QL/mknHg9B1AKuGB vDD92q62XEEhcISCgUKOX70HAbhZ8lSmTxis1mqbAqQMs5rX9FTXzVwiLn/w8KetaK 2iA5VF9D8CKBjtqK+BcvQxuo3J6ZIxUMevMcCwXb205SGOD7DKMoATRoeFBc0gvwIY kZqoSak7m4Zhw== From: Ard Biesheuvel To: linux-kernel@vger.kernel.org Cc: Ard Biesheuvel , Keith Packard , Russell King , Catalin Marinas , Will Deacon , Michael Ellerman , Benjamin Herrenschmidt , Christophe Leroy , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Kees Cook , Andy Lutomirski , Linus Torvalds , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org Subject: [RFC PATCH 3/8] s390: add CPU field to struct thread_info Date: Tue, 14 Sep 2021 14:10:31 +0200 Message-Id: <20210914121036.3975026-4-ardb@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210914121036.3975026-1-ardb@kernel.org> References: <20210914121036.3975026-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The CPU field will be moved back into thread_info even when THREAD_INFO_IN_TASK is enabled, so add it back to s390's definition of struct thread_info. Signed-off-by: Ard Biesheuvel --- arch/s390/include/asm/thread_info.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h index e6674796aa6f..b2ffcb4fe000 100644 --- a/arch/s390/include/asm/thread_info.h +++ b/arch/s390/include/asm/thread_info.h @@ -37,6 +37,7 @@ struct thread_info { unsigned long flags; /* low level flags */ unsigned long syscall_work; /* SYSCALL_WORK_ flags */ + unsigned int cpu; /* current CPU */ }; /* -- 2.30.2