1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:37:10 +02:00

[kernel] update to 2.6.28.2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14247 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2009-01-28 15:47:34 +00:00
parent 2d62fc6dd5
commit c9a1cb5a8f
15 changed files with 1186 additions and 2351 deletions

View File

@ -31,8 +31,8 @@ endif
ifeq ($(LINUX_VERSION),2.6.27.13) ifeq ($(LINUX_VERSION),2.6.27.13)
LINUX_KERNEL_MD5SUM:=e1035cd771ef2aed59396d8cab543a0c LINUX_KERNEL_MD5SUM:=e1035cd771ef2aed59396d8cab543a0c
endif endif
ifeq ($(LINUX_VERSION),2.6.28) ifeq ($(LINUX_VERSION),2.6.28.2)
LINUX_KERNEL_MD5SUM:=d351e44709c9810b85e29b877f50968a LINUX_KERNEL_MD5SUM:=8fce853ebfe658f0833d34bb1dc14d86
endif endif
# disable the md5sum check for unknown kernel versions # disable the md5sum check for unknown kernel versions

View File

@ -10,7 +10,7 @@ ARCH:=avr32
BOARD:=avr32 BOARD:=avr32
BOARDNAME:=Atmel AVR32 BOARDNAME:=Atmel AVR32
FEATURES:=squashfs FEATURES:=squashfs
LINUX_VERSION:=2.6.28 LINUX_VERSION:=2.6.28.2
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk

View File

@ -11,7 +11,7 @@
#include <linux/types.h> #include <linux/types.h>
#ifdef __KERNEL__ #ifdef __KERNEL__
@@ -239,4 +243,6 @@ struct itimerval { @@ -240,4 +244,6 @@ struct itimerval {
*/ */
#define TIMER_ABSTIME 0x01 #define TIMER_ABSTIME 0x01

View File

@ -1,5 +1,5 @@
--- ../../cs5535_gpio.c.orig 2009-01-07 10:16:12.000000000 +0100 --- a/drivers/char/cs5535_gpio.c
+++ linux-2.6.28/drivers/char/cs5535_gpio.c 2009-01-07 10:13:54.000000000 +0100 +++ b/drivers/char/cs5535_gpio.c
@@ -15,6 +15,7 @@ @@ -15,6 +15,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/init.h> #include <linux/init.h>
@ -8,7 +8,7 @@
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/smp_lock.h> #include <linux/smp_lock.h>
@@ -48,6 +49,7 @@ @@ -48,6 +49,7 @@ static struct pci_device_id divil_pci[]
MODULE_DEVICE_TABLE(pci, divil_pci); MODULE_DEVICE_TABLE(pci, divil_pci);
static struct cdev cs5535_gpio_cdev; static struct cdev cs5535_gpio_cdev;
@ -16,7 +16,7 @@
/* reserve 32 entries even though some aren't usable */ /* reserve 32 entries even though some aren't usable */
#define CS5535_GPIO_COUNT 32 #define CS5535_GPIO_COUNT 32
@@ -66,9 +68,14 @@ @@ -66,9 +68,14 @@ static struct gpio_regmap rm[] =
{ 0x30, 0x00, '1', '0' }, /* GPIOx_READ_BACK / GPIOx_OUT_VAL */ { 0x30, 0x00, '1', '0' }, /* GPIOx_READ_BACK / GPIOx_OUT_VAL */
{ 0x20, 0x20, 'I', 'i' }, /* GPIOx_IN_EN */ { 0x20, 0x20, 'I', 'i' }, /* GPIOx_IN_EN */
{ 0x04, 0x04, 'O', 'o' }, /* GPIOx_OUT_EN */ { 0x04, 0x04, 'O', 'o' }, /* GPIOx_OUT_EN */
@ -31,7 +31,7 @@
}; };
@@ -177,7 +184,7 @@ @@ -177,7 +184,7 @@ static int __init cs5535_gpio_init(void)
{ {
dev_t dev_id; dev_t dev_id;
u32 low, hi; u32 low, hi;
@ -40,7 +40,7 @@
if (pci_dev_present(divil_pci) == 0) { if (pci_dev_present(divil_pci) == 0) {
printk(KERN_WARNING NAME ": DIVIL not found\n"); printk(KERN_WARNING NAME ": DIVIL not found\n");
@@ -232,23 +239,54 @@ @@ -232,23 +239,54 @@ static int __init cs5535_gpio_init(void)
major = MAJOR(dev_id); major = MAJOR(dev_id);
} }

View File

@ -88,7 +88,7 @@
/********************************************************************* /*********************************************************************
--- a/fs/fcntl.c --- a/fs/fcntl.c
+++ b/fs/fcntl.c +++ b/fs/fcntl.c
@@ -140,6 +140,7 @@ asmlinkage long sys_dup(unsigned int fil @@ -140,6 +140,7 @@ SYSCALL_DEFINE1(dup, unsigned int, filde
} }
return ret; return ret;
} }

View File

@ -95,7 +95,7 @@
* We enter with non-exclusive mmap_sem (to exclude vma changes, * We enter with non-exclusive mmap_sem (to exclude vma changes,
--- a/mm/vmalloc.c --- a/mm/vmalloc.c
+++ b/mm/vmalloc.c +++ b/mm/vmalloc.c
@@ -980,6 +980,7 @@ void unmap_kernel_range(unsigned long ad @@ -981,6 +981,7 @@ void unmap_kernel_range(unsigned long ad
vunmap_page_range(addr, end); vunmap_page_range(addr, end);
flush_tlb_kernel_range(addr, end); flush_tlb_kernel_range(addr, end);
} }
@ -103,7 +103,7 @@
int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages)
{ {
@@ -1085,6 +1086,7 @@ struct vm_struct *get_vm_area(unsigned l @@ -1086,6 +1087,7 @@ struct vm_struct *get_vm_area(unsigned l
return __get_vm_area_node(size, flags, VMALLOC_START, VMALLOC_END, return __get_vm_area_node(size, flags, VMALLOC_START, VMALLOC_END,
-1, GFP_KERNEL, __builtin_return_address(0)); -1, GFP_KERNEL, __builtin_return_address(0));
} }

View File

@ -12,7 +12,7 @@ BOARDNAME:=Intel IXP4xx
FEATURES:=squashfs FEATURES:=squashfs
SUBTARGETS=generic harddisk SUBTARGETS=generic harddisk
LINUX_VERSION:=2.6.28.1 LINUX_VERSION:=2.6.28.2
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk

View File

@ -11,7 +11,7 @@ BOARD:=orion
BOARDNAME:=Marvell Orion BOARDNAME:=Marvell Orion
FEATURES:=squashfs FEATURES:=squashfs
LINUX_VERSION:=2.6.28 LINUX_VERSION:=2.6.28.2
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk

View File

@ -11,7 +11,7 @@ BOARD:=s3c24xx
BOARDNAME:=s3c24xx BOARDNAME:=s3c24xx
FEATURES:=jffs2 FEATURES:=jffs2
LINUX_VERSION:=2.6.28 LINUX_VERSION:=2.6.28.2
DEVICE_TYPE=phone DEVICE_TYPE=phone

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,5 @@
Index: linux-2.6.28/init/main.c --- a/init/main.c
=================================================================== +++ b/init/main.c
--- linux-2.6.28.orig/init/main.c 2009-01-03 13:03:03.000000000 +0100
+++ linux-2.6.28/init/main.c 2009-01-03 13:03:14.000000000 +0100
@@ -825,6 +825,7 @@ static int noinline init_post(void) @@ -825,6 +825,7 @@ static int noinline init_post(void)
printk(KERN_WARNING "Failed to execute %s. Attempting " printk(KERN_WARNING "Failed to execute %s. Attempting "
"defaults...\n", execute_command); "defaults...\n", execute_command);

View File

@ -1,10 +1,8 @@
Does not compile. --mb Does not compile. --mb
--- ---
Index: linux-2.6.28/net/netfilter/Kconfig --- a/net/netfilter/Kconfig
=================================================================== +++ b/net/netfilter/Kconfig
--- linux-2.6.28.orig/net/netfilter/Kconfig 2009-01-02 00:42:52.000000000 +0100
+++ linux-2.6.28/net/netfilter/Kconfig 2009-01-02 00:43:19.000000000 +0100
@@ -314,7 +314,7 @@ if NETFILTER_XTABLES @@ -314,7 +314,7 @@ if NETFILTER_XTABLES
config NETFILTER_XT_TARGET_CHAOS config NETFILTER_XT_TARGET_CHAOS

View File

@ -1,7 +1,6 @@
diff -ruN linux-2.6.28.orig/drivers/serial/samsung.c linux-2.6.28/drivers/serial/samsung.c --- a/drivers/serial/samsung.c
--- linux-2.6.28.orig/drivers/serial/samsung.c 2009-01-19 21:52:17.000000000 +0100 +++ b/drivers/serial/samsung.c
+++ linux-2.6.28/drivers/serial/samsung.c 2009-01-19 21:53:42.000000000 +0100 @@ -882,7 +882,7 @@ static struct uart_ops s3c24xx_serial_op
@@ -882,7 +882,7 @@
static struct uart_driver s3c24xx_uart_drv = { static struct uart_driver s3c24xx_uart_drv = {
.owner = THIS_MODULE, .owner = THIS_MODULE,

View File

@ -11,7 +11,7 @@ BOARD:=sibyte
BOARDNAME:=Broadcom/SiByte SB-1 BOARDNAME:=Broadcom/SiByte SB-1
FEATURES:=broken FEATURES:=broken
LINUX_VERSION:=2.6.28 LINUX_VERSION:=2.6.28.2
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk

View File

@ -23,7 +23,7 @@ BOARDNAME:=User Mode Linux
FEATURES:=ext2 FEATURES:=ext2
LINUX_CONFIG:=$(CURDIR)/config/$(ARCH) LINUX_CONFIG:=$(CURDIR)/config/$(ARCH)
LINUX_VERSION:=2.6.28 LINUX_VERSION:=2.6.28.2
include $(INCLUDE_DIR)/target.mk include $(INCLUDE_DIR)/target.mk