Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71028
b: refs/heads/master
c: 003a46c
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed Oct 17, 2007
1 parent 5354b53 commit 67ee46f
Show file tree
Hide file tree
Showing 44 changed files with 499 additions and 1,200 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 217d115cd5d7d2bef7db7839b93ce5dc2867c392
refs/heads/master: 003a46cfff308ee0d879dfa89b9a7c65b2a481bf
14 changes: 0 additions & 14 deletions trunk/include/asm-x86/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ header-y += msr-index.h
header-y += prctl.h
header-y += ptrace-abi.h
header-y += sigcontext32.h
header-y += ucontext_32.h
header-y += ucontext_64.h
header-y += ucontext.h
header-y += vsyscall32.h

Expand All @@ -24,8 +22,6 @@ unifdef-y += elf_32.h
unifdef-y += elf_64.h
unifdef-y += ioctls_32.h
unifdef-y += ioctls_64.h
unifdef-y += ipcbuf_32.h
unifdef-y += ipcbuf_64.h
unifdef-y += mce.h
unifdef-y += mman_32.h
unifdef-y += mman_64.h
Expand All @@ -39,20 +35,14 @@ unifdef-y += mtrr_64.h
unifdef-y += mtrr.h
unifdef-y += page_32.h
unifdef-y += page_64.h
unifdef-y += param_32.h
unifdef-y += param_64.h
unifdef-y += posix_types_32.h
unifdef-y += posix_types_64.h
unifdef-y += ptrace_32.h
unifdef-y += ptrace_64.h
unifdef-y += sembuf_32.h
unifdef-y += sembuf_64.h
unifdef-y += setup_32.h
unifdef-y += setup_64.h
unifdef-y += shmbuf_32.h
unifdef-y += shmbuf_64.h
unifdef-y += shmparam_32.h
unifdef-y += shmparam_64.h
unifdef-y += sigcontext_32.h
unifdef-y += sigcontext_64.h
unifdef-y += siginfo_32.h
Expand All @@ -63,10 +53,6 @@ unifdef-y += stat_32.h
unifdef-y += stat_64.h
unifdef-y += statfs_32.h
unifdef-y += statfs_64.h
unifdef-y += termbits_32.h
unifdef-y += termbits_64.h
unifdef-y += termios_32.h
unifdef-y += termios_64.h
unifdef-y += types_32.h
unifdef-y += types_64.h
unifdef-y += unistd_32.h
Expand Down
11 changes: 6 additions & 5 deletions trunk/include/asm-x86/bugs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#ifdef CONFIG_X86_32
# include "bugs_32.h"
#else
# include "bugs_64.h"
#endif
#ifndef _ASM_X86_BUGS_H
#define _ASM_X86_BUGS_H

void check_bugs(void);

#endif /* _ASM_X86_BUGS_H */
12 changes: 0 additions & 12 deletions trunk/include/asm-x86/bugs_32.h

This file was deleted.

6 changes: 0 additions & 6 deletions trunk/include/asm-x86/bugs_64.h

This file was deleted.

13 changes: 9 additions & 4 deletions trunk/include/asm-x86/device.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#ifdef CONFIG_X86_32
# include "device_32.h"
#else
# include "device_64.h"
#ifndef _ASM_X86_DEVICE_H
#define _ASM_X86_DEVICE_H

struct dev_archdata {
#ifdef CONFIG_ACPI
void *acpi_handle;
#endif
};

#endif /* _ASM_X86_DEVICE_H */
15 changes: 0 additions & 15 deletions trunk/include/asm-x86/device_32.h

This file was deleted.

15 changes: 0 additions & 15 deletions trunk/include/asm-x86/device_64.h

This file was deleted.

36 changes: 31 additions & 5 deletions trunk/include/asm-x86/intel_arch_perfmon.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
#ifdef CONFIG_X86_32
# include "intel_arch_perfmon_32.h"
#else
# include "intel_arch_perfmon_64.h"
#endif
#ifndef _ASM_X86_INTEL_ARCH_PERFMON_H
#define _ASM_X86_INTEL_ARCH_PERFMON_H

#define MSR_ARCH_PERFMON_PERFCTR0 0xc1
#define MSR_ARCH_PERFMON_PERFCTR1 0xc2

#define MSR_ARCH_PERFMON_EVENTSEL0 0x186
#define MSR_ARCH_PERFMON_EVENTSEL1 0x187

#define ARCH_PERFMON_EVENTSEL0_ENABLE (1 << 22)
#define ARCH_PERFMON_EVENTSEL_INT (1 << 20)
#define ARCH_PERFMON_EVENTSEL_OS (1 << 17)
#define ARCH_PERFMON_EVENTSEL_USR (1 << 16)

#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_SEL (0x3c)
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_UMASK (0x00 << 8)
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_INDEX (0)
#define ARCH_PERFMON_UNHALTED_CORE_CYCLES_PRESENT \
(1 << (ARCH_PERFMON_UNHALTED_CORE_CYCLES_INDEX))

union cpuid10_eax {
struct {
unsigned int version_id:8;
unsigned int num_counters:8;
unsigned int bit_width:8;
unsigned int mask_length:8;
} split;
unsigned int full;
};

#endif /* _ASM_X86_INTEL_ARCH_PERFMON_H */
31 changes: 0 additions & 31 deletions trunk/include/asm-x86/intel_arch_perfmon_32.h

This file was deleted.

31 changes: 0 additions & 31 deletions trunk/include/asm-x86/intel_arch_perfmon_64.h

This file was deleted.

42 changes: 29 additions & 13 deletions trunk/include/asm-x86/ipcbuf.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
#ifdef __KERNEL__
# ifdef CONFIG_X86_32
# include "ipcbuf_32.h"
# else
# include "ipcbuf_64.h"
# endif
#else
# ifdef __i386__
# include "ipcbuf_32.h"
# else
# include "ipcbuf_64.h"
# endif
#endif
#ifndef _ASM_X86_IPCBUF_H
#define _ASM_X86_IPCBUF_H

/*
* The ipc64_perm structure for x86 architecture.
* Note extra padding because this structure is passed back and forth
* between kernel and user space.
*
* Pad space is left for:
* - 32-bit mode_t and seq
* - 2 miscellaneous 32-bit values
*/

struct ipc64_perm
{
__kernel_key_t key;
__kernel_uid32_t uid;
__kernel_gid32_t gid;
__kernel_uid32_t cuid;
__kernel_gid32_t cgid;
__kernel_mode_t mode;
unsigned short __pad1;
unsigned short seq;
unsigned short __pad2;
unsigned long __unused1;
unsigned long __unused2;
};

#endif /* _ASM_X86_IPCBUF_H */
29 changes: 0 additions & 29 deletions trunk/include/asm-x86/ipcbuf_32.h

This file was deleted.

29 changes: 0 additions & 29 deletions trunk/include/asm-x86/ipcbuf_64.h

This file was deleted.

16 changes: 11 additions & 5 deletions trunk/include/asm-x86/namei.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#ifdef CONFIG_X86_32
# include "namei_32.h"
#else
# include "namei_64.h"
#endif
#ifndef _ASM_X86_NAMEI_H
#define _ASM_X86_NAMEI_H

/* This dummy routine maybe changed to something useful
* for /usr/gnemul/ emulation stuff.
* Look at asm-sparc/namei.h for details.
*/

#define __emul_prefix() NULL

#endif /* _ASM_X86_NAMEI_H */
17 changes: 0 additions & 17 deletions trunk/include/asm-x86/namei_32.h

This file was deleted.

11 changes: 0 additions & 11 deletions trunk/include/asm-x86/namei_64.h

This file was deleted.

Loading

0 comments on commit 67ee46f

Please sign in to comment.