diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | arch/arm/configs/cyanogenmod_i9300_defconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-exynos/board-m0-modems.c | 4 | ||||
-rw-r--r-- | arch/arm/mm/alignment.c | 4 | ||||
-rw-r--r-- | arch/arm/mvp/mvpkm/mvpkm_main.c | 1 | ||||
-rw-r--r-- | drivers/misc/tzic.c | 1 | ||||
-rw-r--r-- | drivers/video/samsung/s3cfb.h | 2 |
7 files changed, 11 insertions, 6 deletions
@@ -368,7 +368,8 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common \ -Werror-implicit-function-declaration \ -Wno-format-security \ - -fno-delete-null-pointer-checks + -fno-delete-null-pointer-checks \ + -mtune=cortex-a9 KBUILD_AFLAGS_KERNEL := KBUILD_CFLAGS_KERNEL := KBUILD_AFLAGS := -D__ASSEMBLY__ diff --git a/arch/arm/configs/cyanogenmod_i9300_defconfig b/arch/arm/configs/cyanogenmod_i9300_defconfig index 633452f..9909b9f 100644 --- a/arch/arm/configs/cyanogenmod_i9300_defconfig +++ b/arch/arm/configs/cyanogenmod_i9300_defconfig @@ -106,7 +106,7 @@ CONFIG_RD_GZIP=y # CONFIG_RD_XZ is not set # CONFIG_RD_LZO is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set -CONFIG_CC_CHECK_WARNING_STRICTLY=y +# CONFIG_CC_CHECK_WARNING_STRICTLY is not set CONFIG_SYSCTL=y CONFIG_ANON_INODES=y CONFIG_PANIC_TIMEOUT=1 diff --git a/arch/arm/mach-exynos/board-m0-modems.c b/arch/arm/mach-exynos/board-m0-modems.c index 9362e24..76e9ab9 100644 --- a/arch/arm/mach-exynos/board-m0-modems.c +++ b/arch/arm/mach-exynos/board-m0-modems.c @@ -289,7 +289,7 @@ static void umts_modem_cfg_gpio(void) unsigned gpio_cp_dump_int = umts_modem_data.gpio_cp_dump_int; unsigned gpio_ap_dump_int = umts_modem_data.gpio_ap_dump_int; unsigned gpio_flm_uart_sel = umts_modem_data.gpio_flm_uart_sel; - unsigned irq_phone_active = umts_modem_res[0].start; + /* unsigned irq_phone_active = umts_modem_res[0].start; */ if (gpio_reset_req_n) { err = gpio_request(gpio_reset_req_n, "RESET_REQ_N"); @@ -336,7 +336,7 @@ static void umts_modem_cfg_gpio(void) "PHONE_ACTIVE", err); } gpio_direction_input(gpio_phone_active); - pr_err(LOG_TAG "check phone active = %d\n", irq_phone_active); + pr_err(LOG_TAG "check phone active = %d\n", gpio_phone_active); } if (gpio_cp_dump_int) { diff --git a/arch/arm/mm/alignment.c b/arch/arm/mm/alignment.c index 724ba3b..c6035e9 100644 --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c @@ -824,8 +824,10 @@ do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs) case 0x08000000: /* ldm or stm, or thumb-2 32bit instruction */ if (thumb2_32b) handler = do_alignment_t32_to_handler(&instr, regs, &offset); - else + else { handler = do_alignment_ldmstm; + offset.un = 0; + } break; default: diff --git a/arch/arm/mvp/mvpkm/mvpkm_main.c b/arch/arm/mvp/mvpkm/mvpkm_main.c index 61df1a1..d32a4c1 100644 --- a/arch/arm/mvp/mvpkm/mvpkm_main.c +++ b/arch/arm/mvp/mvpkm/mvpkm_main.c @@ -2108,6 +2108,7 @@ SetupMonitor(MvpkmVM *vm) register uint32 r4 asm("r4") = hsctlr; asm volatile ( + ".arch_extension sec\n" "smc 0" : : "r" (r0), "r" (r1), "r" (r2), "r" (r3), "r" (r4) diff --git a/drivers/misc/tzic.c b/drivers/misc/tzic.c index 966de5a..93e25bd 100644 --- a/drivers/misc/tzic.c +++ b/drivers/misc/tzic.c @@ -42,6 +42,7 @@ u32 exynos_smc1(u32 cmd, u32 arg1, u32 arg2, u32 arg3) register u32 reg3 __asm__("r3") = arg3; __asm__ volatile ( + ".arch_extension sec\n" "smc 0\n" : "+r"(reg0), "+r"(reg1), "+r"(reg2), "+r"(reg3) ); diff --git a/drivers/video/samsung/s3cfb.h b/drivers/video/samsung/s3cfb.h index fc4e10d..6adb765 100644 --- a/drivers/video/samsung/s3cfb.h +++ b/drivers/video/samsung/s3cfb.h @@ -259,7 +259,7 @@ struct s3cfb_user_chroma { #define S3CFB_SET_ALPHA_MODE _IOW('F', 313, unsigned int) extern struct fb_ops s3cfb_ops; -extern inline struct s3cfb_global *get_fimd_global(int id); +extern struct s3cfb_global *get_fimd_global(int id); /* S3CFB */ extern struct s3c_platform_fb *to_fb_plat(struct device *dev); |