Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0-only */
 
 
 
 
 2
 3#ifndef __ASM_DMI_H
 4#define __ASM_DMI_H
 5
 6#include <linux/io.h>
 7#include <linux/slab.h>
 8
 9#define dmi_early_remap(x, l)		memremap(x, l, MEMREMAP_WB)
10#define dmi_early_unmap(x, l)		memunmap(x)
11#define dmi_remap(x, l)			memremap(x, l, MEMREMAP_WB)
12#define dmi_unmap(x)			memunmap(x)
13#define dmi_alloc(l)			kzalloc(l, GFP_KERNEL)
14
15#endif
v4.17
 1/*
 2 * This program is free software; you can redistribute it and/or modify
 3 * it under the terms of the GNU General Public License version 2 as
 4 * published by the Free Software Foundation.
 5 */
 6
 7#ifndef __ASM_DMI_H
 8#define __ASM_DMI_H
 9
10#include <linux/io.h>
11#include <linux/slab.h>
12
13#define dmi_early_remap(x, l)		memremap(x, l, MEMREMAP_WB)
14#define dmi_early_unmap(x, l)		memunmap(x)
15#define dmi_remap(x, l)			memremap(x, l, MEMREMAP_WB)
16#define dmi_unmap(x)			memunmap(x)
17#define dmi_alloc(l)			kzalloc(l, GFP_KERNEL)
18
19#endif