Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6:
xtensa: Update platform files to reflect new location of the header files.
xtensa: switch to packed struct unaligned access implementation
xtensa: Add xt2000 support files.
xtensa: move headers files to arch/xtensa/include
xtensa: use the new byteorder headers

+324 -69
+9 -19
arch/xtensa/Makefile
··· 33 33 34 34 KBUILD_CFLAGS += -pipe -mlongcalls 35 35 36 + vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) 37 + plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) 38 + 39 + ifeq ($(KBUILD_SRC),) 40 + KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(vardirs) $(plfdirs)) 41 + else 42 + KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(vardirs) $(plfdirs)) 43 + endif 44 + 36 45 KBUILD_DEFCONFIG := iss_defconfig 37 46 38 47 # ramdisk/initrd support ··· 75 66 76 67 boot := arch/xtensa/boot 77 68 78 - archinc := include/asm-xtensa 79 - 80 - archprepare: $(archinc)/.platform 81 - 82 - # Update processor variant and platform symlinks if something which affects 83 - # them changed. 84 - 85 - $(archinc)/.platform: $(wildcard include/config/arch/*.h) include/config/auto.conf 86 - @echo ' SYMLINK $(archinc)/variant -> $(archinc)/variant-$(VARIANT)' 87 - $(Q)mkdir -p $(archinc) 88 - $(Q)ln -fsn $(srctree)/$(archinc)/variant-$(VARIANT) $(archinc)/variant 89 - @echo ' SYMLINK $(archinc)/platform -> $(archinc)/platform-$(PLATFORM)' 90 - $(Q)ln -fsn $(srctree)/$(archinc)/platform-$(PLATFORM) $(archinc)/platform 91 - @touch $@ 92 - 93 69 94 70 all: zImage 95 71 ··· 82 88 83 89 zImage zImage.initrd: vmlinux 84 90 $(Q)$(MAKE) $(build)=$(boot) $@ 85 - 86 - CLEAN_FILES += arch/xtensa/vmlinux.lds \ 87 - $(archinc)/platform $(archinc)/variant \ 88 - $(archinc)/.platform 89 91 90 92 define archhelp 91 93 @echo '* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
+1 -1
arch/xtensa/boot/boot-elf/boot.lds.S
··· 1 - #include <asm/variant/core.h> 1 + #include <variant/core.h> 2 2 OUTPUT_ARCH(xtensa) 3 3 ENTRY(_ResetVector) 4 4
+1 -1
arch/xtensa/boot/boot-redboot/bootstrap.S
··· 1 - #include <asm/variant/core.h> 1 + #include <variant/core.h> 2 2 #include <asm/regs.h> 3 3 #include <asm/asmmacro.h> 4 4 #include <asm/cacheasm.h>
+1 -1
arch/xtensa/kernel/entry.S
··· 25 25 #include <asm/page.h> 26 26 #include <asm/signal.h> 27 27 #include <asm/tlbflush.h> 28 - #include <asm/variant/tie-asm.h> 28 + #include <variant/tie-asm.h> 29 29 30 30 /* Unimplemented features. */ 31 31
+1 -1
arch/xtensa/kernel/vmlinux.lds.S
··· 16 16 17 17 #include <asm-generic/vmlinux.lds.h> 18 18 19 - #include <asm/variant/core.h> 19 + #include <variant/core.h> 20 20 OUTPUT_ARCH(xtensa) 21 21 ENTRY(_start) 22 22
+1 -1
arch/xtensa/lib/checksum.S
··· 16 16 17 17 #include <asm/errno.h> 18 18 #include <linux/linkage.h> 19 - #include <asm/variant/core.h> 19 + #include <variant/core.h> 20 20 21 21 /* 22 22 * computes a partial checksum, e.g. for TCP/UDP fragments
+1 -1
arch/xtensa/lib/memcopy.S
··· 9 9 * Copyright (C) 2002 - 2005 Tensilica Inc. 10 10 */ 11 11 12 - #include <asm/variant/core.h> 12 + #include <variant/core.h> 13 13 14 14 .macro src_b r, w0, w1 15 15 #ifdef __XTENSA_EB__
+1 -1
arch/xtensa/lib/memset.S
··· 11 11 * Copyright (C) 2002 Tensilica Inc. 12 12 */ 13 13 14 - #include <asm/variant/core.h> 14 + #include <variant/core.h> 15 15 16 16 /* 17 17 * void *memset(void *dst, int c, size_t length)
+1 -1
arch/xtensa/lib/strncpy_user.S
··· 11 11 * Copyright (C) 2002 Tensilica Inc. 12 12 */ 13 13 14 - #include <asm/variant/core.h> 14 + #include <variant/core.h> 15 15 #include <linux/errno.h> 16 16 17 17 /* Load or store instructions that may cause exceptions use the EX macro. */
+1 -1
arch/xtensa/lib/strnlen_user.S
··· 11 11 * Copyright (C) 2002 Tensilica Inc. 12 12 */ 13 13 14 - #include <asm/variant/core.h> 14 + #include <variant/core.h> 15 15 16 16 /* Load or store instructions that may cause exceptions use the EX macro. */ 17 17
+1 -1
arch/xtensa/lib/usercopy.S
··· 53 53 * a11/ original length 54 54 */ 55 55 56 - #include <asm/variant/core.h> 56 + #include <variant/core.h> 57 57 58 58 #ifdef __XTENSA_EB__ 59 59 #define ALIGN(R, W0, W1) src R, W0, W1
+2 -2
arch/xtensa/platforms/iss/console.c
··· 1 1 /* 2 - * arch/xtensa/platform-iss/console.c 2 + * arch/xtensa/platforms/iss/console.c 3 3 * 4 4 * This file is subject to the terms and conditions of the GNU General Public 5 5 * License. See the file "COPYING" in the main directory of this archive ··· 24 24 #include <asm/uaccess.h> 25 25 #include <asm/irq.h> 26 26 27 - #include <asm/platform/simcall.h> 27 + #include <platform/simcall.h> 28 28 29 29 #include <linux/tty.h> 30 30 #include <linux/tty_flip.h>
+1 -1
arch/xtensa/platforms/iss/io.c
··· 3 3 #if 0 4 4 5 5 #include <asm/io.h> 6 - #include <xtensa/simcall.h> 6 + #include <platform/platform-iss/simcall.h> 7 7 8 8 extern int __simc (); 9 9
+2 -2
arch/xtensa/platforms/iss/network.c
··· 1 1 /* 2 2 * 3 - * arch/xtensa/platform-iss/network.c 3 + * arch/xtensa/platforms/iss/network.c 4 4 * 5 5 * Platform specific initialization. 6 6 * ··· 33 33 #include <linux/rtnetlink.h> 34 34 #include <linux/platform_device.h> 35 35 36 - #include <asm/platform/simcall.h> 36 + #include <platform/simcall.h> 37 37 38 38 #define DRIVER_NAME "iss-netdev" 39 39 #define ETH_MAX_PACKET 1500
+5
arch/xtensa/platforms/xt2000/Makefile
··· 1 + # 2 + # Makefile for the Tensilica XT2000 Emulation Board 3 + # 4 + 5 + obj-y = setup.o
+55
arch/xtensa/platforms/xt2000/include/platform/hardware.h
··· 1 + /* 2 + * platform/hardware.h 3 + * 4 + * This file is subject to the terms and conditions of the GNU General Public 5 + * License. See the file "COPYING" in the main directory of this archive 6 + * for more details. 7 + * 8 + * Copyright (C) 2001 Tensilica Inc. 9 + */ 10 + 11 + /* 12 + * This file contains the hardware configuration of the XT2000 board. 13 + */ 14 + 15 + #ifndef _XTENSA_XT2000_HARDWARE_H 16 + #define _XTENSA_XT2000_HARDWARE_H 17 + 18 + #include <variant/core.h> 19 + #include <asm/io.h> 20 + 21 + /* 22 + * Memory configuration. 23 + */ 24 + 25 + #define PLATFORM_DEFAULT_MEM_START 0x00000000 26 + #define PLATFORM_DEFAULT_MEM_SIZE 0x08000000 27 + 28 + /* 29 + * Number of platform IRQs 30 + */ 31 + #define PLATFORM_NR_IRQS 3 32 + /* 33 + * On-board components. 34 + */ 35 + 36 + #define SONIC83934_INTNUM XCHAL_EXTINT3_NUM 37 + #define SONIC83934_ADDR IOADDR(0x0d030000) 38 + 39 + /* 40 + * V3-PCI 41 + */ 42 + 43 + /* The XT2000 uses the V3 as a cascaded interrupt controller for the PCI bus */ 44 + 45 + #define IRQ_PCI_A (XCHAL_NUM_INTERRUPTS + 0) 46 + #define IRQ_PCI_B (XCHAL_NUM_INTERRUPTS + 1) 47 + #define IRQ_PCI_C (XCHAL_NUM_INTERRUPTS + 2) 48 + 49 + /* 50 + * Various other components. 51 + */ 52 + 53 + #define XT2000_LED_ADDR IOADDR(0x0d040000) 54 + 55 + #endif /* _XTENSA_XT2000_HARDWARE_H */
+28
arch/xtensa/platforms/xt2000/include/platform/serial.h
··· 1 + /* 2 + * platform/serial.h 3 + * 4 + * This file is subject to the terms and conditions of the GNU General Public 5 + * License. See the file "COPYING" in the main directory of this archive 6 + * for more details. 7 + * 8 + * Copyright (C) 2001 Tensilica Inc. 9 + */ 10 + 11 + #ifndef _XTENSA_XT2000_SERIAL_H 12 + #define _XTENSA_XT2000_SERIAL_H 13 + 14 + #include <variant/core.h> 15 + #include <asm/io.h> 16 + 17 + /* National-Semi PC16552D DUART: */ 18 + 19 + #define DUART16552_1_INTNUM XCHAL_EXTINT4_NUM 20 + #define DUART16552_2_INTNUM XCHAL_EXTINT5_NUM 21 + 22 + #define DUART16552_1_ADDR IOADDR(0x0d050020) /* channel 1 */ 23 + #define DUART16552_2_ADDR IOADDR(0x0d050000) /* channel 2 */ 24 + 25 + #define DUART16552_XTAL_FREQ 18432000 /* crystal frequency in Hz */ 26 + #define BASE_BAUD ( DUART16552_XTAL_FREQ / 16 ) 27 + 28 + #endif /* _XTENSA_XT2000_SERIAL_H */
+181
arch/xtensa/platforms/xt2000/setup.c
··· 1 + /* 2 + * arch/xtensa/platforms/xt2000/setup.c 3 + * 4 + * Platform specific functions for the XT2000 board. 5 + * 6 + * Authors: Chris Zankel <chris@zankel.net> 7 + * Joe Taylor <joe@tensilica.com> 8 + * 9 + * Copyright 2001 - 2004 Tensilica Inc. 10 + * 11 + * This program is free software; you can redistribute it and/or modify it 12 + * under the terms of the GNU General Public License as published by the 13 + * Free Software Foundation; either version 2 of the License, or (at your 14 + * option) any later version. 15 + * 16 + */ 17 + #include <linux/stddef.h> 18 + #include <linux/kernel.h> 19 + #include <linux/init.h> 20 + #include <linux/errno.h> 21 + #include <linux/reboot.h> 22 + #include <linux/kdev_t.h> 23 + #include <linux/types.h> 24 + #include <linux/major.h> 25 + #include <linux/console.h> 26 + #include <linux/delay.h> 27 + #include <linux/stringify.h> 28 + #include <linux/platform_device.h> 29 + #include <linux/serial.h> 30 + #include <linux/serial_8250.h> 31 + 32 + #include <asm/processor.h> 33 + #include <asm/platform.h> 34 + #include <asm/bootparam.h> 35 + #include <platform/hardware.h> 36 + #include <platform/serial.h> 37 + 38 + /* Assumes s points to an 8-chr string. No checking for NULL. */ 39 + 40 + static void led_print (int f, char *s) 41 + { 42 + unsigned long* led_addr = (unsigned long*) (XT2000_LED_ADDR + 0xE0) + f; 43 + int i; 44 + for (i = f; i < 8; i++) 45 + if ((*led_addr++ = *s++) == 0) 46 + break; 47 + } 48 + 49 + void platform_halt(void) 50 + { 51 + led_print (0, " HALT "); 52 + local_irq_disable(); 53 + while (1); 54 + } 55 + 56 + void platform_power_off(void) 57 + { 58 + led_print (0, "POWEROFF"); 59 + local_irq_disable(); 60 + while (1); 61 + } 62 + 63 + void platform_restart(void) 64 + { 65 + /* Flush and reset the mmu, simulate a processor reset, and 66 + * jump to the reset vector. */ 67 + 68 + __asm__ __volatile__ ("movi a2, 15\n\t" 69 + "wsr a2, " __stringify(ICOUNTLEVEL) "\n\t" 70 + "movi a2, 0\n\t" 71 + "wsr a2, " __stringify(ICOUNT) "\n\t" 72 + "wsr a2, " __stringify(IBREAKENABLE) "\n\t" 73 + "wsr a2, " __stringify(LCOUNT) "\n\t" 74 + "movi a2, 0x1f\n\t" 75 + "wsr a2, " __stringify(PS) "\n\t" 76 + "isync\n\t" 77 + "jx %0\n\t" 78 + : 79 + : "a" (XCHAL_RESET_VECTOR_VADDR) 80 + : "a2" 81 + ); 82 + 83 + /* control never gets here */ 84 + } 85 + 86 + void __init platform_setup(char** cmdline) 87 + { 88 + led_print (0, "LINUX "); 89 + } 90 + 91 + /* early initialization */ 92 + 93 + extern sysmem_info_t __initdata sysmem; 94 + 95 + void platform_init(bp_tag_t* first) 96 + { 97 + /* Set default memory block if not provided by the bootloader. */ 98 + 99 + if (sysmem.nr_banks == 0) { 100 + sysmem.nr_banks = 1; 101 + sysmem.bank[0].start = PLATFORM_DEFAULT_MEM_START; 102 + sysmem.bank[0].end = PLATFORM_DEFAULT_MEM_START 103 + + PLATFORM_DEFAULT_MEM_SIZE; 104 + } 105 + } 106 + 107 + /* Heartbeat. Let the LED blink. */ 108 + 109 + void platform_heartbeat(void) 110 + { 111 + static int i=0, t = 0; 112 + 113 + if (--t < 0) 114 + { 115 + t = 59; 116 + led_print(7, i ? ".": " "); 117 + i ^= 1; 118 + } 119 + } 120 + 121 + //#define RS_TABLE_SIZE 2 122 + //#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST) 123 + 124 + #define _SERIAL_PORT(_base,_irq) \ 125 + { \ 126 + .mapbase = (_base), \ 127 + .membase = (void*)(_base), \ 128 + .irq = (_irq), \ 129 + .uartclk = DUART16552_XTAL_FREQ, \ 130 + .iotype = UPIO_MEM, \ 131 + .flags = UPF_BOOT_AUTOCONF, \ 132 + .regshift = 2, \ 133 + } 134 + 135 + static struct plat_serial8250_port xt2000_serial_data[] = { 136 + #if XCHAL_HAVE_BE 137 + _SERIAL_PORT(DUART16552_1_ADDR + 3, DUART16552_1_INTNUM), 138 + _SERIAL_PORT(DUART16552_2_ADDR + 3, DUART16552_2_INTNUM), 139 + #else 140 + _SERIAL_PORT(DUART16552_1_ADDR, DUART16552_1_INTNUM), 141 + _SERIAL_PORT(DUART16552_2_ADDR, DUART16552_2_INTNUM), 142 + #endif 143 + { } 144 + }; 145 + 146 + static struct platform_device xt2000_serial8250_device = { 147 + .name = "serial8250", 148 + .id = PLAT8250_DEV_PLATFORM, 149 + .dev = { 150 + .platform_data = xt2000_serial_data, 151 + }, 152 + }; 153 + 154 + static struct resource xt2000_sonic_res[] = { 155 + { 156 + .start = SONIC83934_ADDR, 157 + .end = SONIC83934_ADDR + 0xff, 158 + .flags = IORESOURCE_MEM, 159 + }, 160 + { 161 + .start = SONIC83934_INTNUM, 162 + .end = SONIC83934_INTNUM, 163 + .flags = IORESOURCE_IRQ, 164 + }, 165 + }; 166 + 167 + static struct platform_device xt2000_sonic_device = { 168 + .name = "xtsonic", 169 + .num_resources = ARRAY_SIZE(xt2000_sonic_res), 170 + .resource = xt2000_sonic_res, 171 + }; 172 + 173 + static int __init xt2000_setup_devinit(void) 174 + { 175 + platform_device_register(&xt2000_serial8250_device); 176 + platform_device_register(&xt2000_sonic_device); 177 + 178 + return 0; 179 + } 180 + 181 + device_initcall(xt2000_setup_devinit);
include/asm-xtensa/Kbuild arch/xtensa/include/asm/Kbuild
+1 -1
include/asm-xtensa/asmmacro.h arch/xtensa/include/asm/asmmacro.h
··· 11 11 #ifndef _XTENSA_ASMMACRO_H 12 12 #define _XTENSA_ASMMACRO_H 13 13 14 - #include <asm/variant/core.h> 14 + #include <variant/core.h> 15 15 16 16 /* 17 17 * Some little helpers for loops. Use zero-overhead-loops
include/asm-xtensa/atomic.h arch/xtensa/include/asm/atomic.h
include/asm-xtensa/auxvec.h arch/xtensa/include/asm/auxvec.h
include/asm-xtensa/bitops.h arch/xtensa/include/asm/bitops.h
include/asm-xtensa/bootparam.h arch/xtensa/include/asm/bootparam.h
include/asm-xtensa/bug.h arch/xtensa/include/asm/bug.h
include/asm-xtensa/bugs.h arch/xtensa/include/asm/bugs.h
+15 -17
include/asm-xtensa/byteorder.h arch/xtensa/include/asm/byteorder.h
··· 14 14 #include <asm/types.h> 15 15 #include <linux/compiler.h> 16 16 17 - static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x) 17 + #ifdef __XTENSA_EL__ 18 + # define __LITTLE_ENDIAN 19 + #elif defined(__XTENSA_EB__) 20 + # define __BIG_ENDIAN 21 + #else 22 + # error processor byte order undefined! 23 + #endif 24 + 25 + #define __SWAB_64_THRU_32__ 26 + 27 + static inline __attribute_const__ __u32 __arch_swab32(__u32 x) 18 28 { 19 29 __u32 res; 20 30 /* instruction sequence from Xtensa ISA release 2/2000 */ ··· 38 28 ); 39 29 return res; 40 30 } 31 + #define __arch_swab32 __arch_swab32 41 32 42 - static __inline__ __attribute_const__ __u16 ___arch__swab16(__u16 x) 33 + static inline __attribute_const__ __u16 __arch_swab16(__u16 x) 43 34 { 44 35 /* Given that 'short' values are signed (i.e., can be negative), 45 36 * we cannot assume that the upper 16-bits of the register are ··· 73 62 74 63 return res; 75 64 } 65 + #define __arch_swab16 __arch_swab16 76 66 77 - #define __arch__swab32(x) ___arch__swab32(x) 78 - #define __arch__swab16(x) ___arch__swab16(x) 79 - 80 - #if !defined(__STRICT_ANSI__) || defined(__KERNEL__) 81 - # define __BYTEORDER_HAS_U64__ 82 - # define __SWAB_64_THRU_32__ 83 - #endif 84 - 85 - #ifdef __XTENSA_EL__ 86 - # include <linux/byteorder/little_endian.h> 87 - #elif defined(__XTENSA_EB__) 88 - # include <linux/byteorder/big_endian.h> 89 - #else 90 - # error processor byte order undefined! 91 - #endif 67 + #include <linux/byteorder.h> 92 68 93 69 #endif /* _XTENSA_BYTEORDER_H */
+1 -1
include/asm-xtensa/cache.h arch/xtensa/include/asm/cache.h
··· 11 11 #ifndef _XTENSA_CACHE_H 12 12 #define _XTENSA_CACHE_H 13 13 14 - #include <asm/variant/core.h> 14 + #include <variant/core.h> 15 15 16 16 #define L1_CACHE_SHIFT XCHAL_DCACHE_LINEWIDTH 17 17 #define L1_CACHE_BYTES XCHAL_DCACHE_LINESIZE
include/asm-xtensa/cacheasm.h arch/xtensa/include/asm/cacheasm.h
include/asm-xtensa/cacheflush.h arch/xtensa/include/asm/cacheflush.h
+1 -1
include/asm-xtensa/checksum.h arch/xtensa/include/asm/checksum.h
··· 12 12 #define _XTENSA_CHECKSUM_H 13 13 14 14 #include <linux/in6.h> 15 - #include <asm/variant/core.h> 15 + #include <variant/core.h> 16 16 17 17 /* 18 18 * computes the checksum of a memory block at buff, length len,
+2 -2
include/asm-xtensa/coprocessor.h arch/xtensa/include/asm/coprocessor.h
··· 13 13 #define _XTENSA_COPROCESSOR_H 14 14 15 15 #include <linux/stringify.h> 16 - #include <asm/variant/tie.h> 16 + #include <variant/tie.h> 17 17 #include <asm/types.h> 18 18 19 19 #ifdef __ASSEMBLY__ 20 - # include <asm/variant/tie-asm.h> 20 + # include <variant/tie-asm.h> 21 21 22 22 .macro xchal_sa_start a b 23 23 .set .Lxchal_pofs_, 0
include/asm-xtensa/cpumask.h arch/xtensa/include/asm/cpumask.h
include/asm-xtensa/cputime.h arch/xtensa/include/asm/cputime.h
include/asm-xtensa/current.h arch/xtensa/include/asm/current.h
include/asm-xtensa/delay.h arch/xtensa/include/asm/delay.h
include/asm-xtensa/device.h arch/xtensa/include/asm/device.h
include/asm-xtensa/div64.h arch/xtensa/include/asm/div64.h
include/asm-xtensa/dma-mapping.h arch/xtensa/include/asm/dma-mapping.h
include/asm-xtensa/dma.h arch/xtensa/include/asm/dma.h
include/asm-xtensa/elf.h arch/xtensa/include/asm/elf.h
include/asm-xtensa/emergency-restart.h arch/xtensa/include/asm/emergency-restart.h
include/asm-xtensa/errno.h arch/xtensa/include/asm/errno.h
include/asm-xtensa/fb.h arch/xtensa/include/asm/fb.h
include/asm-xtensa/fcntl.h arch/xtensa/include/asm/fcntl.h
include/asm-xtensa/futex.h arch/xtensa/include/asm/futex.h
include/asm-xtensa/hardirq.h arch/xtensa/include/asm/hardirq.h
include/asm-xtensa/highmem.h arch/xtensa/include/asm/highmem.h
include/asm-xtensa/hw_irq.h arch/xtensa/include/asm/hw_irq.h
include/asm-xtensa/io.h arch/xtensa/include/asm/io.h
include/asm-xtensa/ioctl.h arch/xtensa/include/asm/ioctl.h
include/asm-xtensa/ioctls.h arch/xtensa/include/asm/ioctls.h
include/asm-xtensa/ipcbuf.h arch/xtensa/include/asm/ipcbuf.h
+2 -2
include/asm-xtensa/irq.h arch/xtensa/include/asm/irq.h
··· 11 11 #ifndef _XTENSA_IRQ_H 12 12 #define _XTENSA_IRQ_H 13 13 14 - #include <asm/platform/hardware.h> 15 - #include <asm/variant/core.h> 14 + #include <platform/hardware.h> 15 + #include <variant/core.h> 16 16 17 17 #ifndef PLATFORM_NR_IRQS 18 18 # define PLATFORM_NR_IRQS 0
include/asm-xtensa/irq_regs.h arch/xtensa/include/asm/irq_regs.h
include/asm-xtensa/kdebug.h arch/xtensa/include/asm/kdebug.h
include/asm-xtensa/kmap_types.h arch/xtensa/include/asm/kmap_types.h
include/asm-xtensa/linkage.h arch/xtensa/include/asm/linkage.h
include/asm-xtensa/local.h arch/xtensa/include/asm/local.h
include/asm-xtensa/mman.h arch/xtensa/include/asm/mman.h
include/asm-xtensa/mmu.h arch/xtensa/include/asm/mmu.h
include/asm-xtensa/mmu_context.h arch/xtensa/include/asm/mmu_context.h
include/asm-xtensa/module.h arch/xtensa/include/asm/module.h
include/asm-xtensa/msgbuf.h arch/xtensa/include/asm/msgbuf.h
include/asm-xtensa/mutex.h arch/xtensa/include/asm/mutex.h
include/asm-xtensa/page.h arch/xtensa/include/asm/page.h
include/asm-xtensa/param.h arch/xtensa/include/asm/param.h
include/asm-xtensa/pci-bridge.h arch/xtensa/include/asm/pci-bridge.h
include/asm-xtensa/pci.h arch/xtensa/include/asm/pci.h
include/asm-xtensa/percpu.h arch/xtensa/include/asm/percpu.h
include/asm-xtensa/pgalloc.h arch/xtensa/include/asm/pgalloc.h
include/asm-xtensa/pgtable.h arch/xtensa/include/asm/pgtable.h
include/asm-xtensa/platform-iss/hardware.h arch/xtensa/platforms/iss/include/platform/hardware.h
include/asm-xtensa/platform-iss/simcall.h arch/xtensa/platforms/iss/include/platform/simcall.h
-2
include/asm-xtensa/platform.h arch/xtensa/include/asm/platform.h
··· 1 1 /* 2 - * include/asm-xtensa/platform.h 3 - * 4 2 * Platform specific functions 5 3 * 6 4 * This file is subject to the terms and conditions of the GNU General
include/asm-xtensa/poll.h arch/xtensa/include/asm/poll.h
include/asm-xtensa/posix_types.h arch/xtensa/include/asm/posix_types.h
+1 -1
include/asm-xtensa/processor.h arch/xtensa/include/asm/processor.h
··· 11 11 #ifndef _XTENSA_PROCESSOR_H 12 12 #define _XTENSA_PROCESSOR_H 13 13 14 - #include <asm/variant/core.h> 14 + #include <variant/core.h> 15 15 #include <asm/coprocessor.h> 16 16 17 17 #include <linux/compiler.h>
+1 -1
include/asm-xtensa/ptrace.h arch/xtensa/include/asm/ptrace.h
··· 111 111 unsigned long areg[16]; /* 128 (64) */ 112 112 }; 113 113 114 - #include <asm/variant/core.h> 114 + #include <variant/core.h> 115 115 116 116 # define task_pt_regs(tsk) ((struct pt_regs*) \ 117 117 (task_stack_page(tsk) + KERNEL_STACK_SIZE - (XCHAL_NUM_AREGS-16)*4) - 1)
include/asm-xtensa/regs.h arch/xtensa/include/asm/regs.h
include/asm-xtensa/resource.h arch/xtensa/include/asm/resource.h
include/asm-xtensa/rmap.h arch/xtensa/include/asm/rmap.h
include/asm-xtensa/rwsem.h arch/xtensa/include/asm/rwsem.h
include/asm-xtensa/scatterlist.h arch/xtensa/include/asm/scatterlist.h
include/asm-xtensa/sections.h arch/xtensa/include/asm/sections.h
include/asm-xtensa/segment.h arch/xtensa/include/asm/segment.h
include/asm-xtensa/sembuf.h arch/xtensa/include/asm/sembuf.h
+1 -1
include/asm-xtensa/serial.h arch/xtensa/include/asm/serial.h
··· 13 13 #ifndef _XTENSA_SERIAL_H 14 14 #define _XTENSA_SERIAL_H 15 15 16 - #include <asm/platform/serial.h> 16 + #include <platform/serial.h> 17 17 18 18 #endif /* _XTENSA_SERIAL_H */
include/asm-xtensa/setup.h arch/xtensa/include/asm/setup.h
include/asm-xtensa/shmbuf.h arch/xtensa/include/asm/shmbuf.h
include/asm-xtensa/shmparam.h arch/xtensa/include/asm/shmparam.h
include/asm-xtensa/sigcontext.h arch/xtensa/include/asm/sigcontext.h
include/asm-xtensa/siginfo.h arch/xtensa/include/asm/siginfo.h
include/asm-xtensa/signal.h arch/xtensa/include/asm/signal.h
include/asm-xtensa/smp.h arch/xtensa/include/asm/smp.h
include/asm-xtensa/socket.h arch/xtensa/include/asm/socket.h
include/asm-xtensa/sockios.h arch/xtensa/include/asm/sockios.h
include/asm-xtensa/spinlock.h arch/xtensa/include/asm/spinlock.h
include/asm-xtensa/stat.h arch/xtensa/include/asm/stat.h
include/asm-xtensa/statfs.h arch/xtensa/include/asm/statfs.h
include/asm-xtensa/string.h arch/xtensa/include/asm/string.h
include/asm-xtensa/syscall.h arch/xtensa/include/asm/syscall.h
include/asm-xtensa/system.h arch/xtensa/include/asm/system.h
include/asm-xtensa/termbits.h arch/xtensa/include/asm/termbits.h
include/asm-xtensa/termios.h arch/xtensa/include/asm/termios.h
include/asm-xtensa/thread_info.h arch/xtensa/include/asm/thread_info.h
include/asm-xtensa/timex.h arch/xtensa/include/asm/timex.h
include/asm-xtensa/tlb.h arch/xtensa/include/asm/tlb.h
include/asm-xtensa/tlbflush.h arch/xtensa/include/asm/tlbflush.h
include/asm-xtensa/topology.h arch/xtensa/include/asm/topology.h
include/asm-xtensa/types.h arch/xtensa/include/asm/types.h
include/asm-xtensa/uaccess.h arch/xtensa/include/asm/uaccess.h
include/asm-xtensa/ucontext.h arch/xtensa/include/asm/ucontext.h
+6 -6
include/asm-xtensa/unaligned.h arch/xtensa/include/asm/unaligned.h
··· 10 10 #ifndef _ASM_XTENSA_UNALIGNED_H 11 11 #define _ASM_XTENSA_UNALIGNED_H 12 12 13 - #ifdef __XTENSA_EL__ 14 - # include <linux/unaligned/le_memmove.h> 13 + #include <asm/byteorder.h> 14 + 15 + #ifdef __LITTLE_ENDIAN 16 + # include <linux/unaligned/le_struct.h> 15 17 # include <linux/unaligned/be_byteshift.h> 16 18 # include <linux/unaligned/generic.h> 17 19 # define get_unaligned __get_unaligned_le 18 20 # define put_unaligned __put_unaligned_le 19 - #elif defined(__XTENSA_EB__) 20 - # include <linux/unaligned/be_memmove.h> 21 + #else 22 + # include <linux/unaligned/be_struct.h> 21 23 # include <linux/unaligned/le_byteshift.h> 22 24 # include <linux/unaligned/generic.h> 23 25 # define get_unaligned __get_unaligned_be 24 26 # define put_unaligned __put_unaligned_be 25 - #else 26 - # error processor byte order undefined! 27 27 #endif 28 28 29 29 #endif /* _ASM_XTENSA_UNALIGNED_H */
include/asm-xtensa/unistd.h arch/xtensa/include/asm/unistd.h
include/asm-xtensa/user.h arch/xtensa/include/asm/user.h
include/asm-xtensa/variant-dc232b/core.h arch/xtensa/variants/dc232b/include/variant/core.h
include/asm-xtensa/variant-dc232b/tie-asm.h arch/xtensa/variants/dc232b/include/variant/tie-asm.h
include/asm-xtensa/variant-dc232b/tie.h arch/xtensa/variants/dc232b/include/variant/tie.h
include/asm-xtensa/variant-fsf/core.h arch/xtensa/variants/fsf/include/variant/core.h
include/asm-xtensa/variant-fsf/tie-asm.h arch/xtensa/variants/fsf/include/variant/tie-asm.h
include/asm-xtensa/variant-fsf/tie.h arch/xtensa/variants/fsf/include/variant/tie.h
include/asm-xtensa/vga.h arch/xtensa/include/asm/vga.h
include/asm-xtensa/xor.h arch/xtensa/include/asm/xor.h