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
#include <iostream> | |
#include <cstddef> | |
template <std::size_t N> | |
void foo(char const (&)[N]) | |
{ | |
std::cout << "foo<" << N << ">(char const (&)["<< N << "])\n"; | |
} | |
template <typename T> |
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
<6>[ 0.000000] c0 Initializing cgroup subsys cpu | |
<5>[ 0.000000] c0 Linux version 3.0.64-CM-g526d694-dirty (cn@cn0-m2) (gcc version 4.7 (GCC) ) #3 SMP PREEMPT Mon Sep 8 19:37:02 CEST 2014 | |
<4>[ 0.000000] c0 CPU: ARMv7 Processor [412fc091] revision 1 (ARMv7), cr=10c5387d | |
<4>[ 0.000000] c0 CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
<4>[ 0.000000] c0 Machine: SMDK4210 | |
<4>[ 0.000000] c0 Memory policy: ECC disabled, Data cache writealloc | |
<4>[ 0.000000] c0 CPU EXYNOS4210 (id 0x43210211) | |
<7>[ 0.000000] c0 exynos4_init_clocks: initializing clocks | |
<6>[ 0.000000] c0 S3C24XX Clocks, Copyright 2004 Simtec Electronics | |
<3>[ 0.000000] c0 s3c_register_clksrc: clock audiocdclk has no registers set |
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
#include <iostream> | |
// Integer sequence adapted from http://stackoverflow.com/a/17426611/2128694 | |
// Just added the lower bound Lo. | |
template<class T> using Invoke = typename T::type; | |
template<unsigned...> struct seq{ using type = seq; }; | |
template<class S1, class S2> struct concat; |
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
--- a/arch/arm/kernel/irq.c | |
+++ b/arch/arm/kernel/irq.c | |
@@ -134,18 +134,15 @@ int __init arch_probe_nr_irqs(void) | |
static bool migrate_one_irq(struct irq_data *d) | |
{ | |
unsigned int cpu = cpumask_any_and(d->affinity, cpu_online_mask); | |
- bool ret = false; | |
- if (cpu >= nr_cpu_ids) { | |
- cpu = cpumask_any(cpu_online_mask); |
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
diff --git a/arch/arm/configs/cyanogenmod_i9100_defconfig b/arch/arm/configs/cyanogenmod_i9100_defconfig | |
index d4d365b..3baab75 100644 | |
--- a/arch/arm/configs/cyanogenmod_i9100_defconfig | |
+++ b/arch/arm/configs/cyanogenmod_i9100_defconfig | |
@@ -391,12 +391,7 @@ CONFIG_EXYNOS4_SETUP_THERMAL=y | |
CONFIG_EXYNOS4_CPUFREQ=y | |
CONFIG_EXYNOS4210_1200MHZ_SUPPORT=y | |
# CONFIG_EXYNOS4210_1400MHZ_SUPPORT is not set | |
- | |
-# |
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
From ef0e157bac9b44d81e890dff2c5dd7e7bc6873c6 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Christian=20Neum=C3=BCller?= <[email protected]> | |
Date: Sat, 20 Dec 2014 12:34:17 +0100 | |
Subject: [PATCH 1/2] Add check for VPF HW state. | |
Change-Id: Ib936c2e83b0baa0d6440f5dada2cb16655dbcb76 | |
--- | |
arch/arm/vfp/vfphw.S | 23 ++++++++++++++++++++++- | |
1 file changed, 22 insertions(+), 1 deletion(-) |
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
/* linux/arch/arm/mach-exynos/cpuidle-exynos4.c | |
* | |
* Copyright (c) 2011 Samsung Electronics Co., Ltd. | |
* http://www.samsung.com | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License version 2 as | |
* published by the Free Software Foundation. | |
*/ |
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
From 56919e922baa154ac6e498bcc1520dc965065265 Mon Sep 17 00:00:00 2001 | |
From: Colin Cross <[email protected]> | |
Date: Fri, 22 Jul 2011 14:57:09 -0700 | |
Subject: [PATCH 1/5] cpu_pm: call notifiers during suspend | |
Implements syscore_ops in cpu_pm to call the cpu and | |
cpu cluster notifiers during suspend and resume, | |
allowing drivers receiving the notifications to | |
avoid implementing syscore_ops. |
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
From fb62238974be027f3619881fc336ae41c01cfe76 Mon Sep 17 00:00:00 2001 | |
From: Russell King <[email protected]> | |
Date: Sat, 9 Jul 2011 16:09:43 +0100 | |
Subject: [PATCH 01/13] ARM: vfp: fix a hole in VFP thread migration | |
Fix a hole in the VFP thread migration. Lets define two threads. | |
Thread 1, we'll call 'interesting_thread' which is a thread which is | |
running on CPU0, using VFP (so vfp_current_hw_state[0] = | |
&interesting_thread->vfpstate) and gets migrated off to CPU1, where |
OlderNewer