1. 09 4月, 2013 5 次提交
  2. 06 4月, 2013 1 次提交
    • S
      kbuild: create an "include chroot" for DT bindings · c58299aa
      Stephen Warren 提交于
      The recent dtc+cpp support allows header files and C pre-processor
      defines/macros to be used when compiling device tree files. These
      headers will typically define various constants that are part of the
      device tree bindings.
      
      The original patch which set up the dtc+cpp include path only considered
      using those headers from device tree files. However, most are also
      useful for kernel code which needs to interpret the device tree.
      
      In both the DT files and the kernel, I'd like to include the DT-related
      headers in the same way, for example, <dt-bindings/gpio/tegra-gpio.h>.
      That will simplify any text which discusses the DT header locations.
      
      Creating a <dt-bindings/> for kernel source to use is as simple as
      placing files into include/dt-bindings/.
      
      However, when compiling DT files, the include path should be restricted
      so that only the dt-bindings path is available; arbitrary kernel headers
      shouldn't be exposed. For this reason, create a specific include
      directory for use by dtc+cpp, and symlink dt-bindings from there to the
      actual location of include/dt-bindings/. For want of a better location,
      place this "include chroot" into the existing dts/ directory.
      
      arch/*/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings
      
      Some headers used by device tree files may not be useful to the kernel;
      they may be used simply to aid in constructing the DT file (e.g. macros
      to create a node), but not define any information that the kernel needs
      to share. These may be placed directly into arch/*/boot/dts/ along with
      the DT files themselves.
      Acked-by: NMichal Marek <mmarek@suse.cz>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NRob Herring <rob.herring@calxeda.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      c58299aa
  3. 02 4月, 2013 4 次提交
  4. 01 4月, 2013 3 次提交
  5. 30 3月, 2013 1 次提交
  6. 28 3月, 2013 1 次提交
  7. 26 3月, 2013 2 次提交
  8. 25 3月, 2013 2 次提交
  9. 23 3月, 2013 1 次提交
  10. 22 3月, 2013 2 次提交
  11. 20 3月, 2013 8 次提交
  12. 19 3月, 2013 7 次提交
  13. 18 3月, 2013 3 次提交
    • A
      ARM: fix CONFIG_VIRT_TO_BUS handling · b4811bac
      Arnd Bergmann 提交于
      887cbce0 "arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS"
      and  4febd95a "Select VIRT_TO_BUS directly where needed" from
      Stephen Rothwell changed globally how CONFIG_VIRT_TO_BUS is
      selected, while my own a5d533ee "ARM: disable virt_to_bus/
      virt_to_bus almost everywhere" was merged at the same time and
      changed which platforms select it on ARM.
      
      The result of this conflict was that we again see CONFIG_VIRT_TO_BUS
      on all ARM systems. This patch fixes up the problem and removes
      CONFIG_ARCH_NO_VIRT_TO_BUS again on ARM.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      b4811bac
    • A
      arm64: fix padding computation in struct ucontext · 18931c89
      Andreas Schwab 提交于
      The expression to compute the padding needed to fill the uc_sigmask field
      to 1024 bits actually computes the padding needed for 1080 bits.
      Fortunately, due to the 16-byte alignment of the following field
      (uc_mcontext) the definition in glibc contains enough bytes of padding
      after uc_sigmask so that the overall offsets and size match in both
      definitions.
      Signed-off-by: NAndreas Schwab <schwab@suse.de>
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      18931c89
    • C
      arm64: Fix build error with !SMP · a2c91547
      Catalin Marinas 提交于
      The __atomic_hash is only defined when SMP is enabled but the
      arm64ksyms.c exports it even for the UP case.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      a2c91547