Received: by 10.192.165.148 with SMTP id m20csp146854imm; Tue, 24 Apr 2018 19:08:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx49yWpenxlw/bazDb4r6rLcQcAfJRYNtsuqgSTFobjHGTZC1gaLdyrww6vN4JbMjOg2va8l/ X-Received: by 2002:a17:902:6113:: with SMTP id t19-v6mr26859028plj.372.1524622129956; Tue, 24 Apr 2018 19:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524622129; cv=none; d=google.com; s=arc-20160816; b=n7fau9OuL3B+MA+J2YPo9wx3QU7lBro7u2kYsVtJOgUkL6ikylW6RpZCa39kWXBmhQ jmw0wAjVgMKW/N2nKuyo/r9eK8rxAmZlH0EKwa1nnbhiw1Y1xu4T0mNrF21oZivwFcKb UiDGIqtpLT0Xx8DA3IieyVSLeRqYvGTstGOhds5QQ3kcoHKf2BgLZJ/Ft2sbwEdTAO/+ 0e8APtywbkRwk7PjgeII3oNwrm86vac4K0PopNeEFKZr7g13NbGuBtpNzJWTXgjuMq8u x+Y2+9oGZB2klR/vsjrI2RTO0rm0JbS0qw9X+ajc2ziRsEQpuw9uYlGg3PQ8iOurkVSU eLNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=8wLv9haASnM+jRiBcsdWzSnJszOxtgh8Y5ajtvZcRSY=; b=DtYVgpdWb/3bKx4ESAQNlavv6a4cUbX73ohaKle7bRIvdmpzajnT5DhlQLCU78hgWA ulCroNID9JEjX8GNXnNFjuN9uiINM4l+2M9wyyj3OEdai7puvc99o68ji2Z6kEY3xcH1 H88LbcciLyetxnYRYJCXv7RF+HWMOrjtTgMs+pDzFKpyonk96oFL2W+9Vocle9PZaDEx UmUq/cT/shPKrsUJKWICdF95afGsId4gsA1dSSBPr7PLWkfvZe3u7IXG6Y/FIC2LnEak GthLKfx4LIJAYzHq5YGSGJqIvCkiGJj5vHXHzyhnd2k8rvp5X+W57/wcLGdVQgq8Z6qI Tz8A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y9si12721140pgr.180.2018.04.24.19.08.35; Tue, 24 Apr 2018 19:08:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751271AbeDYCGK (ORCPT + 99 others); Tue, 24 Apr 2018 22:06:10 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:16837 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750882AbeDYCGH (ORCPT ); Tue, 24 Apr 2018 22:06:07 -0400 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="39285205" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 25 Apr 2018 10:06:05 +0800 Received: from G08CNEXCHPEKD02.g08.fujitsu.local (unknown [10.167.33.83]) by cn.fujitsu.com (Postfix) with ESMTP id 00E034B31495; Wed, 25 Apr 2018 10:06:05 +0800 (CST) Received: from localhost.localdomain (10.167.226.106) by G08CNEXCHPEKD02.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 25 Apr 2018 10:06:04 +0800 From: Dou Liyang To: , CC: , , , Dou Liyang Subject: [PATCH] x86/vector: Remove the macro VECTOR_OFFSET_START Date: Wed, 25 Apr 2018 10:05:53 +0800 Message-ID: <20180425020553.17210-1-douly.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 00E034B31495.AF39A X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now, Linux uses matrix allocator for vector assignment, the original assignment code which used VECTOR_OFFSET_START has been removed. So remove the stale macro as well Signed-off-by: Dou Liyang --- arch/x86/include/asm/irq_vectors.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h index 404c5fdff859..57003074bd7a 100644 --- a/arch/x86/include/asm/irq_vectors.h +++ b/arch/x86/include/asm/irq_vectors.h @@ -34,11 +34,6 @@ * (0x80 is the syscall vector, 0x30-0x3f are for ISA) */ #define FIRST_EXTERNAL_VECTOR 0x20 -/* - * We start allocating at 0x21 to spread out vectors evenly between - * priority levels. (0x80 is the syscall vector) - */ -#define VECTOR_OFFSET_START 1 /* * Reserve the lowest usable vector (and hence lowest priority) 0x20 for -- 2.14.3