From: Dan Williams Date: Fri, 7 Nov 2008 00:43:55 +0000 (-0700) Subject: [ARM] xsc3: fix xsc3_l2_inv_range X-Git-Tag: v2.6.28-rc4~24^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7cf72dcadbe39c2077b32460f86c9f8167be3be;p=pandora-kernel.git [ARM] xsc3: fix xsc3_l2_inv_range When 'start' and 'end' are less than a cacheline apart and 'start' is unaligned we are done after cleaning and invalidating the first cacheline. So check for (start < end) which will not walk off into invalid address ranges when (start > end). This issue was caught by drivers/dma/dmatest. 2.6.27 is susceptible. Cc: Cc: Haavard Skinnemoen Cc: Lothar WaÃ<9f>mann Cc: Lennert Buytenhek Cc: Eric Miao Signed-off-by: Dan Williams --- Reading git-diff-tree failed