Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: userimask.c needs linux/stat.h

This fix the problem that S_IRUSR and S_IWUSR are not solved in userimask.c.

-----
CC drivers/usb/host/r8a66597-hcd.o
drivers/sh/intc/userimask.c:57: error: ‘S_IRUSR’ undeclared here (not in a function)
drivers/sh/intc/userimask.c:57: error: ‘S_IWUSR’ undeclared here (not in a function)
CC drivers/watchdog/shwdt.o
-----

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

authored by

Nobuhiro Iwamatsu and committed by
Paul Mundt
a102a088 ad2a8e7e

+1
+1
drivers/sh/intc/userimask.c
··· 13 13 #include <linux/sysdev.h> 14 14 #include <linux/init.h> 15 15 #include <linux/io.h> 16 + #include <linux/stat.h> 16 17 #include <asm/sizes.h> 17 18 #include "internals.h" 18 19