Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163700
b: refs/heads/master
c: 57844a8
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Aug 27, 2009
1 parent 47fccf8 commit e926695
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 2 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: 4152f93508b184a85a975810b2cc3dc5c597cf57
refs/heads/master: 57844a8f8e29802f37ad9a0f94eb11d6ae358603
2 changes: 2 additions & 0 deletions trunk/arch/x86/include/asm/setup.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

#ifndef __ASSEMBLY__

#include <asm/x86_init.h>

/*
* Any setup quirks to be performed?
*/
Expand Down
15 changes: 15 additions & 0 deletions trunk/arch/x86/include/asm/x86_init.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#ifndef _ASM_X86_PLATFORM_H
#define _ASM_X86_PLATFORM_H

/**
* struct x86_init_ops - functions for platform specific setup
*
*/
struct x86_init_ops {
};

extern struct x86_init_ops x86_init;

extern void x86_init_noop(void);

#endif
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GCOV_PROFILE_paravirt.o := n
obj-y := process_$(BITS).o signal.o entry_$(BITS).o
obj-y += traps.o irq.o irq_$(BITS).o dumpstack_$(BITS).o
obj-y += time_$(BITS).o ioport.o ldt.o dumpstack.o
obj-y += setup.o i8259.o irqinit.o
obj-y += setup.o x86_init.o i8259.o irqinit.o
obj-$(CONFIG_X86_VISWS) += visws_quirks.o
obj-$(CONFIG_X86_32) += probe_roms_32.o
obj-$(CONFIG_X86_32) += sys_i386_32.o i386_ksyms_32.o
Expand Down
17 changes: 17 additions & 0 deletions trunk/arch/x86/kernel/x86_init.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright (C) 2009 Thomas Gleixner <tglx@linutronix.de>
*
* For licencing details see kernel-base/COPYING
*/
#include <linux/init.h>

#include <asm/x86_init.h>

void __cpuinit x86_init_noop(void) { }

/*
* The platform setup functions are preset with the default functions
* for standard PC hardware.
*/
struct __initdata x86_init_ops x86_init = {
};

0 comments on commit e926695

Please sign in to comment.