summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/unaligned_32.c
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2009-06-02 09:00:47 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-16 06:30:28 +0200
commite4792aa30f9d33584d7192685ed149cc5fee737f (patch)
tree45fa5363a7e7fd21fc0e28100b9d6ef807dd8598 /arch/sparc/kernel/unaligned_32.c
parentdebugfs: Fix terminology inconsistency of dir name to mount debugfs filesystem. (diff)
downloadlinux-e4792aa30f9d33584d7192685ed149cc5fee737f.tar.xz
linux-e4792aa30f9d33584d7192685ed149cc5fee737f.zip
debugfs: use specified mode to possibly mark files read/write only
In many SoC implementations there are hardware registers can be read or write only. This extends the debugfs to enforce the file permissions for these types of registers by providing a set of fops which are read or write only. This assumes that the kernel developer knows more about the hardware than the user (even root users) -- which is normally true. Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/sparc/kernel/unaligned_32.c')
0 files changed, 0 insertions, 0 deletions