lkml.org 
[lkml]   [2012]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] um: Use generic io.h
Am 30.01.2012 20:32, schrieb Al Viro:
> On Mon, Jan 30, 2012 at 07:25:52PM +0000, Al Viro wrote:
>
>> While we are at it, param.h and pci.h appear to be candidates for the
>> same treatment, along with delay.h and auxvec.h. mutex.h as well...
>> BTW, we probably can kill arch/um/include/asm/asm-offsets.h - everything
>> in there is using generated/asm-offsets.h directly.
>>
>> FWIW, I'd probably kill current.h as well - replace get_current() in
>> arch/um/kernel/process.c with get_current_pid() (i.e. task_pid_nr(current)),
>> kill HOST_TASK_PID and switch arch/x86/um/bugs_32.c to use of get_current_pid()
>> and we can switch to asm-generic/current.h just fine.
>
> BTW, while looking at those headers - why do we need asm/user.h pulled from
> arch/um/include/asm/ptrace-generic.h?

Hmmm, looks like a relict.
Let's remove it.

Thanks,
//richard



\
 
 \ /
  Last update: 2012-01-30 20:57    [W:0.067 / U:10.284 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site