Re: [PATCH 1/2] ia64: macro-ize ia64_done_with_exception in asm/uaccess.h
From: Al Viro
Date: Wed Aug 17 2016 - 13:15:55 EST
On Tue, Aug 16, 2016 at 11:14:42AM -0400, Paul Gortmaker wrote:
> Most of the other C content in this file is already implemented
> in macro form. Doing the same for this function will allow us
> to get rid of the duplicated search_exception_tables prototype.
> We will bring it in as required via <linux/extable.h> inclusion.
What is it doing in uaccess.h in the first place? ia64_done_with_exception()
is used only in the guts of arch/ia64 (2 in kernel, 1 in mm), so why dump it
into a widely-used header?