2009-11-21 18:07:36

by Jaswinder Singh Rajput

[permalink] [raw]
Subject: [PATCH] xtensa: includecheck fix vector.S


fix the following 'make includecheck' warnings:

arch/xtensa/kernel/vectors.S: asm/processor.h is included more than once.
arch/xtensa/kernel/vectors.S: asm/ptrace.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <[email protected]>
Cc: Chris Zankel <[email protected]>
Cc: Andrew Morton <[email protected]>
---
arch/xtensa/kernel/vectors.S | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/xtensa/kernel/vectors.S b/arch/xtensa/kernel/vectors.S
index 74a7518..70066e3 100644
--- a/arch/xtensa/kernel/vectors.S
+++ b/arch/xtensa/kernel/vectors.S
@@ -44,14 +44,12 @@

#include <linux/linkage.h>
#include <asm/ptrace.h>
-#include <asm/ptrace.h>
#include <asm/current.h>
#include <asm/asm-offsets.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/page.h>
#include <asm/thread_info.h>
-#include <asm/processor.h>

#define WINDOW_VECTORS_SIZE 0x180

--
1.6.0.6