projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71a9048
)
toshiba.h: hide a function prototypes behind __KERNEL__ macro
author
Alexander Shishkin
<virtuoso@slind.org>
Thu, 13 Jan 2011 00:59:35 +0000
(16:59 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:08 +0000
(08:03 -0800)
Currently, tosh_smm() prototype is present in a header file exported to
userland. This patch fixes it.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Cc: Jonathan Buzzard <jonathan@buzzard.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/toshiba.h
patch
|
blob
|
history
diff --git
a/include/linux/toshiba.h
b/include/linux/toshiba.h
index
6a7c4ed
..
772dedb
100644
(file)
--- a/
include/linux/toshiba.h
+++ b/
include/linux/toshiba.h
@@
-33,6
+33,8
@@
typedef struct {
unsigned int edi __attribute__ ((packed));
} SMMRegisters;
+#ifdef __KERNEL__
int tosh_smm(SMMRegisters *regs);
+#endif /* __KERNEL__ */
#endif