Skip to content
Snippets Groups Projects
Commit 049763db authored by Alexander Shishkin's avatar Alexander Shishkin Committed by Linus Torvalds
Browse files

toshiba.h: hide a function prototypes behind __KERNEL__ macro


Currently, tosh_smm() prototype is present in a header file exported to
userland.  This patch fixes it.

Signed-off-by: default avatarAlexander Shishkin <virtuoso@slind.org>
Cc: Jonathan Buzzard <jonathan@buzzard.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 71a90484
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,8 @@ typedef struct {
unsigned int edi __attribute__ ((packed));
} SMMRegisters;
#ifdef __KERNEL__
int tosh_smm(SMMRegisters *regs);
#endif /* __KERNEL__ */
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment