mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mm/slab.c: proper prototypes
Add proper prototypes in include/linux/slab.h. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
411f0f3edc
commit
ac267728f1
2 changed files with 3 additions and 2 deletions
|
|
@ -398,8 +398,6 @@ static const struct file_operations proc_modules_operations = {
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_SLAB
|
||||
extern struct seq_operations slabinfo_op;
|
||||
extern ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *);
|
||||
static int slabinfo_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
return seq_open(file, &slabinfo_op);
|
||||
|
|
|
|||
Loading…
Reference in a new issue