aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2008-09-06 19:35:48 -0400
committerPaul Mackerras <paulus@samba.org>2008-09-08 01:55:35 -0400
commit4ff23fa93011e2367fea056e72c92709178972d9 (patch)
tree655ae2833183253ea2ea4de8815331690f21f125 /include/linux/module.h
parentb2e601d14deb2083e2a537b47869ab3895d23a28 (diff)
powerpc: Fix rare boot build breakage
A make -j20 powerpc kernel build broke a couple of months ago saying: In file included from arch/powerpc/boot/gunzip_util.h:13, from arch/powerpc/boot/prpmc2800.c:21: arch/powerpc/boot/zlib.h:85: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token arch/powerpc/boot/zlib.h:630: warning: type defaults to ‘int’ in declaration of ‘Byte’ arch/powerpc/boot/zlib.h:630: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token It happened again yesterday: too rare for me to confirm the fix, but it looks like the list of dependants on gunzip_util.h was incomplete. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions
t?id=80051d4eb87f908213637c2524336cbae7057068'>80051d4
0d16066

60f8186







64e33cf

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

           

               
                                                                                                                                                                                                                                                                                

                        
            
 
            

       
                     
                                               
                            
                        
                                                                         
                                               
                         
                                   




                                                                         
                                                            
                                                                     


                               
                       
                                                                         
                                               
                                   
                                                   

            
 

                                   
          

  







                    

         
#!/bin/bash

SPLITTER=ft2csv

EVENTS="LVLA_RELEASE LVLA_SCHED LVLB_RELEASE LVLB_SCHED LVLC_RELEASE LVLC_SCHED RELEASE SCHED CXS SEND_RESCHED RELEASE_LATENCY CQ_ENQUEUE_READ CQ_ENQUEUE_FLUSH CQ_SUBMIT_WORK CQ_LOOP_WORK_CHECK CQ_LOOP_PEACE_OUT CQ_LOOP_BRANCH CQ_WORK_DO_WORK CQ_WORK_NOTIFY CQ_PHASE_WAIT"
# EVENTS="RELEASE SCHED"
# EVENTS="CXS"
BE_EVENTS=""

OPTS="-r -b"
EXT=bin

function do_split() {
	printf "\n[$NUM/$TOTAL] Splitting $1\n"
	for E in $EVENTS; do
	    EP=${E//_/-}
	    WHERE=`basename "$1" | sed -e 's/.ft//' -e 's/_idx=[^_]*'// `
	    TARGET="${WHERE}_overhead=$EP.$EXT"
	    LOCAL_OPTS=""
	    echo $1 $E ">>" $TARGET
	    # if [[ "$E" = "LVLA_SCHED" ]]
	    # then
	    # 	    # Don't include CPU 0 in level-A scheduling overheads
	    # 	    LOCAL_OPTS="-a 0"
	    # fi
	    $SPLITTER $OPTS ${LOCAL_OPTS} $E "$1" >> $TARGET
	    echo "$SPLITTER $OPTS ${LOCAL_OPTS} $E \"$1\" >> $TARGET"
	done
	for E in $BE_EVENTS; do
	    echo $E
	    EP=${E/_/-}
	    WHERE=`basename "$1" | sed -e 's/.ft//' -e 's/_idx=[^_]*'// `
	    TARGET="${WHERE}_overhead=$EP.$EXT"
	    echo $1 $E ">>" $TARGET
	    $SPLITTER $OPTS -b $E "$1" >> ${TARGET}
	done
}

if [ ! -f "$1" ]; then
    echo  "Usage: split <file.ft>+"
    exit 1
fi

TOTAL=$#
NUM=0


while [ "" != "$*" ]
do
    NUM=$((NUM + 1))
    do_split "$1"
    shift
done