microblaze: Use generic init_task
Same code. Use the generic version. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Michal Simek <monstr@monstr.eu> Link: http://lkml.kernel.org/r/20120503085034.881532838@linutronix.de
This commit is contained in:
		
					parent
					
						
							
								ab5fc1ffb9
							
						
					
				
			
			
				commit
				
					
						16caadb8c8
					
				
			
		
					 3 changed files with 2 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -22,6 +22,7 @@ config MICROBLAZE
 | 
			
		|||
	select GENERIC_PCI_IOMAP
 | 
			
		||||
	select GENERIC_CPU_DEVICES
 | 
			
		||||
	select GENERIC_ATOMIC64
 | 
			
		||||
	select HAVE_GENERIC_INIT_TASK
 | 
			
		||||
 | 
			
		||||
config SWAP
 | 
			
		||||
	def_bool n
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,7 +16,7 @@ endif
 | 
			
		|||
extra-y := head.o vmlinux.lds
 | 
			
		||||
 | 
			
		||||
obj-y += dma.o exceptions.o \
 | 
			
		||||
	hw_exception_handler.o init_task.o intc.o irq.o \
 | 
			
		||||
	hw_exception_handler.o intc.o irq.o \
 | 
			
		||||
	process.o prom.o prom_parse.o ptrace.o \
 | 
			
		||||
	reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,26 +0,0 @@
 | 
			
		|||
/*
 | 
			
		||||
 * Copyright (C) 2009 Michal Simek <monstr@monstr.eu>
 | 
			
		||||
 * Copyright (C) 2009 PetaLogix
 | 
			
		||||
 * Copyright (C) 2006 Atmark Techno, Inc.
 | 
			
		||||
 *
 | 
			
		||||
 * This file is subject to the terms and conditions of the GNU General Public
 | 
			
		||||
 * License. See the file "COPYING" in the main directory of this archive
 | 
			
		||||
 * for more details.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <linux/module.h>
 | 
			
		||||
#include <linux/sched.h>
 | 
			
		||||
#include <linux/init_task.h>
 | 
			
		||||
#include <linux/fs.h>
 | 
			
		||||
#include <linux/mqueue.h>
 | 
			
		||||
 | 
			
		||||
#include <asm/pgtable.h>
 | 
			
		||||
 | 
			
		||||
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
 | 
			
		||||
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
 | 
			
		||||
 | 
			
		||||
union thread_union init_thread_union __init_task_data =
 | 
			
		||||
	{ INIT_THREAD_INFO(init_task) };
 | 
			
		||||
 | 
			
		||||
struct task_struct init_task = INIT_TASK(init_task);
 | 
			
		||||
EXPORT_SYMBOL(init_task);
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue