From mboxrd@z Thu Jan 1 00:00:00 1970 From: rabin@rab.in (Rabin Vincent) Date: Thu, 1 Dec 2011 22:56:40 +0530 Subject: [RFC PATCH] ARM: Add generic instruction opcode manipulation helpers In-Reply-To: <20111128174122.GG2465@localhost.localdomain> References: <1322220493-3251-1-git-send-email-dave.martin@linaro.org> <20111128174122.GG2465@localhost.localdomain> Message-ID: <20111201172623.GA7580@debian> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Nov 28, 2011 at 05:41:22PM +0000, Dave Martin wrote: > Rabin, did the __opcode_read stuff look useful for ftrace? My idea > was to factor out the logic of how to read/write a whole instruction, > but my proposal may be overkill... No. ftrace just uses probe_kernel_read() and always reads a 32-bit instruction.