#!/bin/bash TCID="zram.sh" . ./zram_lib.sh run_zram () { echo "--------------------" echo "running zram tests" echo "--------------------" ./zram01.sh echo "" ./zram02.sh } check_prereqs # check zram module exists MODULE_PATH=/lib/modules/`uname -r`/kernel/drivers/block/zram/zram.ko if [ -f $MODULE_PATH ]; then run_zram elif [ -b /dev/zram0 ]; then run_zram else echo "$TCID : No zram.ko module or /dev/zram0 device file not found" echo "$TCID : CONFIG_ZRAM is not set" exit 1 fi link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorNicolas Schichan <nicolas.schichan@gmail.com>2016-11-24 13:38:04 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-11-24 09:32:20 -0800
commit18594e9bc4a27e72d7961a7afe4250a502d1538d (patch)
tree73f8a97de855db03d11280f1206feb622bb773be /include/trace
parent10b9dd56860e93f11cd352e8c75a33357b80b70b (diff)
init: use pr_cont() when displaying rotator during ramdisk loading.
Otherwise each individual rotator char would be printed in a new line: (...) [ 0.642350] - [ 0.644374] | [ 0.646367] - (...) Signed-off-by: Nicolas Schichan <nicolas.schichan@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/trace')