From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760367Ab2CMKBu (ORCPT ); Tue, 13 Mar 2012 06:01:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52755 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756172Ab2CMKBs (ORCPT ); Tue, 13 Mar 2012 06:01:48 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <201203130916.15118.arnd@arndb.de> References: <201203130916.15118.arnd@arndb.de> <20120312233602.13888.27659.stgit@warthog.procyon.org.uk> <20120312233747.13888.75605.stgit@warthog.procyon.org.uk> To: Arnd Bergmann Cc: dhowells@redhat.com, paul.gortmaker@windriver.com, hpa@zytor.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-hexagon@vger.kernel.org Subject: Re: [PATCH 10/35] Disintegrate asm/system.h for Hexagon [ver #2] Date: Tue, 13 Mar 2012 10:01:40 +0000 Message-ID: <27808.1331632900@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann wrote: > Looking at this example, it could easily use the asm-generic versions of > switch_to.h and barrier.h, but that would complicate the dependency chain > again. Yep. The plan is to throw more patches on to the end of the series to consolidate those. In fact, I wonder if we still really need the switch_to() macro wrapper, or whether we could replace it with an function, inline or otherwise, that returns the macro's third argument. David