Skip to content

Commit

Permalink
[PATCH] x86: update for i386 and x86-64 check_bugs
Browse files Browse the repository at this point in the history
Remove spurious comments, headers and keywords from x86-64 bugs.[ch].

Use identify_boot_cpu()

AK: merged with other patch

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Jeremy Fitzhardinge authored and Andi Kleen committed May 2, 2007
1 parent 9ce8c2e commit 57decbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions arch/x86_64/kernel/bugs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,12 @@
*
* Copyright (C) 1994 Linus Torvalds
* Copyright (C) 2000 SuSE
*
* This is included by init/main.c to check for architecture-dependent bugs.
*
* Needs:
* void check_bugs(void);
*/

#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/alternative.h>
#include <asm/processor.h>
#include <asm/i387.h>
#include <asm/msr.h>
#include <asm/pda.h>

void __init check_bugs(void)
{
Expand Down
2 changes: 1 addition & 1 deletion include/asm-i386/bugs.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
#ifndef _ASM_I386_BUG_H
#define _ASM_I386_BUG_H

extern void __init check_bugs(void);
void check_bugs(void);

#endif /* _ASM_I386_BUG_H */

0 comments on commit 57decbd

Please sign in to comment.