Permalink
Browse files

remove inclusion of sysinfo.h in kernel.h

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 583dfcafd340ffb749726fa81dcc085b79348bf1
Showing with 0 additions and 2 deletions.
  1. +0 −2 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
*/

0 comments on commit 583dfca

Please sign in to comment.