Markus Elfring
b0f7e32ca1
arch/score/kernel/setup.c: combine two seq_printf() calls into one call in show_cpuinfo()
...
Some data were printed into a sequence by two separate function calls.
Print the same data by a single function call instead.
This issue was detected by using the Coccinelle software.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Markus Elfring <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Lennox Wu <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2018-02-06 18:32:47 -08:00
Toshi Kani
35d98e93fe
arch: Set IORESOURCE_SYSTEM_RAM flag for System RAM
...
Set IORESOURCE_SYSTEM_RAM in flags of resource ranges with
"System RAM", "Kernel code", "Kernel data", and "Kernel bss".
Note that:
- IORESOURCE_SYSRAM (i.e. modifier bit) is set in flags when
IORESOURCE_MEM is already set. IORESOURCE_SYSTEM_RAM is defined
as (IORESOURCE_MEM|IORESOURCE_SYSRAM).
- Some archs do not set 'flags' for children nodes, such as
"Kernel code". This patch does not change 'flags' in this
case.
Signed-off-by: Toshi Kani <[email protected] >
Signed-off-by: Borislav Petkov <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Borislav Petkov <[email protected] >
Cc: Brian Gerst <[email protected] >
Cc: Denys Vlasenko <[email protected] >
Cc: H. Peter Anvin <[email protected] >
Cc: Linus Torvalds <[email protected] >
Cc: Luis R. Rodriguez <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Toshi Kani <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: linux-mm <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected] >
2016-01-30 09:49:57 +01:00
Tejun Heo
a2bf79e7dc
score: Use HAVE_MEMBLOCK_NODE_MAP
...
score used early_node_map[] just to prime free_area_init_nodes(). Now
memblock can be used for the same purpose and early_node_map[] is
scheduled to be dropped. Use memblock instead.
Signed-off-by: Tejun Heo <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Yinghai Lu <[email protected] >
Cc: Chen Liqin <[email protected] >
Cc: Lennox Wu <[email protected] >
2011-12-08 10:22:09 -08:00
Chen Liqin
202b864ad5
score: fixed pfn_valid define.
...
Signed-off-by: Cui Bixiong <[email protected] >
Signed-off-by: Chen Liqin <[email protected] >
modified: arch/score/include/asm/page.h
modified: arch/score/kernel/setup.c
modified: arch/score/mm/init.c
2009-12-17 18:28:31 +08:00
Chen Liqin
324f40fbb0
score: add MEMORY_START and MEMORY_SIZE define, to make the code clear
2009-08-30 12:31:58 +08:00
Chen Liqin
6bc9a3966f
score: Add support for Sunplus S+core architecture
...
This is the complete set of new arch Score's files for linux.
Score instruction set support 16bits, 32bits and 64bits instruction,
Score SOC had been used in game machine and LCD TV.
Signed-off-by: Chen Liqin <[email protected] >
Signed-off-by: Arnd Bergmann <[email protected] >
2009-06-19 11:38:47 +02:00