lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Expose the irq_desc node in proc/irq
On Fri, 11 Dec 2009 10:25:32 -0600
Dimitri Sivanich <sivanich@sgi.com> wrote:

> Expose the irq_desc node as /proc/irq/*/node.
>

:(

If the changelog provides no reason for the change, the recipient has
no reason to apply the patch.

>
> ...
> + return single_open(file, irq_node_proc_show, PDE(inode)->data);

I'd have expected checkpatch to complain about the double-space, but it
doesn't.

> ...
> /* create /proc/irq/<irq>/smp_affinity */
> proc_create_data("smp_affinity", 0600, desc->dir,
> &irq_affinity_proc_fops, (void *)(long)irq);
> +
> + proc_create_data("node", 0444, desc->dir,
> + &irq_node_proc_fops, (void *)(long)irq);
> #endif
>
> proc_create_data("spurious", 0444, desc->dir,

This should be documented in Documentation/filesystems/proc.txt,
alongside smp_affinity.


\
 
 \ /
  Last update: 2009-12-11 23:15    [W:0.047 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site