Re: [PATCH] debugfs: add get/set for atomic types

From: Greg Kroah-Hartman
Date: Fri Oct 26 2012 - 12:12:25 EST


On Fri, Oct 26, 2012 at 10:49:01AM -0500, Seth Jennings wrote:
> debugfs currently lacks the ability to create attributes
> that set/get atomic_t values.
>
> This patch adds support for this through a new
> debugfs_create_atomic_t() function.

Why would you want to set an atomic variable type from userspace? What
in-kernel code needs this?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/