Move ci_data first in struct cpu_info
This commit is contained in:
parent
8e9a9e6134
commit
49b7c43441
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: types.h,v 1.54 2010/12/26 11:32:38 martin Exp $ */
|
||||
/* $NetBSD: types.h,v 1.55 2010/12/26 12:06:56 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -116,9 +116,7 @@ typedef volatile unsigned char __cpu_simple_lock_t;
|
||||
#define __HAVE_DEVICE_REGISTER
|
||||
#define __HAVE_SYSCALL_INTERN
|
||||
#define __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
|
||||
#ifndef SUN4U
|
||||
#define __HAVE_CPU_DATA_FIRST
|
||||
#endif
|
||||
|
||||
#ifdef SUN4U
|
||||
#define __HAVE_DEVICE_REGISTER_POSTCONFIG
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.h,v 1.92 2010/05/29 21:59:33 martin Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.93 2010/12/26 12:06:57 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -88,6 +88,8 @@
|
||||
*/
|
||||
|
||||
struct cpu_info {
|
||||
struct cpu_data ci_data; /* MI per-cpu data */
|
||||
|
||||
|
||||
/*
|
||||
* SPARC cpu_info structures live at two VAs: one global
|
||||
@ -167,8 +169,6 @@ struct cpu_info {
|
||||
pte_t *ci_tsb_dmmu;
|
||||
pte_t *ci_tsb_immu;
|
||||
|
||||
struct cpu_data ci_data; /* MI per-cpu data */
|
||||
|
||||
volatile void *ci_ddb_regs; /* DDB regs */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user