From: Sascha Wildner Date: Sat, 23 Feb 2013 13:33:27 +0000 (+0100) Subject: kernel/x86_64: Remove some bogus #ifndefs. X-Git-Tag: v3.4.0rc~224 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/4f918f4eda2e37ef0cd4f545e60ad6ba7a697d51 kernel/x86_64: Remove some bogus #ifndefs. --- diff --git a/sys/cpu/x86_64/include/types.h b/sys/cpu/x86_64/include/types.h index 7b4c8993a2..742bccc3e8 100644 --- a/sys/cpu/x86_64/include/types.h +++ b/sys/cpu/x86_64/include/types.h @@ -66,13 +66,10 @@ typedef __uint64_t uintfptr_t; /* * MMU page tables */ -#ifndef JG_defined_pml4_entry_t -#define JG_defined_pml4_entry_t typedef __uint64_t pml4_entry_t; typedef __uint64_t pdp_entry_t; typedef __uint64_t pd_entry_t; typedef __uint64_t pt_entry_t; -#endif typedef __uint64_t cpumask_t; /* mask representing a set of cpus */ #if defined(_KERNEL) || defined(_KERNEL_STRUCTURES) @@ -87,4 +84,3 @@ typedef __uint64_t cpumask_t; /* mask representing a set of cpus */ #define PTESIZE sizeof(pt_entry_t) /* for assembly files */ #endif /* !_CPU_TYPES_H_ */ - diff --git a/sys/platform/pc64/include/intr_machdep.h b/sys/platform/pc64/include/intr_machdep.h index 2ef62d872d..98a979e2ce 100644 --- a/sys/platform/pc64/include/intr_machdep.h +++ b/sys/platform/pc64/include/intr_machdep.h @@ -136,10 +136,7 @@ /* * Type of the first (asm) part of an interrupt handler. */ -#ifndef JG_defined_inthand_t -#define JG_defined_inthand_t typedef void inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); -#endif #define IDTVEC(name) __CONCAT(X,name)