i915 & atikms: update

git-svn-id: svn://kolibrios.org@3120 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2012-12-16 19:05:06 +00:00
parent 1db3b2cf18
commit fb30cd43b9
51 changed files with 1597 additions and 217 deletions

View File

@@ -1,11 +1,6 @@
#ifndef _LINUX_STRING_H_
#define _LINUX_STRING_H_
/* We don't want strings.h stuff being used by user stuff by accident */
#ifndef __KERNEL__
#include <string.h>
#else
#include <linux/compiler.h> /* for inline */
#include <linux/types.h> /* for size_t */
@@ -144,5 +139,7 @@ static inline bool strstarts(const char *str, const char *prefix)
{
return strncmp(str, prefix, strlen(prefix)) == 0;
}
#endif
extern size_t memweight(const void *ptr, size_t bytes);
#endif /* _LINUX_STRING_H_ */