mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Manual merge with Linus.
Conflicts: arch/powerpc/kernel/setup-common.c drivers/input/keyboard/hil_kbd.c drivers/input/mouse/hil_ptr.c
This commit is contained in:
commit
95d465fd75
5033 changed files with 258066 additions and 166881 deletions
|
|
@ -25,6 +25,10 @@ config RWSEM_XCHGADD_ALGORITHM
|
|||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_FIND_NEXT_BIT
|
||||
bool
|
||||
default y
|
||||
|
||||
config GENERIC_CALIBRATE_DELAY
|
||||
bool
|
||||
default y
|
||||
|
|
@ -447,6 +451,10 @@ config ALPHA_IRONGATE
|
|||
depends on ALPHA_NAUTILUS
|
||||
default y
|
||||
|
||||
config GENERIC_HWEIGHT
|
||||
bool
|
||||
default y if !ALPHA_EV6 && !ALPHA_EV67
|
||||
|
||||
config ALPHA_AVANTI
|
||||
bool
|
||||
depends on ALPHA_XL || ALPHA_AVANTI_CH
|
||||
|
|
|
|||
|
|
@ -216,8 +216,6 @@ EXPORT_SYMBOL(memcpy);
|
|||
EXPORT_SYMBOL(memset);
|
||||
EXPORT_SYMBOL(memchr);
|
||||
|
||||
EXPORT_SYMBOL(get_wchan);
|
||||
|
||||
#ifdef CONFIG_ALPHA_IRONGATE
|
||||
EXPORT_SYMBOL(irongate_ioremap);
|
||||
EXPORT_SYMBOL(irongate_iounmap);
|
||||
|
|
|
|||
|
|
@ -435,7 +435,7 @@ marvel_specify_io7(char *str)
|
|||
str = pchar;
|
||||
} while(*str);
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
__setup("io7=", marvel_specify_io7);
|
||||
|
||||
|
|
|
|||
|
|
@ -821,7 +821,6 @@ osf_setsysinfo(unsigned long op, void __user *buffer, unsigned long nbytes,
|
|||
affects all sorts of things, like timeval and itimerval. */
|
||||
|
||||
extern struct timezone sys_tz;
|
||||
extern int do_adjtimex(struct timex *);
|
||||
|
||||
struct timeval32
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
#include <linux/root_dev.h>
|
||||
#include <linux/initrd.h>
|
||||
#include <linux/eisa.h>
|
||||
#include <linux/pfn.h>
|
||||
#ifdef CONFIG_MAGIC_SYSRQ
|
||||
#include <linux/sysrq.h>
|
||||
#include <linux/reboot.h>
|
||||
|
|
@ -43,7 +44,7 @@
|
|||
#include <asm/setup.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
extern struct notifier_block *panic_notifier_list;
|
||||
extern struct atomic_notifier_head panic_notifier_list;
|
||||
static int alpha_panic_event(struct notifier_block *, unsigned long, void *);
|
||||
static struct notifier_block alpha_panic_block = {
|
||||
alpha_panic_event,
|
||||
|
|
@ -242,9 +243,6 @@ reserve_std_resources(void)
|
|||
request_resource(io, standard_io_resources+i);
|
||||
}
|
||||
|
||||
#define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
|
||||
#define PFN_DOWN(x) ((x) >> PAGE_SHIFT)
|
||||
#define PFN_PHYS(x) ((x) << PAGE_SHIFT)
|
||||
#define PFN_MAX PFN_DOWN(0x80000000)
|
||||
#define for_each_mem_cluster(memdesc, cluster, i) \
|
||||
for ((cluster) = (memdesc)->cluster, (i) = 0; \
|
||||
|
|
@ -473,11 +471,6 @@ page_is_ram(unsigned long pfn)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#undef PFN_UP
|
||||
#undef PFN_DOWN
|
||||
#undef PFN_PHYS
|
||||
#undef PFN_MAX
|
||||
|
||||
void __init
|
||||
setup_arch(char **cmdline_p)
|
||||
{
|
||||
|
|
@ -508,7 +501,8 @@ setup_arch(char **cmdline_p)
|
|||
}
|
||||
|
||||
/* Register a call for panic conditions. */
|
||||
notifier_chain_register(&panic_notifier_list, &alpha_panic_block);
|
||||
atomic_notifier_chain_register(&panic_notifier_list,
|
||||
&alpha_panic_block);
|
||||
|
||||
#ifdef CONFIG_ALPHA_GENERIC
|
||||
/* Assume that we've booted from SRM if we haven't booted from MILO.
|
||||
|
|
|
|||
|
|
@ -314,10 +314,11 @@ time_init(void)
|
|||
if (!est_cycle_freq)
|
||||
est_cycle_freq = validate_cc_value(calibrate_cc_with_pit());
|
||||
|
||||
cc1 = rpcc_after_update_in_progress();
|
||||
cc1 = rpcc();
|
||||
|
||||
/* Calibrate CPU clock -- attempt #2. */
|
||||
if (!est_cycle_freq) {
|
||||
cc1 = rpcc_after_update_in_progress();
|
||||
cc2 = rpcc_after_update_in_progress();
|
||||
est_cycle_freq = validate_cc_value(cc2 - cc1);
|
||||
cc1 = cc2;
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ $last_quad:
|
|||
beq $2, $not_found # U : U L U L
|
||||
|
||||
$found_it:
|
||||
#if defined(__alpha_fix__) && defined(__alpha_cix__)
|
||||
#ifdef CONFIG_ALPHA_EV67
|
||||
/*
|
||||
* Since we are guaranteed to have set one of the bits, we don't
|
||||
* have to worry about coming back with a 0x40 out of cttz...
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
* (C) Copyright 1998 Linus Torvalds
|
||||
*/
|
||||
|
||||
#if defined(__alpha_cix__) || defined(__alpha_fix__)
|
||||
#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67)
|
||||
#define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val));
|
||||
#else
|
||||
#define STT(reg,val) asm volatile ("stt $f"#reg",%0" : "=m"(val));
|
||||
|
|
@ -53,7 +53,7 @@ alpha_read_fp_reg (unsigned long reg)
|
|||
return val;
|
||||
}
|
||||
|
||||
#if defined(__alpha_cix__) || defined(__alpha_fix__)
|
||||
#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67)
|
||||
#define LDT(reg,val) asm volatile ("itoft %0,$f"#reg : : "r"(val));
|
||||
#else
|
||||
#define LDT(reg,val) asm volatile ("ldt $f"#reg",%0" : : "m"(val));
|
||||
|
|
@ -98,7 +98,7 @@ alpha_write_fp_reg (unsigned long reg, unsigned long val)
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(__alpha_cix__) || defined(__alpha_fix__)
|
||||
#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67)
|
||||
#define STS(reg,val) asm volatile ("ftois $f"#reg",%0" : "=r"(val));
|
||||
#else
|
||||
#define STS(reg,val) asm volatile ("sts $f"#reg",%0" : "=m"(val));
|
||||
|
|
@ -147,7 +147,7 @@ alpha_read_fp_reg_s (unsigned long reg)
|
|||
return val;
|
||||
}
|
||||
|
||||
#if defined(__alpha_cix__) || defined(__alpha_fix__)
|
||||
#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67)
|
||||
#define LDS(reg,val) asm volatile ("itofs %0,$f"#reg : : "r"(val));
|
||||
#else
|
||||
#define LDS(reg,val) asm volatile ("lds $f"#reg",%0" : : "m"(val));
|
||||
|
|
|
|||
|
|
@ -357,7 +357,7 @@ free_reserved_mem(void *start, void *end)
|
|||
void *__start = start;
|
||||
for (; __start < end; __start += PAGE_SIZE) {
|
||||
ClearPageReserved(virt_to_page(__start));
|
||||
set_page_count(virt_to_page(__start), 1);
|
||||
init_page_count(virt_to_page(__start));
|
||||
free_page((long)__start);
|
||||
totalram_pages++;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
#include <linux/bootmem.h>
|
||||
#include <linux/swap.h>
|
||||
#include <linux/initrd.h>
|
||||
#include <linux/pfn.h>
|
||||
|
||||
#include <asm/hwrpb.h>
|
||||
#include <asm/pgalloc.h>
|
||||
|
|
@ -27,9 +28,6 @@ bootmem_data_t node_bdata[MAX_NUMNODES];
|
|||
#define DBGDCONT(args...)
|
||||
#endif
|
||||
|
||||
#define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
|
||||
#define PFN_DOWN(x) ((x) >> PAGE_SHIFT)
|
||||
#define PFN_PHYS(x) ((x) << PAGE_SHIFT)
|
||||
#define for_each_mem_cluster(memdesc, cluster, i) \
|
||||
for ((cluster) = (memdesc)->cluster, (i) = 0; \
|
||||
(i) < (memdesc)->numclusters; (i)++, (cluster)++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue