ddk: update
git-svn-id: svn://kolibrios.org@3391 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
#define PG_SW 0x003
|
||||
#define PG_UW 0x007
|
||||
#define PG_NOCACHE 0x018
|
||||
#define PG_NOCACHE 0x010
|
||||
#define PG_SHARED 0x200
|
||||
|
||||
|
||||
@@ -63,17 +63,6 @@ int ddk_init(struct ddk_params *params);
|
||||
u32_t drvEntry(int, char *)__asm__("_drvEntry");
|
||||
|
||||
|
||||
#define __WARN() dbgprintf(__FILE__, __LINE__)
|
||||
|
||||
#ifndef WARN_ON
|
||||
#define WARN_ON(condition) ({ \
|
||||
int __ret_warn_on = !!(condition); \
|
||||
if (unlikely(__ret_warn_on)) \
|
||||
__WARN(); \
|
||||
unlikely(__ret_warn_on); \
|
||||
})
|
||||
#endif
|
||||
|
||||
|
||||
static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags)
|
||||
{
|
||||
|
Reference in New Issue
Block a user