forked from Sony-MSM8994-Dev/android_kernel_sony_msm8994
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux Kernel 3.10.5 compiles and runs (NAME change and possible reboo…
…t; .rej cleaned up) Applied: /LineageOS/android/kernel/sony/msm8994$ patch -p1 -R < /home/dj/Downloads/linuxkernelpatches/patch-3.10.5-6 Revert left out: 1) drivers/cpufreq/cpufreq.c - code completely different 2) drivers/net/wireless/wil6210/debugfs.c - code completely different 3) net/wireless/nl80211.c - code modified by Sony Change-Id: I548bbd92874314a6189573bce4c8ccef409daf9e
- Loading branch information
Showing
111 changed files
with
727 additions
and
1,144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* a.out coredump register dumper | ||
* | ||
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | ||
* Written by David Howells ([email protected]) | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public Licence | ||
* as published by the Free Software Foundation; either version | ||
* 2 of the Licence, or (at your option) any later version. | ||
*/ | ||
|
||
#ifndef _ASM_A_OUT_CORE_H | ||
#define _ASM_A_OUT_CORE_H | ||
|
||
#ifdef __KERNEL__ | ||
|
||
#include <linux/user.h> | ||
#include <linux/elfcore.h> | ||
|
||
/* | ||
* fill in the user structure for an a.out core dump | ||
*/ | ||
static inline void aout_dump_thread(struct pt_regs *regs, struct user *dump) | ||
{ | ||
struct task_struct *tsk = current; | ||
|
||
dump->magic = CMAGIC; | ||
dump->start_code = tsk->mm->start_code; | ||
dump->start_stack = regs->ARM_sp & ~(PAGE_SIZE - 1); | ||
|
||
dump->u_tsize = (tsk->mm->end_code - tsk->mm->start_code) >> PAGE_SHIFT; | ||
dump->u_dsize = (tsk->mm->brk - tsk->mm->start_data + PAGE_SIZE - 1) >> PAGE_SHIFT; | ||
dump->u_ssize = 0; | ||
|
||
memset(dump->u_debugreg, 0, sizeof(dump->u_debugreg)); | ||
|
||
if (dump->start_stack < 0x04000000) | ||
dump->u_ssize = (0x04000000 - dump->start_stack) >> PAGE_SHIFT; | ||
|
||
dump->regs = *regs; | ||
dump->u_fpvalid = dump_fpu (regs, &dump->u_fp); | ||
} | ||
|
||
#endif /* __KERNEL__ */ | ||
#endif /* _ASM_A_OUT_CORE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#ifndef __ARM_A_OUT_H__ | ||
#define __ARM_A_OUT_H__ | ||
|
||
#include <linux/personality.h> | ||
#include <linux/types.h> | ||
|
||
struct exec | ||
{ | ||
__u32 a_info; /* Use macros N_MAGIC, etc for access */ | ||
__u32 a_text; /* length of text, in bytes */ | ||
__u32 a_data; /* length of data, in bytes */ | ||
__u32 a_bss; /* length of uninitialized data area for file, in bytes */ | ||
__u32 a_syms; /* length of symbol table data in file, in bytes */ | ||
__u32 a_entry; /* start address */ | ||
__u32 a_trsize; /* length of relocation info for text, in bytes */ | ||
__u32 a_drsize; /* length of relocation info for data, in bytes */ | ||
}; | ||
|
||
/* | ||
* This is always the same | ||
*/ | ||
#define N_TXTADDR(a) (0x00008000) | ||
|
||
#define N_TRSIZE(a) ((a).a_trsize) | ||
#define N_DRSIZE(a) ((a).a_drsize) | ||
#define N_SYMSIZE(a) ((a).a_syms) | ||
|
||
#define M_ARM 103 | ||
|
||
#ifndef LIBRARY_START_TEXT | ||
#define LIBRARY_START_TEXT (0x00c00000) | ||
#endif | ||
|
||
#endif /* __A_OUT_GNU_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.