@@ -6,9 +6,9 @@
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
#define __ASSEMBLY__
-#include "asm/asm-offsets.h"
-#include "asm/ptrace.h"
-#include "asm/cp15.h"
+#include <asm/asm-offsets.h>
+#include <asm/ptrace.h>
+#include <asm/cp15.h>
.arm
@@ -5,13 +5,13 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "libcflat.h"
-#include "alloc.h"
-#include "asm/setup.h"
-#include "asm/ptrace.h"
-#include "asm/asm-offsets.h"
-#include "asm/processor.h"
-#include "asm/page.h"
+#include <libcflat.h>
+#include <alloc.h>
+#include <asm/setup.h>
+#include <asm/ptrace.h>
+#include <asm/asm-offsets.h>
+#include <asm/processor.h>
+#include <asm/page.h>
#define TESTGRP "selftest"
@@ -5,8 +5,8 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "libcflat.h"
-#include "asm/ptrace.h"
+#include <libcflat.h>
+#include <asm/ptrace.h>
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
@@ -1 +1 @@
-#include "generated/asm-offsets.h"
+#include <generated/asm-offsets.h>
@@ -1,8 +1,8 @@
#ifndef _ASMARM_IO_H_
#define _ASMARM_IO_H_
-#include "libcflat.h"
-#include "asm/barrier.h"
-#include "asm/page.h"
+#include <libcflat.h>
+#include <asm/barrier.h>
+#include <asm/page.h>
#define __iomem
#define __force
@@ -89,6 +89,6 @@ static inline void *phys_to_virt(phys_addr_t x)
return (void *)__phys_to_virt(x);
}
-#include "asm-generic/io.h"
+#include <asm-generic/io.h>
#endif /* _ASMARM_IO_H_ */
@@ -5,9 +5,9 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "asm/page.h"
-#include "asm/barrier.h"
-#include "alloc.h"
+#include <asm/page.h>
+#include <asm/barrier.h>
+#include <alloc.h>
#define PTRS_PER_PGD 4
#define PGDIR_SHIFT 30
@@ -6,7 +6,7 @@
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "const.h"
+#include <const.h>
#define PAGE_SHIFT 12
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
@@ -5,7 +5,7 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "ptrace.h"
+#include <asm/ptrace.h>
enum vector {
EXCPTN_RST,
@@ -49,7 +49,7 @@
#define PSR_ENDIAN_MASK 0x00000200 /* Endianness state mask */
#ifndef __ASSEMBLY__
-#include "libcflat.h"
+#include <libcflat.h>
struct pt_regs {
unsigned long uregs[18];
@@ -5,8 +5,8 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "libcflat.h"
-#include "alloc.h"
+#include <libcflat.h>
+#include <alloc.h>
#define NR_CPUS 8
extern u32 cpus[NR_CPUS];
@@ -1,7 +1,7 @@
/*
* Adapted from u-boot's arch/arm/lib/eabi_compat.c
*/
-#include "libcflat.h"
+#include <libcflat.h>
int raise(int signum __unused)
{
@@ -8,11 +8,11 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "libcflat.h"
-#include "devicetree.h"
-#include "chr-testdev.h"
-#include "asm/spinlock.h"
-#include "asm/io.h"
+#include <libcflat.h>
+#include <devicetree.h>
+#include <chr-testdev.h>
+#include <asm/spinlock.h>
+#include <asm/io.h>
extern void halt(int code);
@@ -5,9 +5,9 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "asm/setup.h"
-#include "asm/mmu.h"
-#include "asm/pgtable-hwdef.h"
+#include <asm/setup.h>
+#include <asm/mmu.h>
+#include <asm/pgtable-hwdef.h>
static bool mmu_on;
static pgd_t idmap[PTRS_PER_PGD] __attribute__((aligned(L1_CACHE_BYTES)));
@@ -5,9 +5,9 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "libcflat.h"
-#include "asm/ptrace.h"
-#include "asm/processor.h"
+#include <libcflat.h>
+#include <asm/ptrace.h>
+#include <asm/processor.h>
static const char *processor_modes[] = {
"USER_26", "FIQ_26" , "IRQ_26" , "SVC_26" ,
@@ -10,13 +10,13 @@
*
* This work is licensed under the terms of the GNU LGPL, version 2.
*/
-#include "libcflat.h"
-#include "libfdt/libfdt.h"
-#include "devicetree.h"
-#include "alloc.h"
-#include "asm/setup.h"
-#include "asm/page.h"
-#include "asm/mmu.h"
+#include <libcflat.h>
+#include <libfdt/libfdt.h>
+#include <devicetree.h>
+#include <alloc.h>
+#include <asm/setup.h>
+#include <asm/page.h>
+#include <asm/mmu.h>
extern unsigned long stacktop;
extern void io_init(void);
@@ -1,7 +1,7 @@
-#include "libcflat.h"
-#include "asm/spinlock.h"
-#include "asm/barrier.h"
-#include "asm/mmu.h"
+#include <libcflat.h>
+#include <asm/spinlock.h>
+#include <asm/barrier.h>
+#include <asm/mmu.h>
void spin_lock(struct spinlock *lock)
{
Files in lib/arm including "asm/someheader.h" will get lib/arm/asm/someheader.h, not lib/asm/someheader.h. So we need to use <> instead of "" in order to prepare for headers of the same name, but for a different arch. We change all '#include's of all arm files, as consistency looks better. Signed-off-by: Andrew Jones <drjones@redhat.com> --- arm/cstart.S | 6 +++--- arm/selftest.c | 14 +++++++------- lib/arm/asm-offsets.c | 4 ++-- lib/arm/asm/asm-offsets.h | 2 +- lib/arm/asm/io.h | 8 ++++---- lib/arm/asm/mmu.h | 6 +++--- lib/arm/asm/page.h | 2 +- lib/arm/asm/processor.h | 2 +- lib/arm/asm/ptrace.h | 2 +- lib/arm/asm/setup.h | 4 ++-- lib/arm/eabi_compat.c | 2 +- lib/arm/io.c | 10 +++++----- lib/arm/mmu.c | 6 +++--- lib/arm/processor.c | 6 +++--- lib/arm/setup.c | 14 +++++++------- lib/arm/spinlock.c | 8 ++++---- 16 files changed, 48 insertions(+), 48 deletions(-)