lkml.org 
[lkml]   [2014]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 04/28] nios2: Exception handling
From
Hi Ley,

On Wed, Apr 23, 2014 at 4:47 AM, Ley Foon Tan <lftan@altera.com> wrote:
> On Tue, Apr 22, 2014 at 8:33 PM, Arnd Bergmann <arnd@arndb.de> wrote:
>> On Friday 18 April 2014, Ley Foon Tan wrote:
>>> +static const struct file_operations misalign_fops = {
>>> + .open = proc_misaligned_open,
>>> + .read = seq_read,
>>> + .llseek = seq_lseek,
>>> + .release = single_release,
>>> + .write = proc_misaligned_write,
>>> +};
>>> +#endif /* CONFIG_PROC_FS */
>>
>> We really shouldn't be doing new architecture specific procfs files
>> any more. I suggest you drop this one for now, and add back the
>> functionality using perf or ftrace at a later point.
>
> Okay, will remove this.

MIPS and powerpc handle this through debugfs, cfr.
arch/mips/kernel/unaligned.c and arch/powerpc/kernel/traps.c.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


\
 
 \ /
  Last update: 2014-04-23 10:41    [W:0.158 / U:1.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site