bitkeeper revision 1.1557 (4294b94bIF7VSJm4DWqLidHZJXHecQ)

x86/64 build fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-05-25 17:43:39 +00:00
1 parent 6a7439fcbc
commit 4e9ae8c366
4 files changed
+4 -10

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
#include <xen/irq.h>
#include <xen/console.h>
#include <xen/sched.h>
#include <asm/flushtlb.h>
#include <asm/msr.h>
void show_registers(struct cpu_user_regs *regs)
+2
View File
@@ -5,6 +5,8 @@
* Copyright 1997 Linus Torvalds
* Copyright 2002 Andi Kleen <ak@suse.de>
*/
#include <xen/string.h>
#include <asm/uaccess.h>
/*
@@ -20,7 +20,7 @@ static inline int mps_oem_check(struct mp_config_table *mpc, char *oem,
{
if (mpc->mpc_oemptr) {
struct mp_config_oemtable *oem_table =
(struct mp_config_oemtable *)mpc->mpc_oemptr;
(struct mp_config_oemtable *)(long)mpc->mpc_oemptr;
if (!strncmp(oem, "UNISYS", 6))
return parse_unisys_oem((char *)oem_table, oem_table->oem_length);
}
-9
View File
@@ -32,16 +32,7 @@ struct dmi_system_id {
#define DMI_MATCH(a,b) { a, b }
#if defined(CONFIG_X86) && !defined(CONFIG_X86_64)
extern int dmi_check_system(struct dmi_system_id *list);
extern char * dmi_get_system_info(int field);
#else
static inline int dmi_check_system(struct dmi_system_id *list) { return 0; }
static inline char * dmi_get_system_info(int field) { return NULL; }
#endif
#endif /* __DMI_H__ */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.