Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp495970pxb; Tue, 14 Sep 2021 02:17:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAH8h0YR26VsTD4d64bscsSmBId7VPehM4grunpqEonZM480Fe2B0/TPFvp3awE4ha0YW6 X-Received: by 2002:a92:6805:: with SMTP id d5mr11380448ilc.286.1631611025498; Tue, 14 Sep 2021 02:17:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631611025; cv=none; d=google.com; s=arc-20160816; b=KN9B8fTrkKxO9KjD0Qpsw+39oxv5upAhrebKzZOWFozXWRYnvt7RfuaC8gEKcsldEV QShXyrTScmnSIMl1hrbTFUZlAGDamA3bszUYG/nA1H1ff5u/k1DcAO2vNMg9WERVEEyF RR/xymuZAYMkh3ALcKmB7FdUyc9rrYNd82XxEYOXQr9xJM8koFr5tOP7Oom4rqCw73Xh u61d/nGejuFfh/JX4i3JmMnaFFzQmikGXMgU1dp5Eh83xWSUSbIvjtqc6Nsasz8eqjBz 6zaWKnP7mZKCSxhb1KqGleyyRYWQcPelx2naMZ3dnG6SQM3kOEw8gql1ecsORVSiKTQE z+jg== 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:dkim-signature; bh=395yGS0ex2VEogWBSAu+RwdEzwssPbbJ8k+scfecEoE=; b=tULMokeOT4iaZSGtpH70s+mU/U1Q8YVmR1Sd9CVFUZ4vR1YXy3rBQhnyK1Vb+sVuWh fOFNY+BvCIPq5RMMq/N97aXFFxlO+3bax8PyIfkGzqGlFink8GR7t6c4mp+Vv6nOrDwC O9msXnk+mT97VSGIDQ00HQ/a7rF6KGIA/BhDGCuETcsWZbCjEppJil1mgmPgRjpNPU3R YgSOGXvFfIK0VXg+oKyHOq5nAzTGsXrkkk5opuhrb9cplxURe1KdXt7ZXY+t4kwa9nzI EBsshUhGOnEqGOo9W2+XLQRHsQ8MzcdpP8jh1qR2GtY5UE5N02yHIId7FBs189/3OoF8 mmLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=SlwUZn91; dkim=neutral (no key) header.i=@suse.cz header.b=EZfV9JNE; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 71si9118296jaw.105.2021.09.14.02.16.54; Tue, 14 Sep 2021 02:17:05 -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=@suse.cz header.s=susede2_rsa header.b=SlwUZn91; dkim=neutral (no key) header.i=@suse.cz header.b=EZfV9JNE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231620AbhINJP6 (ORCPT + 99 others); Tue, 14 Sep 2021 05:15:58 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:34550 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229624AbhINJPg (ORCPT ); Tue, 14 Sep 2021 05:15:36 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id CCD36220D4; Tue, 14 Sep 2021 09:14:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1631610858; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=395yGS0ex2VEogWBSAu+RwdEzwssPbbJ8k+scfecEoE=; b=SlwUZn918D+t+/O/s9bdpcv0HtFMw5Jo8MiakKPq5598ISRcR+jMTDBRwQqWzVlBi2ta7e 9mQzdV58bHvrNxLYtTPQ3OnJgThis3VKJU+xtW1v4X6huteBRPR90fT8gzYiOUo2tsk/AA bitz/ZkosGG6Gz06R6oPjvVPnczqW10= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1631610858; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=395yGS0ex2VEogWBSAu+RwdEzwssPbbJ8k+scfecEoE=; b=EZfV9JNECZa3I9IKkNFmY1Kbt8x5/44vofy57cayI+AguE8164rxgqfBhC6CfUeTvWX9m/ jrWtOfsa3oCGALBg== Received: from localhost.localdomain (unknown [10.100.201.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 1431CA3B8E; Tue, 14 Sep 2021 09:14:18 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby , "James E.J. Bottomley" , Helge Deller , Jeff Dike , Richard Weinberger , Anton Ivanov , Chris Zankel , Max Filippov , linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org Subject: [PATCH 12/16] tty: arch/, stop using tty_flip_buffer_push Date: Tue, 14 Sep 2021 11:14:11 +0200 Message-Id: <20210914091415.17918-5-jslaby@suse.cz> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210914091415.17918-1-jslaby@suse.cz> References: <20210914091134.17426-1-jslaby@suse.cz> <20210914091415.17918-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit a9c3f68f3cd8d (tty: Fix low_latency BUG) in 2014, tty_flip_buffer_push() is only a wrapper to tty_schedule_flip(). We are going to remove the former, so call the latter directly in arch/. Signed-off-by: Jiri Slaby Cc: "James E.J. Bottomley" Cc: Helge Deller Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: Chris Zankel Cc: Max Filippov Cc: linux-parisc@vger.kernel.org Cc: linux-um@lists.infradead.org Cc: linux-xtensa@linux-xtensa.org --- arch/parisc/kernel/pdc_cons.c | 2 +- arch/um/drivers/chan_kern.c | 2 +- arch/xtensa/platforms/iss/console.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/parisc/kernel/pdc_cons.c b/arch/parisc/kernel/pdc_cons.c index 2661cdd256ae..221af0ab3382 100644 --- a/arch/parisc/kernel/pdc_cons.c +++ b/arch/parisc/kernel/pdc_cons.c @@ -128,7 +128,7 @@ static void pdc_console_poll(struct timer_list *unused) } if (count) - tty_flip_buffer_push(&tty_port); + tty_schedule_flip(&tty_port); if (pdc_cons.flags & CON_ENABLED) mod_timer(&pdc_console_timer, jiffies + PDC_CONS_POLL_DELAY); diff --git a/arch/um/drivers/chan_kern.c b/arch/um/drivers/chan_kern.c index 62997055c454..62164db99f99 100644 --- a/arch/um/drivers/chan_kern.c +++ b/arch/um/drivers/chan_kern.c @@ -566,5 +566,5 @@ void chan_interrupt(struct line *line, int irq) return; } out: - tty_flip_buffer_push(port); + tty_schedule_flip(port); } diff --git a/arch/xtensa/platforms/iss/console.c b/arch/xtensa/platforms/iss/console.c index 81d7c7e8f7e9..8d8580d1ef56 100644 --- a/arch/xtensa/platforms/iss/console.c +++ b/arch/xtensa/platforms/iss/console.c @@ -84,7 +84,7 @@ static void rs_poll(struct timer_list *unused) } if (i) - tty_flip_buffer_push(port); + tty_schedule_flip(port); if (rd) mod_timer(&serial_timer, jiffies + SERIAL_TIMER_VALUE); spin_unlock(&timer_lock); -- 2.33.0