diff options
| author | Stefan Roese <sr@denx.de> | 2008-08-06 14:05:38 +0200 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2008-08-06 14:05:38 +0200 | 
| commit | f2302d4430e7f3f48308d6a585320fe96af8afbd (patch) | |
| tree | eec529fa883a32b0bd44f65aa46a454dc5c69688 /post/lib_ppc/complex.c | |
| parent | 9246f5ecfd353ae297a02ffd5328402acf16c9dd (diff) | |
| download | olio-uboot-2014.01-f2302d4430e7f3f48308d6a585320fe96af8afbd.tar.xz olio-uboot-2014.01-f2302d4430e7f3f48308d6a585320fe96af8afbd.zip | |
Fix merge problems
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'post/lib_ppc/complex.c')
| -rw-r--r-- | post/lib_ppc/complex.c | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/post/lib_ppc/complex.c b/post/lib_ppc/complex.c index 271392a0e..4983c5191 100644 --- a/post/lib_ppc/complex.c +++ b/post/lib_ppc/complex.c @@ -101,6 +101,7 @@ static int cpu_post_test_complex_2 (void)  int cpu_post_test_complex (void)  {      int ret = 0; +    int flag = disable_interrupts();      if (ret == 0)      { @@ -117,6 +118,9 @@ int cpu_post_test_complex (void)  	post_log ("Error at complex test !\n");      } +    if (flag) +	enable_interrupts(); +      return ret;  } |