Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3016806imm; Sun, 30 Sep 2018 09:51:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV612C0NlOspP1W1PDwCjuHa1AlSF/xDfZzgC4YrMjjp60q1Lmx1U5dm0tYytJGQy93oRTSUN X-Received: by 2002:a17:902:c6:: with SMTP id a64-v6mr8014250pla.180.1538326273964; Sun, 30 Sep 2018 09:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538326273; cv=none; d=google.com; s=arc-20160816; b=KOvcixO3BIlhyduHDUYSVXSOnRJt22heAcucrOMODr5rrjSjp4cHsK4CDZYbOW01Ex TbMv4/niU+kf7NtE1YmNHgX28SoI913XrSzye8wl9/Lvhxuithy+A1XEoWSDo3e1Xagu cKPpuGXjrwYEfEdW2tdVhBUrBW4Nu6vHxuJ1U4gYa/wpH5RnuJZqHTvK1JgOm7jW2UZh Q6sBCoreV2ArioFXBlx+3BLCRXrWObGsdLXNnnBYA8IApJvj/kvb+zJDyboJYlbA1Am5 Uj/Jr8ZeCeCxPPmHHdGEYuDDSBYcUvhSXa0LEohhaMcX+Uuo4bF6ZhvcAkwfNa47LPHO wLZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=zQQypsis8U9V5SwYSdiwkV97643L7/h1ZNc5LuarjFA=; b=IfoSRawYHNg2V0k5ACvNOtYt8Lt52A6vTrjW8ypKtEkRJ7WoRjCBbeegw9all321WI +efNtVsJPAaRtbSq07x19U0kh1fkniIrRZR8CTNOzYtELD8Z3QxFidDy+n/4gBcwqhm1 /RjRW2vwcDkEtCFMXGuc0LH3Iljy008n78TPcxN+0a/OVRJED0PErKSG8IgMKTecuqPc O5vDzqntSQMh1xHwAKPVS0M2RO4qKkXwoFi7pj4wgwgg5MGhJu6ZSK/xdX0x7LBHj67b GzHiAplj1WBCf+rf0YKb80ddMoOZfLMXLj8hJHcwEt1SYNiqfcyjdG0AsdkxTDQhJZPA CArA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OodV8v3b; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q21-v6si10310442plr.397.2018.09.30.09.50.25; Sun, 30 Sep 2018 09:51:13 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=OodV8v3b; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728479AbeI3XX6 (ORCPT + 99 others); Sun, 30 Sep 2018 19:23:58 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:38982 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728192AbeI3XX6 (ORCPT ); Sun, 30 Sep 2018 19:23:58 -0400 Received: by mail-wr1-f65.google.com with SMTP id s14-v6so11217563wrw.6 for ; Sun, 30 Sep 2018 09:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=zQQypsis8U9V5SwYSdiwkV97643L7/h1ZNc5LuarjFA=; b=OodV8v3bobbNdNmv+cyAs7PWon/jUCL6IXhX8zoP6ZMFXVleoUbzKbG9D2/GRaF9QG BsJm819S8GwMLZLRsjwV6EgU2r+6udwYyxDkA1GKMycHcSavhwU6BKEmQKKW7jFETad4 iA/XnQaMWoKEtuGi8dfLEvZFNd+PsFxPnWbGk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zQQypsis8U9V5SwYSdiwkV97643L7/h1ZNc5LuarjFA=; b=C/8JgqwykeUoVAdjz36Y5zPkdZxE/VsrC1pOQuknsqZw7ICowacN6rx7MR4MJkLXiz NcQRtl9wqcg8fFr4Exh1XV7PUHReb4ZRyAeOvPP3d8x1O5R2PVhAPjz+QsO5mW8xkqyV yfaUo7Jr1NGqz3Y2xSruQLqEWA1W78CIPMDsA+cVExvhrWYvlS+VV7EtiwRWzwAhS8M7 3wX9DLqn6PahjARJSdAzeJhgRfpZCIm6k28oVLDJj4f9Dzd26fn1LfflP4nIXOrUv447 UaxDiz1i+GNbHxjDB9oZZAZbVyjdaeaDPFlbJWF2UTU8DsA3dCTbZq/9ddSMLKlJwQD0 89FA== X-Gm-Message-State: ABuFfoiP6HoEh8XeXgXjOZKVePiT4cIEQCzEbvMYL0QZdEow1hg9yHQG nXvPbMjwaK1YjpfsWip2rvkJ2Q== X-Received: by 2002:a05:6000:14b:: with SMTP id r11mr5040655wrx.300.1538326211066; Sun, 30 Sep 2018 09:50:11 -0700 (PDT) Received: from dogfood.home ([2a01:cb1d:112:6f00:60c8:8590:40da:4e8e]) by smtp.gmail.com with ESMTPSA id s26-v6sm6740812wmh.44.2018.09.30.09.50.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 09:50:10 -0700 (PDT) From: Ard Biesheuvel To: linux-s390@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux@roeck-us.net, Ard Biesheuvel , Heiko Carstens , Kees Cook , Thomas Gleixner , Ingo Molnar , Martin Schwidefsky , Jessica Yu , Peter Zijlstra Subject: [PATCH] s390: vmlinux.lds: move JUMP_TABLE_DATA into output section Date: Sun, 30 Sep 2018 18:49:50 +0200 Message-Id: <20180930164950.3841-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit e872267b8bcbb179 ("jump_table: move entries into ro_after_init region") moved the __jump_table input section into the __ro_after_init output section, but inadvertently put the macro in the wrong place in the s390 linker script. Let's fix that. Fixes: e872267b8bcbb179 ("jump_table: move entries into ro_after_init region") Reported-by: Guenter Roeck Cc: Heiko Carstens Cc: Kees Cook Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Martin Schwidefsky Cc: Jessica Yu Cc: Peter Zijlstra Signed-off-by: Ard Biesheuvel --- arch/s390/kernel/vmlinux.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S index 4042bbf3f9ad..457713f48734 100644 --- a/arch/s390/kernel/vmlinux.lds.S +++ b/arch/s390/kernel/vmlinux.lds.S @@ -64,9 +64,9 @@ SECTIONS __start_ro_after_init = .; .data..ro_after_init : { *(.data..ro_after_init) + JUMP_TABLE_DATA } EXCEPTION_TABLE(16) - JUMP_TABLE_DATA . = ALIGN(PAGE_SIZE); __end_ro_after_init = .; -- 2.17.1