Skip to content

Commit

Permalink
remove inclusion of sysinfo.h in kernel.h
Browse files Browse the repository at this point in the history
the declaration of struct sysinfo clashes with userspace.
it's not quite clear why that header was included from kernel.h,
as none of its functionality is needed.
  • Loading branch information
rofl0r committed Jan 20, 2014
1 parent 26014dc commit 583dfca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions generic/include/linux/kernel.h
@@ -1,8 +1,6 @@
#ifndef _LINUX_KERNEL_H
#define _LINUX_KERNEL_H

#include <linux/sysinfo.h>

/*
* 'kernel.h' contains some often-used function prototypes etc
*/
Expand Down

0 comments on commit 583dfca

Please sign in to comment.