Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1465957
| From | Paul Gortmaker <paul.gortmaker@windriver.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] ia64: macro-ize ia64_done_with_exception in asm/uaccess.h |
| Date | 2016-08-19 05:30 +0200 |
| Message-ID | <s7IFj-ej-7@gated-at.bofh.it> (permalink) |
| References | <s6OjL-4IB-9@gated-at.bofh.it> <s6OjM-4IB-25@gated-at.bofh.it> <s7cFs-40T-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Re: [PATCH 1/2] ia64: macro-ize ia64_done_with_exception in asm/uaccess.h] On 17/08/2016 (Wed 18:15) Al Viro wrote: > 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? Looking at arm and alpha, it seems there are other arch that have exception stuff in their own arch specific uaccess.h file, so I'm guessing it got there in ia64 just by happenstance of copying existing implementations. THere is a precedent for arch specific asm/exception.h -- we could create one for ia64 and move the chunks over there if folks thought that was worthwhile I suppose. Paul. --
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/2] ia64: make use of new extable.h header Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-08-16 17:20 +0200
[PATCH 1/2] ia64: macro-ize ia64_done_with_exception in asm/uaccess.h Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-08-16 17:20 +0200
Re: [PATCH 1/2] ia64: macro-ize ia64_done_with_exception in asm/uaccess.h Al Viro <viro@ZenIV.linux.org.uk> - 2016-08-17 19:20 +0200
Re: [PATCH 1/2] ia64: macro-ize ia64_done_with_exception in asm/uaccess.h Paul Gortmaker <paul.gortmaker@windriver.com> - 2016-08-19 05:30 +0200
csiph-web