mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
ef3fb66ced
The declaration of dmi helper functions is a bit messy and inconsistent at the moment: * On ia64 they are declared in <asm/io.h>. * On x86-64 they are declared in <asm/dmi.h>. * On i386 they are declared both in <asm/io.h> and <asm/dmi.h>. Fix the header files so that the dmi helper functions are consistently defined in <asm/dmi.h>. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Matt Domsch <Matt_Domsch@dell.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11 lines
215 B
C
11 lines
215 B
C
#ifndef _ASM_DMI_H
|
|
#define _ASM_DMI_H 1
|
|
|
|
#include <asm/io.h>
|
|
|
|
/* Use normal IO mappings for DMI */
|
|
#define dmi_ioremap ioremap
|
|
#define dmi_iounmap(x,l) iounmap(x)
|
|
#define dmi_alloc(l) kmalloc(l, GFP_ATOMIC)
|
|
|
|
#endif
|