Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc87e906 authored by Glauber de Oliveira Costa's avatar Glauber de Oliveira Costa Committed by Ingo Molnar
Browse files

x86: unify mm_segment_t definition



This patch moves the mm_segment_t structure definition to processor.h
This makes mmsegment.h file useless, and it is deleted.

Signed-off-by: default avatarGlauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 2c1c468a
Loading
Loading
Loading
Loading

include/asm-x86/mmsegment.h

deleted100644 → 0
+0 −8
Original line number Diff line number Diff line
#ifndef _ASM_MMSEGMENT_H
#define _ASM_MMSEGMENT_H 1

typedef struct {
	unsigned long seg;
} mm_segment_t;

#endif
+5 −0
Original line number Diff line number Diff line
@@ -424,6 +424,11 @@ struct extended_sigtable {
	struct extended_signature sigs[0];
};

typedef struct {
	unsigned long seg;
} mm_segment_t;


/*
 * create a kernel thread without removing it from tasklists
 */
+0 −5
Original line number Diff line number Diff line
@@ -103,11 +103,6 @@ union i387_union {
	struct i387_soft_struct soft;
};

typedef struct {
	unsigned long seg;
} mm_segment_t;


#define INIT_THREAD  {							\
	.sp0 = sizeof(init_stack) + (long)&init_stack,			\
	.vm86_info = NULL,						\
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@
#include <asm/msr.h>
#include <asm/current.h>
#include <asm/system.h>
#include <asm/mmsegment.h>
#include <linux/personality.h>
#include <asm/desc_defs.h>

+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#ifndef __ASSEMBLY__
struct task_struct;
struct exec_domain;
#include <asm/mmsegment.h>
#include <asm/processor.h>

struct thread_info {
	struct task_struct	*task;		/* main task structure */