From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755561AbbBLLMV (ORCPT ); Thu, 12 Feb 2015 06:12:21 -0500 Received: from mx02.posteo.de ([89.146.194.165]:57787 "EHLO mx02.posteo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754052AbbBLLMT (ORCPT ); Thu, 12 Feb 2015 06:12:19 -0500 From: Martin Kepplinger To: linux@roeck-us.net, mingo@kernel.org, hpa@zytor.com Cc: peterz@infradead.org, torvalds@linux-foundation.org, jsrhbz@kanargh.force9.co.uk, christoph.muellner@theobroma-systems.com, linux@rasmusvillemoes.dk, paulmck@linux.vnet.ibm.com, tglx@linutronix.de, akpm@linux-foundation.org, maxime.coquelin@st.com, linux-kernel@vger.kernel.org, tytso@mit.edu, linux-tip-commits@vger.kernel.org Subject: Example use of sign_extend64() Date: Thu, 12 Feb 2015 12:11:29 +0100 Message-Id: <1423739490-5187-1-git-send-email-martink@posteo.de> X-Mailer: git-send-email 2.1.4 In-Reply-To: <54D37A2F.1010906@roeck-us.net> References: <54D37A2F.1010906@roeck-us.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>From a first look, there are quite some places in arch where sign extension is done. I append one example for review although I didn't even build this. Don't use it unreviewed! I guess the doc-addition to sign_extend32() would be valuable for it to be used more often in long term.