Skip to contentSkip to conversation

nios2: remove asm/psr.h

PATCH New Thomas Chou 2 participants 3 messages Oct 7, 2015 – Oct 13, 2015 NIOS2 architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nios2: remove asm/psr.h

Remove asm/psr.h, which is not used.
Also clean up asm/sections.h and unaligned.h.

---
 arch/nios2/include/asm/psr.h       | 12 ------------
 arch/nios2/include/asm/sections.h  | 10 ----------
 arch/nios2/include/asm/unaligned.h |  5 -----
 3 files changed, 27 deletions(-)
 delete mode 100644 arch/nios2/include/asm/psr.h
arch/nios2/include/asm/psr.h deleted +0 -12
deleted file mode 100644
index 3ebb2a0..0000000
@@ -1,12 +0,0 @@
-/*
- * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
- * Scott McNutt <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __ASM_NIOS2_PSR_H_
-#define __ASM_NIOS2_PSR_H_
-
-
-#endif /* __ASM_NIOS2_PSR_H_ */
arch/nios2/include/asm/sections.h +0 -10
index f0da75d..2b8c516 100644
@@ -1,11 +1 @@
-/*
- * Copyright (c) 2012 The Chromium OS Authors.
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __ASM_NIOS2_SECTIONS_H
-#define __ASM_NIOS2_SECTIONS_H
-
 #include <asm-generic/sections.h>
-
-#endif
arch/nios2/include/asm/unaligned.h +0 -5
index 779117c..6cecbbb 100644
@@ -1,6 +1 @@
-#ifndef _ASM_NIOS2_UNALIGNED_H
-#define _ASM_NIOS2_UNALIGNED_H
-
 #include <asm-generic/unaligned.h>
-
-#endif /* _ASM_NIOS2_UNALIGNED_H */
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/1 nios2: remove asm/psr.h

In reply to Thomas Chou
Quoted 11 lines · Thomas Chou

Remove asm/psr.h, which is not used.
Also clean up asm/sections.h and unaligned.h.

---
  arch/nios2/include/asm/psr.h       | 12 ------------
  arch/nios2/include/asm/sections.h  | 10 ----------
  arch/nios2/include/asm/unaligned.h |  5 -----
  3 files changed, 27 deletions(-)

delete mode 100644 arch/nios2/include/asm/psr.h

Applied to u-boot-nios.

Quoted 46 lines
arch/nios2/include/asm/psr.h deleted +0 -12
deleted file mode 100644
index 3ebb2a0..0000000
@@ -1,12 +0,0 @@
-/*
- * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
- * Scott McNutt <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __ASM_NIOS2_PSR_H_
-#define __ASM_NIOS2_PSR_H_
-
-
-#endif /* __ASM_NIOS2_PSR_H_ */
arch/nios2/include/asm/sections.h +0 -10
index f0da75d..2b8c516 100644
@@ -1,11 +1 @@
-/*
- * Copyright (c) 2012 The Chromium OS Authors.
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __ASM_NIOS2_SECTIONS_H
-#define __ASM_NIOS2_SECTIONS_H
-
  #include <asm-generic/sections.h>
-
-#endif
arch/nios2/include/asm/unaligned.h +0 -5
index 779117c..6cecbbb 100644
@@ -1,6 +1 @@
-#ifndef _ASM_NIOS2_UNALIGNED_H
-#define _ASM_NIOS2_UNALIGNED_H
-
  #include <asm-generic/unaligned.h>
-
-#endif /* _ASM_NIOS2_UNALIGNED_H */