]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 21:38:14 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 21:40:31 +0000 (14:40 -0700)
* git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
  parisc: convert to generic compat_sys_ptrace
  parisc: add rtc platform driver
  parisc: initialize unwinder much earlier
  parisc: add new syscalls
  parisc: hijack jump to start_kernel
  parisc: add pdc_coproc_cfg_unlocked and set_firmware_width_unlocked
  parisc: move include/asm-parisc to arch/parisc/include/asm
  parisc: move pdc_result to real2.S
  parisc: unify CCIO_COLLECT_STATS implementation
  parisc: add arch/parisc/kernel/.gitignore
  parisc: ropes.h - fix <asm-parisc/*> -> <asm/*>
  parisc: parisc-agp - fix <asm-parisc/*> -> <asm/*>

Resolve remove/rename conflict: include/asm-parisc/a.out.h is no longer
relevant.

1  2 
arch/parisc/Kconfig
arch/parisc/include/asm/elf.h
arch/parisc/include/asm/ide.h
arch/parisc/include/asm/siginfo.h
arch/parisc/include/asm/statfs.h
arch/parisc/include/asm/thread_info.h
arch/parisc/kernel/syscall_table.S
drivers/char/agp/parisc-agp.c
drivers/rtc/Kconfig
drivers/rtc/Makefile

diff --combined arch/parisc/Kconfig
index 2bd1f6ef5db0c6bd45269701b36b4713c0a6def3,0a8ac703dbec296366a922de725c14d9dcf1c29d..644a70b1b04e4fd9ecf16d2e73d6e22ea5227115
@@@ -9,6 -9,8 +9,8 @@@ config PARIS
        def_bool y
        select HAVE_IDE
        select HAVE_OPROFILE
+       select RTC_CLASS
+       select RTC_DRV_PARISC
        help
          The PA-RISC microprocessor is designed by Hewlett-Packard and used
          in many of their workstations & servers (HP9000 700 and 800 series,
@@@ -76,6 -78,9 +78,6 @@@ config IRQ_PER_CP
        bool
        default y
  
 -config ARCH_SUPPORTS_AOUT
 -      def_bool y
 -
  # unless you want to implement ACPI on PA-RISC ... ;-)
  config PM
        bool
@@@ -90,8 -95,6 +92,8 @@@ config ARCH_MAY_HAVE_PC_FD
  
  source "init/Kconfig"
  
 +source "kernel/Kconfig.freezer"
 +
  
  menu "Processor type and features"
  
index 7fa675799e6d2cad21304698f7dec833a12224e7,d0a4a82628181578a943ae082c60ae8b63959411..7fa675799e6d2cad21304698f7dec833a12224e7
@@@ -236,7 -236,7 +236,7 @@@ typedef unsigned long elf_greg_t
  
  #define ELF_PLATFORM  ("PARISC\0")
  
 -#define SET_PERSONALITY(ex, ibcs2) \
 +#define SET_PERSONALITY(ex) \
        current->personality = PER_LINUX; \
        current->thread.map_base = DEFAULT_MAP_BASE; \
        current->thread.task_size = DEFAULT_TASK_SIZE \
index 81700a2321cff3926bbf60320a2bed1cba248118,c246ef75017db7fc048699577c0603121bb19f51..81700a2321cff3926bbf60320a2bed1cba248118
  
  #ifdef __KERNEL__
  
 -#define ide_request_irq(irq,hand,flg,dev,id)  request_irq((irq),(hand),(flg),(dev),(id))
 -#define ide_free_irq(irq,dev_id)              free_irq((irq), (dev_id))
 -#define ide_request_region(from,extent,name)  request_region((from), (extent), (name))
 -#define ide_release_region(from,extent)               release_region((from), (extent))
  /* Generic I/O and MEMIO string operations.  */
  
  #define __ide_insw    insw
index d7034728f3778cdfef8e3b6eedcd049005d40c17,d4909f55fe35d041a64736ee7b42da548cac56af..d7034728f3778cdfef8e3b6eedcd049005d40c17
@@@ -3,6 -3,11 +3,6 @@@
  
  #include <asm-generic/siginfo.h>
  
 -/*
 - * SIGTRAP si_codes
 - */
 -#define TRAP_BRANCH   (__SI_FAULT|3)  /* process taken branch trap */
 -#define TRAP_HWBKPT   (__SI_FAULT|4)  /* hardware breakpoint or watchpoint */
  #undef NSIGTRAP
  #define NSIGTRAP      4
  
index 324bea905dc6a90c760f32306f78db51600c219e,1d2b8130b23d61ee1f1be7c9430e58f682a847ef..324bea905dc6a90c760f32306f78db51600c219e
@@@ -1,7 -1,58 +1,7 @@@
  #ifndef _PARISC_STATFS_H
  #define _PARISC_STATFS_H
  
 -#ifndef __KERNEL_STRICT_NAMES
 -
 -#include <linux/types.h>
 -
 -typedef __kernel_fsid_t       fsid_t;
 -
 -#endif
 -
 -/*
 - * It appears that PARISC could be 64 _or_ 32 bit.
 - * 64-bit fields must be explicitly 64-bit in statfs64.
 - */
 -struct statfs {
 -      long f_type;
 -      long f_bsize;
 -      long f_blocks;
 -      long f_bfree;
 -      long f_bavail;
 -      long f_files;
 -      long f_ffree;
 -      __kernel_fsid_t f_fsid;
 -      long f_namelen;
 -      long f_frsize;
 -      long f_spare[5];
 -};
 -
 -struct statfs64 {
 -      long f_type;
 -      long f_bsize;
 -      __u64 f_blocks;
 -      __u64 f_bfree;
 -      __u64 f_bavail;
 -      __u64 f_files;
 -      __u64 f_ffree;
 -      __kernel_fsid_t f_fsid;
 -      long f_namelen;
 -      long f_frsize;
 -      long f_spare[5];
 -};
 -
 -struct compat_statfs64 {
 -      __u32 f_type;
 -      __u32 f_bsize;
 -      __u64 f_blocks;
 -      __u64 f_bfree;
 -      __u64 f_bavail;
 -      __u64 f_files;
 -      __u64 f_ffree;
 -      __kernel_fsid_t f_fsid;
 -      __u32 f_namelen;
 -      __u32 f_frsize;
 -      __u32 f_spare[5];
 -};
 +#define __statfs_word long
 +#include <asm-generic/statfs.h>
  
  #endif
index 0407959da489d54a72b4ccab371cc21e996e79a3,9f812741c3553d41a45e8dada845c7bb57fef86a..0407959da489d54a72b4ccab371cc21e996e79a3
@@@ -58,7 -58,6 +58,7 @@@ struct thread_info 
  #define TIF_32BIT               4       /* 32 bit binary */
  #define TIF_MEMDIE            5
  #define TIF_RESTORE_SIGMASK   6       /* restore saved signal mask */
 +#define TIF_FREEZE            7       /* is freezing for suspend */
  
  #define _TIF_SYSCALL_TRACE    (1 << TIF_SYSCALL_TRACE)
  #define _TIF_SIGPENDING               (1 << TIF_SIGPENDING)
@@@ -66,7 -65,6 +66,7 @@@
  #define _TIF_POLLING_NRFLAG   (1 << TIF_POLLING_NRFLAG)
  #define _TIF_32BIT            (1 << TIF_32BIT)
  #define _TIF_RESTORE_SIGMASK  (1 << TIF_RESTORE_SIGMASK)
 +#define _TIF_FREEZE           (1 << TIF_FREEZE)
  
  #define _TIF_USER_WORK_MASK     (_TIF_SIGPENDING | \
                                   _TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK)
index c7e59f548817fb36554954d663bfedcdf5e3b2f6,4ed01f2d655db6c66f8371b3a9fefb27d4ba0696..303d2b647e418daab682f586565ade19e5420325
@@@ -87,7 -87,7 +87,7 @@@
        ENTRY_SAME(setuid)
        ENTRY_SAME(getuid)
        ENTRY_COMP(stime)               /* 25 */
-       ENTRY_SAME(ptrace)
+       ENTRY_COMP(ptrace)
        ENTRY_SAME(alarm)
        /* see stat comment */
        ENTRY_COMP(newfstat)
        ENTRY_COMP(getrlimit)
        ENTRY_COMP(getrusage)
        /* struct timeval and timezone are maybe?? consistent wide and narrow */
 -      ENTRY_DIFF(gettimeofday)
 -      ENTRY_DIFF(settimeofday)
 +      ENTRY_COMP(gettimeofday)
 +      ENTRY_COMP(settimeofday)
        ENTRY_SAME(getgroups)           /* 80 */
        ENTRY_SAME(setgroups)
        /* struct socketaddr... */
        ENTRY_SAME(timerfd_create)
        ENTRY_COMP(timerfd_settime)
        ENTRY_COMP(timerfd_gettime)
+       ENTRY_COMP(signalfd4)
+       ENTRY_SAME(eventfd2)            /* 310 */
+       ENTRY_SAME(epoll_create1)
+       ENTRY_SAME(dup3)
+       ENTRY_SAME(pipe2)
+       ENTRY_SAME(inotify_init1)
  
        /* Nothing yet */
  
index f2492ecf082410da192b140d9a0615624ca79f3b,f4bbcb273208d6ebdaf60068d954a550619797ea..db60539bf67a1ed81216b35f29819cadfc43a83c
@@@ -20,8 -20,8 +20,8 @@@
  #include <linux/agp_backend.h>
  #include <linux/log2.h>
  
- #include <asm-parisc/parisc-device.h>
- #include <asm-parisc/ropes.h>
+ #include <asm/parisc-device.h>
+ #include <asm/ropes.h>
  
  #include "agp.h"
  
@@@ -224,9 -224,7 +224,9 @@@ static const struct agp_bridge_driver p
        .alloc_by_type          = agp_generic_alloc_by_type,
        .free_by_type           = agp_generic_free_by_type,
        .agp_alloc_page         = agp_generic_alloc_page,
 +      .agp_alloc_pages        = agp_generic_alloc_pages,
        .agp_destroy_page       = agp_generic_destroy_page,
 +      .agp_destroy_pages      = agp_generic_destroy_pages,
        .agp_type_to_mask_type  = agp_generic_type_to_mask_type,
        .cant_use_aperture      = true,
  };
diff --combined drivers/rtc/Kconfig
index f660ef3e5b29e801f205eb06358cf54f26490e25,30d40fe194a8476e87edd3c8a90b704aa730f5cb..814f49fde530ea3bf49210222a4e6d2f23ce8617
@@@ -220,22 -220,22 +220,22 @@@ config RTC_DRV_PCF858
          will be called rtc-pcf8583.
  
  config RTC_DRV_M41T80
 -      tristate "ST M41T80/81/82/83/84/85/87"
 +      tristate "ST M41T65/M41T80/81/82/83/84/85/87"
        help
 -        If you say Y here you will get support for the
 -        ST M41T80 RTC chips series. Currently following chips are
 -        supported: M41T80, M41T81, M41T82, M41T83, M41ST84, M41ST85
 -        and M41ST87.
 +        If you say Y here you will get support for the ST M41T60
 +        and M41T80 RTC chips series. Currently, the following chips are
 +        supported: M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
 +        M41ST85, and M41ST87.
  
          This driver can also be built as a module. If so, the module
          will be called rtc-m41t80.
  
  config RTC_DRV_M41T80_WDT
 -      bool "ST M41T80 series RTC watchdog timer"
 +      bool "ST M41T65/M41T80 series RTC watchdog timer"
        depends on RTC_DRV_M41T80
        help
          If you say Y here you will get support for the
 -        watchdog timer in ST M41T80 RTC chips series.
 +        watchdog timer in the ST M41T60 and M41T80 RTC chips series.
  
  config RTC_DRV_TWL92330
        boolean "TI TWL92330/Menelaus"
@@@ -319,15 -319,6 +319,15 @@@ config RTC_DRV_RS5C34
          This driver can also be built as a module. If so, the module
          will be called rtc-rs5c348.
  
 +config RTC_DRV_DS3234
 +      tristate "Maxim/Dallas DS3234"
 +      help
 +        If you say yes here you get support for the
 +        Maxim/Dallas DS3234 SPI RTC chip.
 +
 +        This driver can also be built as a module. If so, the module
 +        will be called rtc-ds3234.
 +
  endif # SPI_MASTER
  
  comment "Platform RTC drivers"
  
  config RTC_DRV_CMOS
        tristate "PC-style 'CMOS'"
 -      depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS
 +      depends on X86 || ALPHA || ARM || M32R || ATARI || PPC || MIPS || SPARC64
        default y if X86
        help
          Say "yes" here to get direct support for the real time clock
@@@ -361,11 -352,6 +361,11 @@@ config RTC_DRV_DS121
        help
          If you say yes here you get support for the Dallas DS1216 RTC chips.
  
 +config RTC_DRV_DS1286
 +      tristate "Dallas DS1286"
 +      help
 +        If you say yes here you get support for the Dallas DS1286 RTC chips.
 +
  config RTC_DRV_DS1302
        tristate "Dallas DS1302"
        depends on SH_SECUREEDGE5410
@@@ -419,36 -405,15 +419,36 @@@ config RTC_DRV_M48T8
          This driver can also be built as a module. If so, the module
          will be called rtc-m48t86.
  
 +config RTC_DRV_M48T35
 +      tristate "ST M48T35"
 +      help
 +        If you say Y here you will get support for the
 +        ST M48T35 RTC chip.
 +
 +        This driver can also be built as a module, if so, the module
 +        will be called "rtc-m48t35".
 +
  config RTC_DRV_M48T59
 -      tristate "ST M48T59"
 +      tristate "ST M48T59/M48T08/M48T02"
        help
          If you say Y here you will get support for the
 -        ST M48T59 RTC chip.
 +        ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
 +
 +        These chips are usually found in Sun SPARC and UltraSPARC
 +        workstations.
  
          This driver can also be built as a module, if so, the module
          will be called "rtc-m48t59".
  
 +config RTC_DRV_BQ4802
 +      tristate "TI BQ4802"
 +      help
 +        If you say Y here you will get support for the TI
 +        BQ4802 RTC chip.
 +
 +        This driver can also be built as a module. If so, the module
 +        will be called rtc-bq4802.
 +
  config RTC_DRV_V3020
        tristate "EM Microelectronic V3020"
        help
@@@ -610,26 -575,20 +610,34 @@@ config RTC_DRV_RS5C31
        help
          If you say yes here you get support for the Ricoh RS5C313 RTC chips.
  
+ config RTC_DRV_PARISC
+       tristate "PA-RISC firmware RTC support"
+       depends on PARISC
+       help
+         Say Y or M here to enable RTC support on PA-RISC systems using
+         firmware calls. If you do not know what you are doing, you should
+         just say Y.
  config RTC_DRV_PPC
         tristate "PowerPC machine dependent RTC support"
 -       depends on PPC_MERGE
 +       depends on PPC
         help
         The PowerPC kernel has machine-specific functions for accessing
         the RTC. This exposes that functionality through the generic RTC
         class.
  
 +config RTC_DRV_SUN4V
 +      bool "SUN4V Hypervisor RTC"
 +      depends on SPARC64
 +      help
 +        If you say Y here you will get support for the Hypervisor
 +        based RTC on SUN4V systems.
 +
 +config RTC_DRV_STARFIRE
 +      bool "Starfire RTC"
 +      depends on SPARC64
 +      help
 +        If you say Y here you will get support for the RTC found on
 +        Starfire systems.
 +
  endif # RTC_CLASS
diff --combined drivers/rtc/Makefile
index d05928b3ca9466b7402a2392f555e32f3051ad31,180ddacde730f6e024d6734831a5fe3bfd0daa85..d6a9ac7176eabed994db8af97d70794e45c1a143
@@@ -23,7 -23,6 +23,7 @@@ obj-$(CONFIG_RTC_DRV_AT91SAM9)        += rtc-a
  obj-$(CONFIG_RTC_DRV_BFIN)    += rtc-bfin.o
  obj-$(CONFIG_RTC_DRV_CMOS)    += rtc-cmos.o
  obj-$(CONFIG_RTC_DRV_DS1216)  += rtc-ds1216.o
 +obj-$(CONFIG_RTC_DRV_DS1286)  += rtc-ds1286.o
  obj-$(CONFIG_RTC_DRV_DS1302)  += rtc-ds1302.o
  obj-$(CONFIG_RTC_DRV_DS1305)  += rtc-ds1305.o
  obj-$(CONFIG_RTC_DRV_DS1307)  += rtc-ds1307.o
@@@ -32,18 -31,13 +32,18 @@@ obj-$(CONFIG_RTC_DRV_DS1511)       += rtc-ds1
  obj-$(CONFIG_RTC_DRV_DS1553)  += rtc-ds1553.o
  obj-$(CONFIG_RTC_DRV_DS1672)  += rtc-ds1672.o
  obj-$(CONFIG_RTC_DRV_DS1742)  += rtc-ds1742.o
 +obj-$(CONFIG_RTC_DRV_DS3234)  += rtc-ds3234.o
  obj-$(CONFIG_RTC_DRV_EP93XX)  += rtc-ep93xx.o
  obj-$(CONFIG_RTC_DRV_FM3130)  += rtc-fm3130.o
  obj-$(CONFIG_RTC_DRV_ISL1208) += rtc-isl1208.o
  obj-$(CONFIG_RTC_DRV_M41T80)  += rtc-m41t80.o
  obj-$(CONFIG_RTC_DRV_M41T94)  += rtc-m41t94.o
 +obj-$(CONFIG_RTC_DRV_M48T35)  += rtc-m48t35.o
  obj-$(CONFIG_RTC_DRV_M48T59)  += rtc-m48t59.o
  obj-$(CONFIG_RTC_DRV_M48T86)  += rtc-m48t86.o
 +obj-$(CONFIG_RTC_DRV_BQ4802)  += rtc-bq4802.o
 +obj-$(CONFIG_RTC_DRV_SUN4V)   += rtc-sun4v.o
 +obj-$(CONFIG_RTC_DRV_STARFIRE)        += rtc-starfire.o
  obj-$(CONFIG_RTC_DRV_MAX6900) += rtc-max6900.o
  obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
  obj-$(CONFIG_RTC_DRV_OMAP)    += rtc-omap.o
@@@ -51,6 -45,7 +51,7 @@@ obj-$(CONFIG_RTC_DRV_PCF8563) += rtc-pc
  obj-$(CONFIG_RTC_DRV_PCF8583) += rtc-pcf8583.o
  obj-$(CONFIG_RTC_DRV_PL030)   += rtc-pl030.o
  obj-$(CONFIG_RTC_DRV_PL031)   += rtc-pl031.o
+ obj-$(CONFIG_RTC_DRV_PARISC)  += rtc-parisc.o
  obj-$(CONFIG_RTC_DRV_PPC)     += rtc-ppc.o
  obj-$(CONFIG_RTC_DRV_R9701)   += rtc-r9701.o
  obj-$(CONFIG_RTC_DRV_RS5C313) += rtc-rs5c313.o